2013-03-28 10:45 PM
Dear everyone,
USART_Printf demo provided in STM32L1xx_StdPeriph_Lib_V1.2.0 can't run on STM32L152-EVAL. I found that there is no output at ST3241EB Pin 11. However, I use PC10/PC11 (UART3) with another MAX232, there is output to the hyperterminal but not correct. Have someone sucessfully use the demo?
B.R.
Jin2013-03-29 05:33 AM
The example would need to be modified to use COM2.
If in doubt copy the example into a new project, and break out and explicitly define the USART and pin configurations rather than use the assorted files in the utility directory. ie make a more stand alone example.2013-03-31 11:26 PM
Thanks clive. Finally, I porting my code from STM32F4 to STM32L152-EVAL without using the demo code. By the way, I change the baud rate to 9600, it works. But it fails when 115200 is set.