Part Number: RM48L930
Other Parts Discussed in Thread: HALCOGEN
Hello,
When SCI or SCI2 is enabled in HALCoGen it lets you independently choose either High or Low interrupt priority level for each SCI interrupt source (Tx, Rx, FE, OE, etc). For Lin/SCI2, the code generator creates a
linHighLevelInterrupt() routine in sci.c to handle all the conditions. But if I set the Tx interrupt to be low level while all others (incl Rx interrupt) is high level, the code generator does not create a linLowLevelInterrupt() routine to handle the Tx case. Is this a known issue/shortcoming of HALCoGen?
When I set the Tx source to be low level, while Rx and the others remain at high level, then regenerate the code, I expect a linker error since the VIM_TABLE_27_NAME is set (by default) to linLowLevelInterrupt but that function is not defined anywhere. So it appears that there is a disconnect in HALCoGen in setting these levels. Can anyone help explain what HALCoGen is doing here?
Thank you,
Keith