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.
Tool/software: TI-RTOS
Hello.
I am using TDA2PX & onsemi camera sensor.
When RTOS first sensor I2C write command send Slave ID & SCL is becoming Low. (ACK is occurred)
In Linux using same board & sensor but SCL is continuously high.
And in RTOS I changed I2C write config to BSP_OSAL_WAIT_FOREVER --> BSP_OSAL_NO_WAIT.
After RTOS I2C write config change first I2C write command Slave ID SCL becoming Low but after first command SCL is becoming high.
I have a questions.
1. Why only in RTOS SCL hold to Low?
What is diffrence is Linux/RTOS I2C control?
- In Linux same board & sensor but SCL is high.
2. Why I2C write config changed to BSP_OSAL_NO_WAIT and SCL returned to high?
What is difference in two config (BSP_OSAL_WAIT_FOREVER / BSP_OSAL_NO_WAIT) ?
< Linux I2C SDA/SCL : SCL is high >
< RTOS I2C SDA/SCL : SCL is become Low (ACK occurred) >
<RTOS I2C SDA/SCL : I2C write config change to BSP_OSAL_NO_WAIT and SCL is returned high after first I2C write command >
Hi,
Is the sensor programming working fine with the RTOS?
Which application are you using for the RTOS?
If you are getting ACK as expected in RTOS why are you trying to change the timeout?
Are you using the TI EVM or the Custom board?
Where exactly the sensor is connected? on which port?
Regards,
Prasad