cancel
Showing results for 
Search instead for 
Did you mean: 

Hard reset on write USART.

aaalex1234
Associate II

I apologize for my english.

I came across an incomprehensible thing for me (general experience with STM32 for about 10 years).

I work with STM32L010K8. When I try to write to USART2->TDR, I fall into reset. Test on Keil and IAR, different optimisation.

Has anyone come across this?

1 ACCEPTED SOLUTION

Accepted Solutions

Check for external shorting.

Try driving the UART TX pin as a GPIO​

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

View solution in original post

2 REPLIES 2

Check for external shorting.

Try driving the UART TX pin as a GPIO​

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

Thank you, you are right.

A TX port was knocked out, on the other board everything is fine.

Thanks again.