I want to know why I can't get into the interrupt handler. [R7FA6E10F - SCI0 - Smart Card Interface]

I am new to R7FA6E10F. I am developing a program to communicate with a smartcard via SCI0 interface,
It works fine until I start receiving the ATR (0x3B, ...) values sent by the smartcard into the RDR register,
sci_smartcard_rxi_isr() doesn't seem to be called.

When I check the ICU Interrupt, it comes up as Pending, but the breakpoint is not working inside sci_smartcard_rxi_isr().

I'm wondering if there are any other settings I need to make besides the ones I attached.

We share the details in the article below. Thanks

https://drive.google.com/file/d/1ySZbIlU08MDZ7NP3alb1akUf11-Gw9AL/view?usp=share_link

Parents
  • Hello,

    Thanks for posting your question online.

    You do not need to add any interrupts manually on Interrupts tab or use the ICU in order to enable the UART interrupts. Just select the interrupts that you want on FSP configuration alongside with their priority. Every time one of these interrupts occur, the user defined callback function is called:

    Please let us know if you have further questions on this issue.

    Regards

Reply
  • Hello,

    Thanks for posting your question online.

    You do not need to add any interrupts manually on Interrupts tab or use the ICU in order to enable the UART interrupts. Just select the interrupts that you want on FSP configuration alongside with their priority. Every time one of these interrupts occur, the user defined callback function is called:

    Please let us know if you have further questions on this issue.

    Regards

Children