USB-C to SPI

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB-C to SPI

593 Views
gabriel_arnautu
Contributor I

Hi,

I have a control unit that consists of a Cortex M4F, few LEDs, buttons, flash storage and LiPo battery. I also have a PCB with an accelerometer. For now, they are connected with wires and communicating through SPI. When I recharge the device (now it has micro USB for that), the sensor board may not be connected as I don't read it then. Also, during the recharging time, the data from flash (stored while running) is transferred to PC. My question is, how can I add USB Type-C to my control unit and sensor board in order to be able to communicate with the accelerometer using USB Type-C and using the same port to recharge the battery and transfer data that has been stored in the flash? I have to mention that the voltage from sensor board is 1.8V.

Regards,

Gabriel

Tags (2)
0 Kudos
1 Reply

464 Views
gabriel_arnautu
Contributor I

I just realized that I don't need USB-C, I can go with micro-USB as well. I will attach a diagram with the system and its two possible states: reading the sensor and charging

unnamed0.jpg

0 Kudos