Search found 29 matches

by madhavan
Mon May 09, 2022 8:17 am
Forum: General discussion
Topic: FPU Enable - STM32f401CCU6
Replies: 2
Views: 3130

Re: FPU Enable - STM32f401CCU6

hi, Kept default setting .

Tools----->Optimize------>Smallest(-Os default).
Tools-----> Debug Symbols ------> None
Tools ------> C Runtime Library ----->Newlib nano (default)


#include"enable_fpu.h"

int sensorValue = 0;


void setup() {



Serial.begin(9600);
float fl_2, fl_3;
unsigned ...
by madhavan
Mon May 09, 2022 6:40 am
Forum: General discussion
Topic: FPU Enable - STM32f401CCU6
Replies: 2
Views: 3130

FPU Enable - STM32f401CCU6

Hi, I am trying to enable the FPU on stm32f401CCU6 .

I keept the following setting as Default in STM Official Core - Duino.

Tools----->Optimize------>Smallest(-Os default).
Tools-----> Debug Symbols ------> None
Tools ------> C Runtime Library ----->Newlib nano (default)

Really what is the exact ...
by madhavan
Tue Sep 21, 2021 1:31 pm
Forum: General discussion
Topic: two I2Cs simultaneously,
Replies: 2
Views: 4299

two I2Cs simultaneously,

hi, i am trying to use two i2c device simultaneously . Individually single port is function is ok like wise PB7 -SDA , PB6 -SCL or PB11-SDA & PB10 -SCL

when i am scanning first i2c port with just

Wire,begin(); it's giving first device address details ....

When i am scanning second i2c port ...
by madhavan
Fri Sep 10, 2021 10:56 am
Forum: General discussion
Topic: 2 PWM output
Replies: 4
Views: 12245

2 PWM output

hi , I am little afraid !!! :| how to ask !!!.

I am trying to get 2 PWM output . the following code is working fine but how to get second PWM on PB1 pin .

how modify following line for 2 Pwm or Timer or Counter .

HardwareTimer *MyTim = new HardwareTimer(Instance);

How to change the *MyTim ...
by madhavan
Wed Sep 08, 2021 3:38 am
Forum: General discussion
Topic: USB keyboard
Replies: 5
Views: 7593

Re: USB keyboard

Image
by madhavan
Wed Sep 08, 2021 3:37 am
Forum: General discussion
Topic: USB keyboard
Replies: 5
Views: 7593

Re: USB keyboard

i have used the 5v to 3.3v logic voltage shift for PS2 key board .

Atmel SAM3X8E ARM Cortex-M3 CPU. used Arduino Due Board . 2nd USB port can be connected peripherals like USB keyboard or Mouse without shield .

STM32 • ARM® 32-bit Cortex®-M3 CPU Core blue pill having the USB port so it can be used ...
by madhavan
Tue Sep 07, 2021 4:25 pm
Forum: General discussion
Topic: USB keyboard
Replies: 5
Views: 7593

Re: USB keyboard

Image
by madhavan
Tue Sep 07, 2021 3:58 pm
Forum: General discussion
Topic: USB keyboard
Replies: 5
Views: 7593

USB keyboard

Hi , I have try with ps2 keyboard connection blue pill but i couldn't succeed .

Now i am trying with USB Keyboard . Arduino Due board will support directly USB keyboard but stm32 dunio core not accepting the Arduino USB keyboard library .

In the Arduino STM32 examples usb keyboard is not coming ...
by madhavan
Sun Sep 05, 2021 2:22 am
Forum: General discussion
Topic: st7920 - 128x64 Blue back light LCD .
Replies: 6
Views: 6584

Re: st7920 - 128x64 Blue back light LCD .

hi david, thanks for your in-depth knowledge sharing to us . U8G2 - SW SPI constructor working .
by madhavan
Sat Sep 04, 2021 2:50 pm
Forum: General discussion
Topic: st7920 - 128x64 Blue back light LCD .
Replies: 6
Views: 6584

Re: st7920 - 128x64 Blue back light LCD .

hi ,

U8GLIB_ST7920_128X64_1X u8g(PA5, PA7, PA4); // SPI Com: SCK = en = PA5, MOSI = PA7 = 16, CS = di = PA4

Currently U8glib library is in incompatible


WARNING: library U8glib claims to run on avr, sam architecture(s) and may be incompatible with your current board which runs on stm32 ...

Go to advanced search