This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RM41L232: I can't use SCI RX IRQ - RM41L232

Part Number: RM41L232
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();

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//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);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
//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;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

@Edit: 

I solve this promlem. My fault. I'm forget disable RS485 Tranceiver TX_EN pin.