This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

CY7C68013A Serial Communication Problem

Dear Friends,

I have written Serial communication program for cypress CY7C68013A which is not working, Please find the code below, if there is any more registers to be set please tell me,

        CPUCS = bmCLKSPD1; // 48 MHz

        CKCON = 0;// MOVX takes 2 cycles
        SCON0 = 0x50;
        TMOD |= 0x20;
        TH1   = 0xB2;// Baudrate @ 9600bps CLK=48MHz
        TR1   = 1;
        TI =1;
        RI =1;




        while(1)
        {

        printf("Hello World");
        }

0