This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-CC1352R1: MAX31865 Temperature sensor interface with CC1352R

Part Number: LAUNCHXL-CC1352R1
Other Parts Discussed in Thread: CC1352R, TMP116

Hello,

I would like to interface MAX31865 Temperature sensor with CC1352 with SPI.

Presently, i had working driver with CC1352 and Flash

I am now intefacing MAX 31865 but could not able to get data from Temperature sensor.

We tried with ESP32 interface with MAX31865 the temperature sensor is working fine. we could to get temperature.

Even we had tried to probe SPI pins all are working fine. 1Mhz clock. Chip select is also low when data is sent to MAX31865

WE suspect there is some timing issue with CC1352R or any driver related issues. Could any one suggest any  method to integrate the sensor.

WE are using 4.3 SDK uartecho example with SPI PINS

DIO17 as SCLK

DIO16 as MISO

DIO11 as MOSI

DIO21 as Chip select.

  • Maybe try to use scope to compare signal differences when you use ESP32 interface with MAX31865 and CC1352R with MAX31865. Or use TI TMP116 instead of MAX31865. TI provide I2C driver for TMP116 on CC1352R and it definitely is no problem to communicate between CC1352R and TMP116.

  • - Why have you used a UART example as starting point when you are using SPI?

    - Which SPI mode do you use?

    You should compare the SPI bus with a logic analyzer or similar between the working and not working cases and find the difference.

  • hi,

    I got communicated with MAX31865 with CC1352R. It is just timing issue between CC1352 and MAX31865. I added delay while reading and writing after CS low, then the problem got resolved.

    Thank you for your intrest.