NUCLEO STM32L073 USART2 RX doesn't work
Hi everyone,
I'm currently trying to implement USART2 in the Nucleo STM32L073, but despite i see frames coming from the other chip, i can't have any interrupt in RX (configured to get byte by byte). I also tried the polling method but it doesn't work better. I may be missing something obvious.
Here is my code :
init code :
the interrupt init (called before to get any byte) :
the interrupt routine (of course usart interrupt activated in IOC file) :
UART2 pins are mapped as PA2/PA3 and so if i understood well the RX pin should be the bottom left pin of the CN10 (when you look at the board from over).
Here is the USART2 registers when waiting for the byte :
Do i miss something or someone has any idea ?
Thanks in advance for your answer,
Best Regards,
Thomas

