Other Parts Discussed in Thread: HALCOGEN
Hello,
How can I SCI RX IRQ RM41L232?
I tried bellows steps:
- Driver Enabled Tab -> SCI driver is enabled
- Halcogen SCI Tab -> RX INT Connected
- VIM Channels 0-31 Tab -> LIN1 Level 0 (13) and LIN1 Level 1 (27) is enabled
- call the sciInit();
//enable interrupts
_enable_interrupt_();
//HET rti init
rtiInit();
// Enable RTI Compare 0 interrupt notification
rtiEnableNotification(rtiNOTIFICATION_COMPARE0);
//CAN Init
canInit();
//Enabling error interrupts
//canEnableErrorNotification(canREG2);
//canbus irq enable
canEnableStatusChangeNotification(canREG2);
//SCI Init
sciInit();
sciReceive(scilinREG, 10, rx_data_sci);
//SCI Notification
void sciNotification(sciBASE_t *sci, unsigned flags)
{
#define SCI_D_SIZE 16
//uint8_t rx_sci_data[SCI_D_SIZE]="";
//if(flags == SCI_RX_INT)
{
//sciReceive(sci, SCI_D_SIZE, rx_sci_data);
gioToggleBit(gioPORTA, 7);
}
return;
}
@Edit:
I solve this promlem. My fault. I'm forget disable RS485 Tranceiver TX_EN pin.