AnsweredAssumed Answered

Nucleo stm32L152, serial4 and serial 5

Question asked by AntonioB on Dec 2, 2015
Latest reply on Dec 3, 2015 by Clive One
Hi to all,  I use mbed plattform.  i have this strange situation i write this code, i

#include "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) {
     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