Low level I2C
Posted: Wed Feb 16, 2022 10:33 am
Dear,
I try to implement a custom I2C master driver which uses the low level functions and works without rtos. The driver works, but I cant indicate when the transfer is finished.
I use the "i2c_ll_is_bus_busy" which returns immediately false. Currently I solved this just with a delay but its inefficient. Where could be the problem?
I Would also like to use the interrupt event, but I don't know how to use the "i2c_ll_master_get_event"?
best regards
I try to implement a custom I2C master driver which uses the low level functions and works without rtos. The driver works, but I cant indicate when the transfer is finished.
I use the "i2c_ll_is_bus_busy" which returns immediately false. Currently I solved this just with a delay but its inefficient. Where could be the problem?
I Would also like to use the interrupt event, but I don't know how to use the "i2c_ll_master_get_event"?
best regards