We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hi,
I try to get the SSC0 on the MCB-XC167NET working.
I initialize with the following instructions:
SSC0_CON_EN = 0;
SSC0_BR = CPU_FREQ / (2 * SSC0_BAUDRATE) - 1;
ALTSEL0P3_P8 = 1; ALTSEL0P3_P9 = 1; ALTSEL0P3_P13 = 1;
DP3_P8 = 0; DP3_P9 = 1; DP3_P13 = 1;
P3_P9 = 1; P3_P13 = 1;
SSC0_CON = 0xC00B;
That should work, but i get no output on P3.9 and no clock on P3.13. Is there anything I might have forgotten?
Greetings, Simon
hi Chris,
thank you for your reply. I just found the mistake, I use P3L as data lines for a LCD and i accidently switched the direction register for the whole port. now everything is fine.