2019-10-18 02:23 PM
I have generated MDK-ARM project from the USART_3_Receive_Send example from stm32 mat target example, I have successfully compiled all and burned to stm32f103 board, when connected to terminal it finds, it is sending unknown chartacters to terminal
I have attached the project files with this message, kindly someone check
Solved! Go to Solution.
2020-04-04 11:38 AM
I made this working by making the constant 10 and type unit8
2019-10-18 02:57 PM
What STM32 board?
USART1 PA9 / PA10
Perhaps test the USART functionality outside all the buffering, then debug the rest of it.
2019-10-18 10:49 PM
Custom STM32 board, I am using
USART1 connected to PA9 PA10
Will test the USART functionality outside buffering and update here
2019-10-19 11:11 AM
I have tried with USART_3_Receive example, still the result is same
I have used Rx and Tx pins, any other pin needs to be used?
2019-10-19 11:31 AM
Async serial on USART1 would just need the PA9(TX) and PA10(RX)
If the hardware hasn't otherwise been validated, you might want to sit in a loop transmitting 'U' characters, and scope the signals. PA9 would have the signal, it will be at CMOS levels, and not directly compatible with RS232 levels.
Not familiar with your design.
2019-10-20 02:09 AM
2019-10-20 01:15 PM
2019-10-20 02:36 PM
Try just coding a simple app, in C, without involving STM32-MAT
2019-10-20 02:39 PM
Sure seems like a protocol issue. Same baud rate, parity, and stop but settings in your code and in the terminal? If you have a parity bit, you need to set 9 data bits in the code instead of 8.
2019-10-21 07:23 AM
Yes, it same baud rate 115200, no parity, 1 stop bit
I have changed the data bit 8 and 9 checked, no improvement