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.

How does cc2541 generate a repeated start condition ?

Other Parts Discussed in Thread: CC2541, CC2533

Hi , 

  I am using cc2541 to read a slave device data which has SMBus , the SMBus need a repeated start condition , whatever I did try ,

cc2541 can't generate a repeated start condition form .  By the way ,  I am modifying the code based on cc2541 sensorTag . Any solution for this ?  I saw cc2533 have a solution , but not where works for cc2541 and there is no "waitI2CStat" code , Can have  "waitI2CStat" code ?  thanks 

BR

Shijun

  • Hi Shijun,

    Have you taken a look at the CC254x Peripheral SW examples (found on the CC2541 product page)? It contains an interrupt based I2C example slightly different than what the SensorTag is using.

    Additionally, code that is built for CC2533 will also run on CC2541.

    Cheers,
    Fredrik