This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
the SPI implementation does not support channel select pins other than pin 10 (PB2) #252
Labels
question
Further information is requested
I have a project with an Arduino Uno, an ethernet shield (v1), and an OV5642 SPI/I2C. There are actually 3 SPI peripherals in this setup, because the ethernet shield includes an SD card reader. The CS pins in use are
10: W5100 ethernet
4: sdcard reader
3: OV5642 (I could use something else since it is connected with jumper wires).
The current SPI implementation does not easily allow for use of SPI devices using a channel select pin other than 10.
The
Spi
type provided byavr-hal/mcu/atmega-hal/src/spi.rs
Line 25 in e897783
PB2
(pin 10). If a user attempts to create their own typeThe following error occurs:
How can I use the SPI functionality for multiple devices?
The text was updated successfully, but these errors were encountered: