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.
I do not get an interup in my debugger. What is wrong? Thanks in advance.. void serial_receive (void) interrupt SERIAL_RECEIVE0 = 0x2B using S_RBANK {unsigned char c; // c=S0RBUF; //get buf ... My init: void serial_init (void) {P3 |= 0x0400; DP3 |= 0x0400; DP3 &= 0xF7FF; S0TIC = 0x45; S0RIC = 0x46; S0BG = 0x0A; S0CON = 0x8011; }
1.) global interrupt enabled (IEN) ? 2.) pay attention, monitor for the debugger uses the UART too! So, perhaps the interupt-vector may be overridden?! Hope this is usefull to you Daniel Vetter