Search the Community
Showing results for tags 'usart'.
Found 1 result
Hello, I just started recently to test my stm32F4 with RX/TX communication. I tried for the first time the ChibiOS on it and the demo was a success. But now, I'm trying to use USART_SendData to send data, and here comes the problem: when I use Cutecom, I receive always some hex codes and not what I need to see (in my case: 'A'): Here are the hex codes I always receive : \0x1c\0xfc Here is a hint of my main.c /* USART Configuration */ USART_Configuration(); USART_SendData(USART2, '5'); I tried to change the ChibiOS exemple, and it succeeded: chprintf((BaseChannel *)&SD2, "A"); But I don't want to use ChibiOS because I don't find the equivalent function of USART_ReceiveData So, do you know any solution?