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 want to use the serial Interface on the MCB-XC167 Board. Made two diverent Projects one of the Projects works but the second doesnt.
P3 |= 0x0400; DP3 |= 0x0400; DP3 &= 0xF7FF; S0TIC = 0x80; S0RIC = 0x40; S0BG = 0x40; S0CON = 0x8011;
This Project doesnt work and the following Project works.
P3 |= 0x0400; DP3 |= 0x0400; DP3 &= 0xF7FF; ASC0_TIC = 0x80; ASC0_RIC = 0x40; ASC0_BG = 0x40; ASC0_CON = 0x8011; ALTSEL0P3 |= 0x0C00;
Where is the differents? And what should I do to get the first one working?
What, you mean apart from the obvious difference that one has
ALTSEL0P3 |= 0x0C00;
and the other doesn't?
Forgot to write that this is obviously but if i use the working project i cant use the ADC. If i use the first project i the ADC works but not the serial Interface.