Does SPI support 3-wire communication in CX3?

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

cross mob
HamburgSteak
Level 2
Level 2
10 replies posted 25 sign-ins 10 sign-ins

Hi, I have a question with CX3.

Does SPI support 3-wire communication in CX3?

0 Likes
1 Solution
Biren_R
Moderator
Moderator
Moderator
First question asked First like given 250 sign-ins

Hello,

CX3 does not support 3 wire SPI (SCK, SS, SDIO).

You can still try some workaround, please check below link code side you may need to follow SPI registers. this is not tested this is one idea it may be work or not.

https://arduino.stackexchange.com/questions/66076/read-write-with-half-duplex-spi


Best Regards,
Biren

View solution in original post

0 Likes
4 Replies
Biren_R
Moderator
Moderator
Moderator
First question asked First like given 250 sign-ins

Hello,

- Can explain more about the use case?
- Are you looking for SPI as master or slave?
- Are you looking for 3 wires as SCK, MOSI, MISO only or SCK, SS, SDIO?

Best Regards,
Biren

0 Likes

Hi, I described my configurations below.

- Can explain more about the use case?

    + I'm developing 3D camera and need to control VCSEL driver via SPI. The vcsel driver support 3-wire SPI communication.

- Are you looking for SPI as master or slave?

     + CX3 is the master.
- Are you looking for 3 wires as SCK, MOSI, MISO only or SCK, SS, SDIO?

     + The VCSEL driver support SPI with SCK, SS, SDIO.

 

That's all.

Thank you.

0 Likes
Biren_R
Moderator
Moderator
Moderator
First question asked First like given 250 sign-ins

Hello,

CX3 does not support 3 wire SPI (SCK, SS, SDIO).

You can still try some workaround, please check below link code side you may need to follow SPI registers. this is not tested this is one idea it may be work or not.

https://arduino.stackexchange.com/questions/66076/read-write-with-half-duplex-spi


Best Regards,
Biren

0 Likes

I appreciate that you helping.

I will try to implement SPI.

Thanks  a lot.

0 Likes