I am working on trying to get the default project to run on the custom board. It has a couple of changes needed to the DCDC code for it to work with the buck mode, i believe its default in bypass mode. Also the pins they use for a switch in it will not working with the custom board as they are in use for some other ics.
There are several modifications done to it.
- DCDC set to buck and to output to 3.3V to the Digital io supplies
- keyboard switches changed to different pins
- serialmanager changed from using uart to spi
Thats the only system level changes I can think of that are in it. Everything else is just functions that use the spi port basically.
The TMR_IsTimerActive function returns false. I tried this and it still returned false each time:
TMR_MakeTMRThreadReady(); //Tried this both on and off
TMR_StartIntervalTimer(mKeyScanTimerID, gKeyScanInterval_c, (pfTmrCallBack_t)KeyScan, (void*)((uint32_t)mKeyScanTimerID));
OSA_TimeDelay(10);
bool_t testBool = TMR_IsTimerActive(mKeyScanTimerID);
TMR_EnableTimer(mKeyScanTimerID);
OSA_TimeDelay(10);
testBool = TMR_IsTimerActive(mKeyScanTimerID);
TMR_GetRemainingTime(mKeyScanTimerID);
TMR_MakeTMRThreadReady();
I also noted that when I open the threads window I can see the TMR Task is still in the eventwait function and doesn't leave it as far as I can see stepping through each line of that.