Search found 3 matches

by meold
Wed Feb 22, 2023 5:22 pm
Forum: General discussion
Topic: STM32F411VE HardwareSerial sends garbage
Replies: 9
Views: 2169

Re: STM32F411VE HardwareSerial sends garbage

Hi,

Yes, you are right - my crystal have 12MHz frequency and I missed this. :roll:

The fix is pretty simple - just by adding to the boards.txt for appropriate board/variant next config:

Code: Select all

xxx.build.extra_flags=-DHSE_VALUE=12000000
Thank you for your help :)
by meold
Wed Feb 22, 2023 3:36 pm
Forum: General discussion
Topic: STM32F411VE HardwareSerial sends garbage
Replies: 9
Views: 2169

Re: STM32F411VE HardwareSerial sends garbage

Hi, Yes, you are right - by default there is no variant for F411VE available, but it is actually exists in variant files via path "variants\STM32F4xx\F411V(C-E)T", so I've added it according to the tutorial. I'm not sure how correctly check to which pins mapped default Serial, but anyway i...
by meold
Wed Feb 22, 2023 11:58 am
Forum: General discussion
Topic: STM32F411VE HardwareSerial sends garbage
Replies: 9
Views: 2169

STM32F411VE HardwareSerial sends garbage

Hi, I'm trying to migrate from 1.9.0 to 2.4.0 arduino core and have an issue with usart. Initialization: #define TX_PIN PA15 #define RX_PIN PB3 HardwareSerial hws(RX_PIN, TX_PIN); const char data[] = {0xAA, 0x00, 0xFF}; void setup() { Serial.begin(115200); hws.begin(19200, SERIAL_8N1); } Loop: void ...

Go to advanced search