execuc / u2if

USB to interfaces implementing MicroPython "machine" module functionalities on a computer.
Other
152 stars 26 forks source link

Using the Pico as a SPI _SLAVE_ #17

Open rjnbarrass opened 1 year ago

rjnbarrass commented 1 year ago

Hello Due to wanting to use a PC as an emulator of a production device, we want to be able to connect to the same connection as our host device (which is a SPI Master)...

we would like therefore be able to connect the Pico acting as a SPI slave, and the (UI based on C#) communicate via the PICO as that slave. (we also use a GPIO as a flag to the host so the GPIO support will be used for that)

Is this possible - i think currently, the interfaces supported on the Pico is a Master implementation of the SPI only - but wonder if we can extend and create a SPI-slave.cpp implementation? regards