- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have a Psoc6 project started in Modus.
After configuring the device and building, the SpiMaster.c file only sendPacket, checkTransferStatus, initMaster, and mSPI_INterrupt defined.
Why does it not generate a Read Function?
In the sample project, it is the same the Master doesn't have a read, but the slave does???
Thanks.
Giri
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should opened an code example project CE221120_PSoC6_SPIMaster, right? The SpiMaster.c is not generated by ModusToolBox, it is written by CE author to guide reader how to getting start with SPI Master. The low-level APIs of SCB-SPI can be used in psoc6pdl_Cortex-m4-->components-->drivers-->source-->cy_scb_spi.h/.c, actually SPI send and receive share the same low-level API Cy_SCB_SPI_Transfer()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should opened an code example project CE221120_PSoC6_SPIMaster, right? The SpiMaster.c is not generated by ModusToolBox, it is written by CE author to guide reader how to getting start with SPI Master. The low-level APIs of SCB-SPI can be used in psoc6pdl_Cortex-m4-->components-->drivers-->source-->cy_scb_spi.h/.c, actually SPI send and receive share the same low-level API Cy_SCB_SPI_Transfer()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I thank you for your answer, and I understand.