Question
Nucleo stm32L152, serial4 and serial 5
Posted on December 02, 2015 at 13:51
Hi to all, I use mbed plattform. i have this strange situation i write this code, i
&sharpinclude ''mbed.h'' //Serial pc(PC_10,PC_11); //Serial 4 TX, RX ko Serial pc(PB_10,PB_11); //Serial 3 TX, RX //ok //Serial pc(PC_12,PD_2); //Serial 5 TX, RX //ko DigitalOut myled(LED1); int main() { int i = 1; pc.printf(''Hello World !\n''); while(1) { wait(1); pc.printf(''This program runs since %d seconds.\n'', i++); myled = !myled; } } if i use Serial 3 all work well, if i use serial 4 or serial 5 don't work, can you give me where is the error ? can you help me? best regards A. #nucleo_l152 #mbed