- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can someone please provide a simple SCB UART sample for Modus Toolbox which interrupts on a character received? Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @NeRe_332166 ,
Unfortunately we do not have any such code example in ModusToolbox, that explains how to execute interrupt on the reception of data. However, you should refer UART PDL API documentation to get started with the sample code and the flow that you can follow for the implementation of your application.
Please feel free to add here in case of any further query and we would be happy to help.
Best Regards,
Aashita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @NeRe_332166 ,
Unfortunately we do not have any such code example in ModusToolbox, that explains how to execute interrupt on the reception of data. However, you should refer UART PDL API documentation to get started with the sample code and the flow that you can follow for the implementation of your application.
Please feel free to add here in case of any further query and we would be happy to help.
Best Regards,
Aashita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @Aashita_R
Thank you for the reply. Unfortunately, the PDL and HAL documents don't explain what to do in the SBC UART ISR. Nor does the HAL documentation. I'm currently using 'high-level' mode, and I've put a call to CY_SCB_UART_Interrupt in side as explained in the PDL, but how do I check for receiving bytes within the interrupt?
Your kind help is greatly appreciated.
Best regards,
Neill