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

Serialinterface (MCB - XC167)

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?

0