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.

CCS/CC2640: CCS/CC2640

Part Number: CC2640
Other Parts Discussed in Thread: LP55231

Tool/software: Code Composer Studio

Dear Sir, 

I am using SensorTag code to modify it to fit my board. I face a problem when I am using I2C to control LP55231 LED driver. I am using the SensorI2C_writeReg() function for the I2C communication for the LP55231 but system hangs on with CCS shows a window CLE Expression: GLE_Go(0x329e). After I debug into the source code, it hangs on the I2CCC26XX_transfer() function that position as show as below,  

/*
* Wait for the transfer to complete here.
* It's OK to block from here because the I2C's Hwi will unblock
* upon errors
*/
Semaphore_pend(Semaphore_handle(&(object->transferComplete)), BIOS_WAIT_FOREVER);

 It problem seems I2C can complete.

I was trying to change the clock from I2C_400kHz to I2C_100kHz, but the result as same. I am using 10K for the I2C both SDA and SCL pull high resister. 

Could you please have some suggestion for this problem? 

Thank you 

James