Search found 4 matches

by caixf
Fri Apr 11, 2025 2:58 am
Forum: General discussion
Topic: Hardware Serial returning gibberish.
Replies: 4
Views: 15155

Re: Hardware Serial returning gibberish.

think the rx buffer can not hold GPG messages, when the data exceeds 64 characters, exceeded data will lost. You can try code:
String input = Serial1.readStringUntil('\n');
by caixf
Fri Apr 11, 2025 1:59 am
Forum: General discussion
Topic: STM32F103CT change the length of RXBUFFER of Seiral1
Replies: 2
Views: 149

Re: STM32F103CT change the length of RXBUFFER of Seiral1

Dear fpiSTM

I read the information you mentioned, I use the Arduino IDE to program the MCU. When I put the file build_opt.h under the project sketch, the compile give the error, say no build_opt.h file. I use a AI assistant and save the file at the 'stm32duno'\libraries\STMCore. It works. But the ...
by caixf
Wed Apr 09, 2025 12:49 pm
Forum: General discussion
Topic: STM32F103CT change the length of RXBUFFER of Seiral1
Replies: 2
Views: 149

STM32F103CT change the length of RXBUFFER of Seiral1

I am using Arduino IDE to program the STM32F103C8T6. It works. But I can not change the Rx and Tx Buffer size for Seiral1. I know the HardwareSerial.h have the following #defines as:
// NOTE: a "power of 2" buffer size is recommended to dramatically
// optimize all the modulo operations for ring ...
by caixf
Sat Jun 24, 2023 10:21 am
Forum: General discussion
Topic: STM32 timers's resolution
Replies: 1
Views: 1365

STM32 timers's resolution

I want to have timer, the resolution of the timer should be 0.1μs. Can I get such timer in arduino enviroment!

Go to advanced search