Skip to main content
Associate
Feb 1, 2025 3:17 PM UTC
Solved

G484 Uart transmit 0x00 not sent/received

Hello,

trying to send array below. The '0x00' part is not received in terminal, see image below.

 

 

char binary_data[] = {0x01, 0x02, 0xAB, 0x00, 0xCD};

HAL_UART_Transmit(&huart5, binary_data, sizeof(binary_data), HAL_MAX_DELAY);

 

How can I get this to work?

 

terminal11.JPG

 

This topic has been closed for replies.
gbm
gbmBest answer
Super User
Feb 1, 2025 3:32 PM UTC

Change the terminal emulator program. The data is received, then ignored by your terminal.

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice

2 replies

gbm
gbmBest answer
Super User
Feb 1, 2025 3:32 PM UTC

Change the terminal emulator program. The data is received, then ignored by your terminal.

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice
321nitramAuthor
Associate
Feb 14, 2025 5:14 AM UTC

Thanks gbm, it was indeed the Terminal program. Did not help that my intital data transfer was wrong so the GPS did not accept the message.