2 Replies Latest reply on Nov 28, 2018 9:37 AM by maxwell.lombardi_1836446

    SPIM simple read only PSoC4 -- MAX31855

    maxwell.lombardi_1836446

      Hello all,

       

      Its been a long time since I have used the SPIM block and associated commands.

       

      I have a thermocouple that goes to the MAX31855 board. It uses SPI to communicate. When SS goes low it sends its 32 bits of data. I am only interested in bits 14-31.

       

      I forget the correct way to clear the rx buffer, read rx data and then what to do with said data. Attached is the project I have so far. Also I am novice when it comes to C code so if I have int8s or unit 32_t's im not even sure what they do all that well. Thanks for your help in this.