renesas / fsp

Flexible Software Package (FSP) for Renesas RA MCU Family
https://renesas.github.io/fsp/
Other
182 stars 82 forks source link

RA8M1: The ISR for the ELC_EVENT_SSI1_TXI_RXI event is not populated in the generated vector table when SSI channel 1 is used #334

Closed jritchey-renesas closed 1 week ago

jritchey-renesas commented 7 months ago

Issue

When the r_ssi stack is added to a ra8m1 project and the channel is set to '1', the ISR for the ELC_EVENT_SSI1_TXI_RXI event is not automatically filled in the generated vector table which results in the following build error.

../ra_gen/hal_data.c:58:14: error: 'VECTOR_NUMBER_SSI1_TXI_RXI' undeclared here (not in a function); did you mean 'VECTOR_NUMBER_SSI1_INT'?

Workaround

  1. Disable DTC support (Common > DTC Support), and remove the DTC instance from the SSI instance in the stacks view.
  2. In the Interrupts tab: a. Manually add the interrupt (SSI > SSI1 > SSI1 TXRXI) b. Set the ISR to either of the following depending on if TX or RX is used: ssi_txi_isr, ssi_rxi_isr