Sep 28, 2020
04:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 28, 2020
04:43 AM
Cypress PSoC6 issue
- we have tried to control ili9342 lcd driver from M0+ while rest of our code is getting executed from M4. but we are facing a strange issue. we were able to send initialization commands but rest commands are not getting serviced. we have verified spi bus data and it is there then we thought it was lcd issue. but the same library when executed on M4 works fine. we were unable to find any example code for M0 Spi Master too.
- we are also not getting i2c event callback from the Cy_SCB_I2C_RegisterEventCallback function pointer
Labels
1 Reply
Sep 28, 2020
05:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 28, 2020
05:50 AM
Hi,
Are you using SPI in Interrupt mode or polling mode? Please ensure that you have enabled SCB interrupt for the cores CM0+ and CM4 in the interrupts tab of the PSoC Creator if you are using SCB in interrupt mode.
If possible, please attach the truncated version of your project here. We will analyze it and get back to you.
Thanks
Ganesh