Announcements

Register now for the most anticipated Asia Pacific Power Seminar 2022

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

USB superspeed peripherals Forum Discussions

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

Hi, I have a question with CX3.

Does SPI support 3-wire communication in CX3?

0 Likes
1 Solution
Biren
Moderator
Moderator 50 solutions authored 10 likes received 100 replies posted
Moderator

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
Moderator
Moderator 50 solutions authored 10 likes received 100 replies posted
Moderator

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
HamburgSteak
Level 2
10 replies posted 25 sign-ins 10 sign-ins
Level 2

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
Moderator
Moderator 50 solutions authored 10 likes received 100 replies posted
Moderator

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
HamburgSteak
Level 2
10 replies posted 25 sign-ins 10 sign-ins
Level 2

I appreciate that you helping.

I will try to implement SPI.

Thanks  a lot.

0 Likes