Hi Folks,
Total newbie here and been looking forward to learn python on pyboard i had this project on school where they ask me if i can use the pyboard's two (2) SPI channels simultaneously?
I had this experience using arduino where everything is working one at a time even on interrupts. Arduino boards does only have one (1) SPI channel (main uC). Does pyboard's SPI works the same also? i mean let's say SPI_1 channel is for the SPI sensors (indeed, sensors will be polled for their value one at a time) and while SPI_1 channel talks to a SPI sensor to get its value, SPI_2 channel will talk a SPI-based relay hub to turn relays on & off. Would that happen or can that happen on the pyboard? I'm not well versed about their clocks if their different or not, etc.
I hope you could help me thanks.
Micropython Pyboard V1.1 SPI Channels
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Micropython Pyboard V1.1 SPI Channels
The two SPI ports are independent and can work concurrently.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: Micropython Pyboard V1.1 SPI Channels
Ok thanks a lotpythoncoder wrote: ↑Thu Feb 22, 2018 8:48 amThe two SPI ports are independent and can work concurrently.