Skip to main content
Associate
February 1, 2025
Solved

G484 Uart transmit 0x00 not sent/received

  • February 1, 2025
  • 2 replies
  • 493 views

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.
Best answer by gbm

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

2 replies

gbm
gbmBest answer
Super User
February 1, 2025

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
February 14, 2025

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.