Page 1 of 1

MAX31855

Posted: Fri Jun 25, 2021 9:11 am
by Roy Johnston
Morning.
I am busy with a new project.
Chip 18F87K22
I need to use Four MAX31855 K type temperature sensors.
The way I understand it is the following.
All four SO pins will be connected to one pin (MISO) on the 18F87K22.
All four SCK pins will be connected to one pin (SCK) on the 18F87K22.
All four CS pins must be connected to different pins on the 18F87K22.
If I am correct the question is, Can I use any digital pin on the 18F87K22 for the 4 different CS pins on the MAX31855.
Thank you.

Re: MAX31855

Posted: Fri Jun 25, 2021 9:13 am
by kersing
Any digital output pin should work. Don’t forget to initialize the pins to a known state at the start of you program. And to drive them to active mode when using the SPI component.

Re: MAX31855

Posted: Fri Jun 25, 2021 10:14 am
by Roy Johnston
Thank you.

Re: MAX31855

Posted: Fri Jun 25, 2021 1:33 pm
by Roy Johnston
I am a bit confused
The component has a pin remapping option on the MOSI, MISO and CLK pins. CS/SS pins are selectable. I don’t want to remap the pins. I want to wire the actual pins specified in the chip datasheet
This component only requires 3 connections. MISO, SCK and CS
I will obviously not wire MOSI pin. Can I use this pin elsewhere for either an outputs or inputs.
I am using channel 2 for my projects. the greyed-out values namely D5, D6 and D7 are the pins where I will wire my chips onto. What happens to the remapped pins? can I use the mapped pins elsewhere in my project?