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.

RTOS/LAUNCHXL-CC2650: Execution Code error with fwDelayUs() instruction

Part Number: LAUNCHXL-CC2650

Tool/software: TI-RTOS

Hello,

I'm trying to use a SHT20 sensor with SCS on a CC2650-Lauchpad.

My code is rather classical :

i2cStart();

i2cTx(0x40 | I2C_OP_WRITE);

i2cTx(0xF3);

i2cStop();

fwDelayUs(100000, FW_DELAY_RANGE_100_MS);

i2cStart();

i2cTx(0x40|I2C_OP_READ);

if (state.i2cStatus == 0x0000) {

U16 resultH;

U16 resultL;

i2cRxAck(resultH);

i2cRxAck(resultL);

output.valeur = (resultH << 8) | resultL;

}

i2cStop();

But I have a persisting error, I don't find why

Thanks in advance !

Christian