Announcement

REXYGEN forum has been moved. This one is closed.
Head over to the new REXYGEN Community Forum at https://forum.rexygen.com.

Looking forward to meeting you there!
 

#1 2018-04-10 16:20:17

tazntex
Member
Registered: 2018-04-04
Posts: 3

Max31856 Quad

I am looking to interface a quad MAX31856 connected to a Raspberry Pi 3 to read type K thermocouples. am unsure which function blocks to us to process the SCK, SDO, SDI, and the CS pins to display the temperature on an HMI and for the PV on the PIDU.   


Thank you.

Offline

#2 2018-04-11 12:25:32

tomáš čechura
Administrator
Registered: 2016-02-22
Posts: 371

Re: Max31856 Quad

Hello tazntex,

thank you for your question. In order to implement SPI communication in REX use REXLANG function block and functions OpenSPI() and SPI() - see REXLANG documentation for more details - https://www.rexygen.com/doc/ENGLISH/MAN … 2-26100015

There are also few examples on SPI communication as part of standard installation of REXYGEN development tools - look for folder "0503 - Generic SPI Communication" or visit our GitHub example repository - https://github.com/rexcontrols/REXexamp … munication

If you require any further information, let me know.

Regards, Tomas

Offline

Board footer

Powered by FluxBB