Part Number: TDA4VM
Trying to run below sample application to test NOR SPI.
ti-processor-sdk-rtos-j721e-evm-08_02_00_05/pdk_jacinto_08_02_00_21/packages/ti/drv/spi/test/ospi_flash.
Integrated this application and try to run in MCU1_0 core but it is not running . it is not jump into spi_test() function.
static void appMain(void* arg0, void* arg1)
{
TaskP_Handle sciserverInitTask;
TaskP_Params sciserverInitTaskParams;
consolePrintf("\nappMain Task is created..\n");
appUtilsTaskInit();
appSciserverSciclientInit();
consolePrintf("appSciserverSciclientInit is Done..\n");
/* Initialize SCI Client Server */
TaskP_Params_init(&sciserverInitTaskParams);
sciserverInitTaskParams.priority = INIT_SCISERVER_TASK_PRI;
sciserverInitTaskParams.stack = gSciserverInitTskStack;
sciserverInitTaskParams.stacksize = sizeof (gSciserverInitTskStack);
sciserverInitTask = TaskP_create(appSciserverInit, &sciserverInitTaskParams);
if(NULL == sciserverInitTask)
{
OS_stop();
}
appInit();
consolePrintf("appInit is Done..\n");
appRun();
consolePrintf("appRun is Done..\n");
Board_moduleClockEnable(TISCI_DEV_MCU_FSS0_OSPI_0);
consolePrintf("Board_init is Done..\n");
spi_test();
// main_ospi_flash_test();
#if 1
while(1)
{
appLogWaitMsecs(100u);
}
#else
appDeInit();
#endif
}
I have some below question .
1) Is this correct application to test NOR Flash functionality over OSPI
ti-processor-sdk-rtos-j721e-evm-08_02_00_05/pdk_jacinto_08_02_00_21/packages/ti/drv/spi/test/ospi_flash.
2) I found API for pinmux setting.
void appSetPinmux(app_pinmux_cfg_t *cfg)
Is this correct API to set pinmux?
Best regards,
Sandeep