SPI question.

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
lordhex
Posts: 54
Joined: Mon Dec 30, 2013 2:09 am
Has thanked: 15 times
Been thanked: 10 times
Contact:

SPI question.

Post by lordhex »

Hello guys.
I have a small problem try to resolve in 2 days.But i can' find.
https://cdn-shop.adafruit.com/datasheets/MAX31855.pdf
Here we have MAX31855 chip.And it says in
Table 2. Memory Map—Bit Weights and Functions
For 14-BIT THERMOCOUPLE tempeture data i have to read D18 to D30
But i can't figureout how to chose D18 to D30
For exemple in string we can chose the letter we want
Str[0]="H" (chose first char)
But i can't figureout in BIT :(
Is there any body can explain this to me in bit's?

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: SPI question.

Post by LeighM »

Looks like a very interesting device!

Here's an example of how the data could be extracted, once you have the 32 bit data read from the device into a variable.
MAX31855.jpg
MAX31855.jpg (46.8 KiB) Viewed 3614 times
Attachments
MAX31855.fcfx
(6.83 KiB) Downloaded 305 times

lordhex
Posts: 54
Joined: Mon Dec 30, 2013 2:09 am
Has thanked: 15 times
Been thanked: 10 times
Contact:

Re: SPI question.

Post by lordhex »

LeighM wrote:Looks like a very interesting device!

Here's an example of how the data could be extracted, once you have the 32 bit data read from the device into a variable.
MAX31855.jpg
I am trying as soon as possible.
i will be back :P

Post Reply