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.
MAX31855
Moderator: Benj
-
- Flowcode V4 User
- Posts: 220
- Joined: Mon Aug 24, 2009 8:38 am
- Has thanked: 2 times
- Been thanked: 34 times
- Contact:
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
- Contact:
Re: MAX31855
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.
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
-
- Flowcode V4 User
- Posts: 220
- Joined: Mon Aug 24, 2009 8:38 am
- Has thanked: 2 times
- Been thanked: 34 times
- Contact:
-
- Flowcode V4 User
- Posts: 220
- Joined: Mon Aug 24, 2009 8:38 am
- Has thanked: 2 times
- Been thanked: 34 times
- Contact:
Re: MAX31855
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?
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?