Part Number: TDA4VMXEVM
Tool/software: TI C/C++ Compiler
Hello:
Now I'm trying to run mcu r5f core and main r5f core. I use vision_apps demo and boot from SD card. I put mcu r5f binary at path "/rootfs/lib/firware" and rename as "j7-mcu-r5f0_0-fw".When I startup the system,I find that AD initialization fail and the mcu stops run when my code wants to read register ADC_CONTROL(0x40200040).
But why when I boot from CCS, it doesn't have this problem and the mcu can work normal?
The code below is from "mcusw/mcal_drv/mcal/Adc/src/Adc_Pirv.c", SDK version : 6.2
Adc_utilsInitLinkList(&hwUintObj->groupList);
/*
* Init the HW instance
*/
baseAddr = hwUintObj->baseAddr;
Adc_hwSetDefReg(baseAddr);
/*
* Power up Analog Front End
*/
HW_WR_FIELD32(
baseAddr + ADC_CTRL, ADC_CTRL_POWER_DOWN,
ADC_CTRL_POWER_DOWN_AFEPOWERUP); // The mcu will stop run when the code want to read the register!!!
/* Wait 4us at-least */
Adc_delayExecution(delayCount);
