8 years, 10 months ago.

32f401 pa9 and pa10 doesn't work?

I tried following code on stm32f401 and theres no signal on ossiloscope. Anyone experiencing similar problem with PA_9 and PA_10?

#include "mbed.h"

RawSerial rf(PA_9, PA_10);

int main ()
{
    rf.baud(9600);
    


    while(1) {
        rf.puts("HELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLO");
        wait_ms(300);
        /*
        wait(1);
        rf.putc(0x55);
        wait(1);
        rf.putc(0x55);
        wait(1);
*/
    }


}

Question is obsolete. My mistake....

posted by Kamil M 14 Mar 2016
Be the first to answer this question.