AnsweredAssumed Answered

PB for L152RE: UART1

Question asked by edwin marcellin on Jul 12, 2018
Latest reply on Jul 12, 2018 by Clive Two.Zero



I have a pb with UART1 for L152RE board. I connected a sensor to my board in UART2 through a Max232 and i succeed to have information to my hyperterminal (TerraTerm). But i was not able to have information in the variable (or buffer) in my code. I was told that UART2 can not do that, so i was adviced to use UART1.


So i did it with UART1 but i'm not able to get data neither through hyperterminal nor in the variable in my code.


To parametrize the code, i use CubeMX and i changed the main.c. Do i have to change something else?


Find attached my code.


Thank you for your help.