Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: Aplication crashes when using two timers and I2C (EK-TM4C123GXL)

$
0
0

* UPDATE *


Replaced the timer instance in the RTC module by calls to Task_sleep(). Still crashing.

In the timer instantiation code "Timer_create()", replaced "Timer_ANY" by 4. Not crashing anymore.

Tested all possible values for ID parameter. Application crashes if ID < 4, it works if ID is 4 or 5. After this point I remembered that for the RTC timer I was using 4 as ID, this is why it was working all the time.


Is there a reason for the I2C module not work when timer 0, 1, 2 or 3 are enabled?


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>