Other Parts Discussed in Thread: TVP5158
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 >