Hello, I just ordered one of the bluefruit le nRF8001 Breakout (v1.0). My question pertains to hooking it up to an led cube I built. It currently has tlc5940 chips running it hooked up with pins 13, 11,10, 9. I noticed on the hookup for the Bluefruit le that those pins are also used, but you mention that pin 10 can be changed. Would I be able to share the other pins with the two chips? (tlc5940 and Bluefruit le)?
I am using the Arduino Uno.
~Java
nRF8001 Breakout (v1.0) Question.
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67485
- Joined: Thu Feb 11, 2010 2:51 pm
Re: nRF8001 Breakout (v1.0) Question.
Pins 11, 12, and 13 are the Arduino's hardware SPI pins.
SPI is a shared-bus protocol, so yes, multiple devices can share the MOSI, MISO, and SCK signals. Each device needs its own CS pin so it knows when to pay attention to the microcontroller, but there's nothing special about the CS signal. The microcontroller just pulls it LOW before sending data, then sends it HIGH again to let the slave device know the transaction is done.
SPI is a shared-bus protocol, so yes, multiple devices can share the MOSI, MISO, and SCK signals. Each device needs its own CS pin so it knows when to pay attention to the microcontroller, but there's nothing special about the CS signal. The microcontroller just pulls it LOW before sending data, then sends it HIGH again to let the slave device know the transaction is done.
Please be positive and constructive with your questions and comments.