Tool/software: TI-RTOS
Hi,
I got the problem, that when I connect and disconnect an I2C temperature sensor, it is able to hang the whole processor.
In the functin I2C_primeTransfer_v1() there are several while{} loops, which are just blocking the processor, until the bus is free. BUT!!!! By connecting and disconnecting the sensor it can make the bus permanently busy! So it is necessary to reset the bus and start again!
So I wanted to overwrite the function "I2CMasterBusBusy", which is called in the while loops to get rid of the problem. But how to overwrite the function from the lib? Everything I found in the internet didn't work for ti compiler.
Or is there an easy way to rebuild the csl library?
I is really urgent. Because of that we failed an EMC Test and the product needs to be delivered really soon.