Hi to the experts !!!
I want to read the temperature of a thermo-element by means off the MAX6675 into a ECIO28.
The MAX has a simple SPI-compatible serial interface, but flowcode is only speaking of E-blocks with spi.
hardware config:: (can be changed)
MAX6675 ::::: ser. clock::::ser.Output::::non chipselect
ECIO28 :::: A1 :::: A2 ::: A3
Pleas help me quick,
thank you.....
ECIO28 with MAX6675 (spi)
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: ECIO28 with MAX6675 (spi)
Hello,
The Flowcode SPI component can be used to simply send and receive bytes from the SPI bus. You must manage your own CS pin so you can use output icons in single bit mode to do this. To allow the SPI hardware to work you must connect the following pins of the ECIO to your MAX device.
ECIO RC7 SDO -> MAX SDI
ECIO RB0 SDI -> MAX SDO
ECIO RB1 SCK -> MAX SCK
ECIO Any free I/O pin -> MAX CS
If data is not going to be flowing both ways then you do not need either the SDO (outgoing) or the SDI (incoming) signal connected.
Data direction is from the point of view of the microcontroller.
The Flowcode SPI component can be used to simply send and receive bytes from the SPI bus. You must manage your own CS pin so you can use output icons in single bit mode to do this. To allow the SPI hardware to work you must connect the following pins of the ECIO to your MAX device.
ECIO RC7 SDO -> MAX SDI
ECIO RB0 SDI -> MAX SDO
ECIO RB1 SCK -> MAX SCK
ECIO Any free I/O pin -> MAX CS
If data is not going to be flowing both ways then you do not need either the SDO (outgoing) or the SDI (incoming) signal connected.
Data direction is from the point of view of the microcontroller.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel