2005-07-12 11:30 PM
ST10F276 more than 4 X-Peripheral Interrupt
2005-06-27 11:16 PM
Hello,
Do you know if it is possible to configure more than 4 interrupt on the X-bus. For my application, I need CAN1, CAN2, XASC Transmit, XASC Receive and PLL Unlock. Thank you.2005-06-28 04:16 AM
Ok thank you but I have an other question ?
I have a ST10F276-CAA with Keil. I try to use the XASC. Here you can see my configuration. The pb is that I have no Serial tansmit interrupt (0x42), when i execute XS1TBUF = c; . I able to simulate it with the debuger : Peripherals --> Interrupt system --> XP2INT clic on request. In the Startup : XPERCON = 0x06DC // I have verify vith the debuger Here is the configuration of the XASC : XS1CON = 0x8011; // receive on XP1IC XIR1SEL =0x8080; XP1IC = (0X0005<// transmit on XP2IC XIR2SEL =0x4040; XP2IC = (0x0005<XP1IE = 1; XP2IE = 1; void serial_transmit_1 (void) interrupt 0x42 { } Could somebody help me. Thank you.2005-07-12 11:30 PM
Hello,
Do not set the Flags t=in the XIRzSEL registers. Meaning: XIR1SEL =0x8000; XIR2SEL =0x4000; And in the Interrupt routines you have to clear the flags. I recommend to use the following: XIR1CLR = 0x0080; Bye XIR2CLR = 0x0040;