XC2365B SSC Receive Buffer in Slave mode

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable

I just use SSC U1C0 of XC2365B in my project.
the receive buffer is somthing wrong in slave mode.
I sent data is 10010011,
but i received 11011011.
It seems if the previous bit is 1, the next bit will be changed to 1.

the code is:
while(!(U1C0_PSR & 0x8000));
U1C0_PSCR |= 0x8000; // clear alternate receive indication flag
ui_TempIn = U1C0_RBUF; // U1C0_SSC_uwGetData();

I change U1C0 in master mode,
the same code, the receive buffer is right.

So what's the problem?
0 Replies