Forum >How to use Bluno beetle's SPI interface?
Bluno General Arduino

How to use Bluno beetle's SPI interface?

userHead Leff 2015-08-04 22:51:45 9650 Views5 Replies

the picture could be find on the Bluno beetle wiki page. And you could also find its pcb diagram on the product page and dig into it's pcd disign.

Unfortunately, I didn't find SPI's ss/cs pin which is for chip selecting. I guess this ICSP is for download sketch or uploading micro chip's firmware, so the ss/cs pin is alway ready for that purpose. Any way, you can find the ss/cs pin is D10 but was not connect with user's interface because there is no D10.

But there's still other two method to make it:

1 So you have to solder the D10 separately. You have to be very careful to avoid burning the chip out or soldering the chip pin together.


2 Generally speaking , the SS/CS pin could be defined by user, so you can reverse the sketch, and wire the ss/cs pin to D4.
e.g: the SD module:
Code: Select allconst int chipSelect = 4;   //instead of ----> const int chipSelect = 10; 
//rest code not display
  // we'll use the initialization code from the utility libraries
  // since we're just testing if the card is working!
  if (!card.init(SPI_HALF_SPEED, chipSelect)) 
//rest code not display


Sorry I don't have a chance to try my idea, can anyone have a test?

Have a nice day!

2018-08-06 12:56:29 DId anyone figure out if it was possible to program the Bluno Beetle's ICSP/SPI interface to another pin rather than D10 for CS/SS? userHeadPic conrad.addo
2015-10-24 01:24:52 SS pin is needed for SD card or the empty pin would not be stable 0/1 sometimes. You can use other digital pins instead.
cappellotto andrea wrote:i'm not sure that you need SS pin. it should be low when you use sd card but i think it's always low
userHeadPic Leff
2015-10-23 23:22:17 i'm not sure that you need SS pin. it should be low when you use sd card but i think it's always low userHeadPic cappellotto andrea
2015-10-21 23:39:37
cappellotto andrea wrote:hi leff,
I'm interested in use spi interface for sd card.. did you test it?? hope it works :)


Hello Cappellotto?

Welcome!

Sorry I don't remember why I writed the post before, it should work. I don't have beetle or SD module at my hand now, would you like to have a test and share it?

Leff
userHeadPic Leff
2015-10-21 09:05:56 hi leff,
I'm interested in use spi interface for sd card.. did you test it?? hope it works :)
userHeadPic cappellotto andrea