2020-03-19 04:49 AM
Hello All,
I am working on UART on SPC560p Discovery board. I can transmit the data but unable to receive the data. I want to receive byte by interrupt method to avoid blocking.
Please guide me with Rx interrupt initialization so that I can use
"static void spc5xx_serve_rxi_interrupt(uint32_t isdp)" function given in "Serial_iid.c"
Also please suggest me if any other method to receive the data without blocking.
Thank You,
Pradnya
Solved! Go to Solution.
2020-03-31 06:30 AM
Hello ,
You have to enable LInFlex 0 Low Level Drivers
you already support interrupt method in our driver
please follow example serial application
/**
* @brief LINFlex-0 RXI interrupt handler.
*
* @isr
*/
IRQ_HANDLER(SPC5_LINFLEX0_RXI_HANDLER) {
IRQ_PROLOGUE();
LinflexD1.rxi_lincallback(LinflexD1.device);
IRQ_EPILOGUE();
}
Best regards
Erwan
2020-03-31 06:30 AM
Hello ,
You have to enable LInFlex 0 Low Level Drivers
you already support interrupt method in our driver
please follow example serial application
/**
* @brief LINFlex-0 RXI interrupt handler.
*
* @isr
*/
IRQ_HANDLER(SPC5_LINFLEX0_RXI_HANDLER) {
IRQ_PROLOGUE();
LinflexD1.rxi_lincallback(LinflexD1.device);
IRQ_EPILOGUE();
}
Best regards
Erwan