cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32 mat target UART example USART_3_Receive_Send, difficulty

vlal
Associate III

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

17 REPLIES 17

I tried with mikroC, its working in the same hardware setup

I'd say HSE_VALUE, but the F1 series predominantly used 8 MHz, except the F105/F107 where 25 MHz might have been used. Project looked to use correct/expected value.

Scoping the signal and checking the bit time might provide some insight into the situation, as would probing the register settings for RCC and USART

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Yes, used 8MHz,

Will debug as you advised and update here..

vlal
Associate III

By the way, this is my clock configuration

0690X00000AqeM6QAJ.png0690X00000AqeM1QAJ.png

vlal
Associate III

I have been behind this to get working for last 5 months or more but didn't able to get it working

I am attaching pictures of the screenshot, kindly some one help me

0693W000000Tr3QQAS.jpg0693W000000Tr3LQAS.jpg

0693W000000Tr3VQAS.jpg

0693W000000Tr3uQAC.jpg

0693W000000Tr49QAC.jpg

0693W000000Tr3cQAC.jpg0693W000000Tr4EQAS.jpg

vlal
Associate III

I have attached the generated .c files

vlal
Associate III

I made this working by making the constant 10 and type unit8

vlal
Associate III

I made the UART working by making some modifications, that i have mentioned in that post in this thread

but the loopback example, I didnt able to make it working