Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Data Logging Shield - SPI Mode?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Data Logging Shield - SPI Mode?

by jbolyard on Thu Jul 09, 2020 7:47 am

Hello -

I'm working with an Uno, a Rev B Data Logging shield and also a playing with fusion SEN30008 thermocouple board. The SEN30008 is an SPI Mode 3 device.
I'm having unusual troubles.... seemingly inexplicable.

Does anyone know what SPI mode is needed for the Data Logging Shield? I can't seem to find this noted anywhere.

Thanks,
Jay

jbolyard
 
Posts: 2
Joined: Thu Jul 09, 2020 7:43 am

Re: Data Logging Shield - SPI Mode?

by mikeysklar on Thu Jul 09, 2020 1:39 pm

Hi jbolyard,

The SD card logger is a SPI mode 0 device that you will not be able to change.

However, you can set the spi mode to 3 just before you call the SEN300008 each time.

There is a good thread on the Arduino forum with someone who resolved their setup which sounded very similar to yours.

https://forum.arduino.cc/index.php?topic=312491.0

mikeysklar
 
Posts: 1743
Joined: Mon Aug 01, 2016 8:10 pm

Re: Data Logging Shield - SPI Mode?

by jbolyard on Thu Jul 09, 2020 5:01 pm

Thank you. That is what I needed confirmed.

Jay

jbolyard
 
Posts: 2
Joined: Thu Jul 09, 2020 7:43 am

Please be positive and constructive with your questions and comments.


cron