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.

CC2640R2F: Coprocessor problem

Part Number: CC2640R2F
Other Parts Discussed in Thread: ADS1291,

Hi, I want to complete a SPI read of the ADS1291 (a physiological signal acquisition chip) using a coprocessor, I want to initialize the ADS1291 via SPI in the main MCU, and then the coprocessor reads the acquired signal via SPI. May I ask if this idea is feasible

I had a problem at the beginning, my coprocessor IO pin does not map the CLK pin, and when I did not use the coprocessor, the system CLK has a signal. added ScSPIInit();ScSPITrans() when using the coprocessor. Why is that

CCS code

I'm configuring it in a coprocessor like this 

  • Hi Alex,

    Please make sure to refer to the Utilize the Serial Interfaces from inside the Sensor Controller Studio documentation.  Please note as well that the "LaunchPad SensorTag Kit (LPSTK)" or "LaunchPad + ULP Sense BootserPack" Example folders within SENSOR-CONTROLLER-STUDIO do include a SPI Accelerometer example which should be a useful guide when creating your own implementation (although the CC2640R2F device is not supported and thus cannot be directly used). 

    I want to initialize the ADS1291 via SPI in the main MCU, and then the coprocessor reads the acquired signal via SPI

    The main MCU on the CC2640R2F is the Cortex-M3 which also would control the coprocessor application.  So this statement does not coincide with your Sensor Controller Studio usage which uses a separate proprietary CPU.  You could benefit from solely using the SPI interface from the TI Drivers Runtime APIs and avoid Sensor Controller Studio altogether.  There are two SPI modules available in case you need separate communication lines between the other processor and sensors.

    Not enough is known about your coprocessor application or the Sensor Controller Studio code to comment on the SPI CLK activity.

    Regards,
    Ryan