PSOC6 SPI master 3-wire bidirectional support

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
YTs_1631666
Level 2
Level 2
First like received

Hi,

I like to access a SPI slave with 3-wire SPI implementation on PSOC6.
The component SPI(SCB v2.0) doesn't seem to have a 3 wire SPI  implementation/sub-mode.

I do see National Semiconductor (microwire), but this is still 4 wire.

Any there a way to support this in PSOC6?

I see that this is supported in other PSOC family.

Thanks!

0 Likes
1 Solution

Hello,

Another solution if you use an SPI on Port 8 or 9 would be to use SmartIO and the internal Data Unit to route the data automatically to MOSI and MISO. The Data Unit has to be configured as counter that controls the multiplexing of the data via the LUTs. Chip Select should be used to reset the Data Unit.

Third solution and most complex would be a custom component using the UDBs. But this is also the most flexible in case the SPI communication has some special timing requirements.

Kind Regards,

Achim

View solution in original post

0 Likes
2 Replies