cancel
Showing results for 
Search instead for 
Did you mean: 

G484 Uart transmit 0x00 not sent/received

321nitram
Associate

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

 

1 REPLY 1
gbm
Lead III

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