SPI Slave mode

Questions and discussion about The WiPy 1.0 board and CC3200 boards.
Target audience: Users with a WiPy 1.0 or CC3200 board.
Post Reply
User avatar
eblot
Posts: 7
Joined: Fri Oct 16, 2015 8:45 pm

SPI Slave mode

Post by eblot » Sun Nov 01, 2015 3:33 pm

Hi,

From the doc, it seems that only SPI Master is supported with µPython, while the some HAL drivers, such as STM and the WiPy/CC3200 driver seem to support SPI slave mode, at least up to some point.

Is there any (current) plan to add support SPI slave mode, or is there anybody already working on this topic?

Thanks.

User avatar
danicampora
Posts: 342
Joined: Tue Sep 30, 2014 7:20 am
Contact:

Re: SPI Slave mode

Post by danicampora » Sun Nov 01, 2015 3:40 pm

Hi,

Yes, there are plans, we have had some ideas on how the slave API should look like (and how it should work), but not ETA yet.

Cheers,
Daniel

User avatar
eblot
Posts: 7
Joined: Fri Oct 16, 2015 8:45 pm

Re: SPI Slave mode

Post by eblot » Sun Nov 01, 2015 3:54 pm

Ok, thanks.

I'd be very interested in such a feature on the WiPy.

blmorris
Posts: 348
Joined: Fri May 02, 2014 3:43 pm
Location: Massachusetts, USA

Re: SPI Slave mode

Post by blmorris » Sun Nov 01, 2015 5:43 pm

There was a productive discussion about a proposed API for I2C and SPI slave modes starting here: https://github.com/micropython/micropyt ... -151321274
It would probably be good to open a new issue specifically for that so the details don't get lost at the bottom of a _very_ long thread on the MicroPython API.
I could write it up, but probably not today.
-Bryan

User avatar
eblot
Posts: 7
Joined: Fri Oct 16, 2015 8:45 pm

Re: SPI Slave mode

Post by eblot » Mon Nov 02, 2015 8:42 pm

Thanks for the pointer. What a long thread :P

Post Reply