Hello,
While working through the 9.1. Template Application Workshop using the AM65x IDK, the project "baremetal_template_app_am65xx_a53"
when run on the traget the function TimerP_create Returns NULL.
This is the Output of the test program on the Serial UART:
------------------------------
Board Init complete
Uart Init complete
MCSPI Init complete
Gpio Init complete
======== Peripheral Initialization complete ========
Board Name read: AM6-COMPROCEVM
Board version read: E3006201E3E3010139184P00810511
i2c_eeprom_read_and_display task ended
spi_test task started
spi_test task ended
Timer create failed
-----------------------------------
From the souce Code example we can see the Output "Timer create failed" is created when the timer creation for timer 1 Fails.
~/ti/processor_sdk_rtos_am65xx_6_00_00_07/demos/rtos_template_app/am65xx/evmAM65xx/A53/template_app/app.c
----
#define TIMER1 1
#define TIMER_ID TIMER1
delayTimerHandle = TimerP_create(TIMER_ID,
(TimerP_Fxn)&delayTmrIsr,
&delayTimerParams);
if (delayTimerHandle == NULL) {
appPrint("\nTimer create failed\n");
}
Any help getting the timer function working would be greatfully received.
Best regards
John Bebbington