Search found 2893 matches: serial*

Searched query: serial*

by timdelta
Mon Apr 28, 2025 8:25 am
Forum: General discussion
Topic: Serial Buffer Size - How to adjust
Replies: 6
Views: 597

Re: Serial Buffer Size - How to adjust

Thanks for the additional comment - on a different PC it works with only the hal_conf_extra.h so a cache issue does seem possible.
In any case all working now, I appreciate all the comments
by Ricardowell
Sat Apr 26, 2025 3:18 am
Forum: General discussion
Topic: ModBUS and PN532 libraries via hardware serial ports on STM32F446RET6
Replies: 1
Views: 291

Re: ModBUS and PN532 libraries via hardware serial ports on STM32F446RET6


I've been programming my projects with Atmel and ESP8266/ESP32 for a while now. I've purchased a WeAct Studio module with an STM32F446RET6. I use Visual Studio Code with PlatformIO and the Arduino framework for programming. I've tried all the UART/USARTs and I've been able to read the signals on ...
by ag123
Tue Apr 22, 2025 5:31 pm
Forum: General discussion
Topic: Procedure to change EEPROM default sector/base address using STM32Duino?
Replies: 5
Views: 224

Re: Procedure to change EEPROM default sector/base address using STM32Duino?

it is possible to write directly to flash instead of using EEPROM emulation, these are mostly covered in the FLASH sections of the ref manuals.
The way flash works is that if a page is erased it is reset to 0xff for all bytes, writing data to them toggle the bits to 0.
Hence, it may be possible to ...
by caixf
Fri Apr 11, 2025 2:58 am
Forum: General discussion
Topic: Hardware Serial returning gibberish.
Replies: 4
Views: 15158

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: 152

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 fpiSTM
Wed Apr 09, 2025 2:12 pm
Forum: General discussion
Topic: STM32F103CT change the length of RXBUFFER of Seiral1
Replies: 2
Views: 152

Re: STM32F103CT change the length of RXBUFFER of Seiral1

If you change in the sketch it is not in the scope of the Serial header to redefine it. Sketch is a cpp file.
Use the build_opt.h way as described here:
https://github.com/stm32duino/Arduino_C ... le-content
by caixf
Wed Apr 09, 2025 12:49 pm
Forum: General discussion
Topic: STM32F103CT change the length of RXBUFFER of Seiral1
Replies: 2
Views: 152

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 GonzoG
Sat Mar 22, 2025 7:18 pm
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Nucleo-H533re support?
Replies: 5
Views: 269

Re: Nucleo-H533re support?

Composite Adding you MCU/board you don't have to configure anything. Some defaults just may need to be set differently.

For example, Serial is usually assigned to PA0/PA1 (for not added MCUs), whereas in STM32duino it usually is assigned to PA9/PA10.
For MCUs with LPUART (like H533RET) you may ...
by Composite
Sat Mar 22, 2025 6:31 pm
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Nucleo-H533re support?
Replies: 5
Views: 269

Re: Nucleo-H533re support?


@Composite All GPIO mappings are done for almost every MCU in STM lineup. For most MCUs you only need to add clock config and sometimes do some changes in default pin assignments (default Serial, IIC, SPI, etc). There are also entries for boards.txt for generic variants, just need to copy them ...
by GonzoG
Sat Mar 22, 2025 5:31 pm
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Nucleo-H533re support?
Replies: 5
Views: 269

Re: Nucleo-H533re support?

Composite All GPIO mappings are done for almost every MCU in STM lineup. For most MCUs you only need to add clock config and sometimes do some changes in default pin assignments (default Serial, IIC, SPI, etc). There are also entries for boards.txt for generic variants, just need to copy them ...

Go to advanced search