Other Parts Discussed in Thread: , MMWAVEICBOOST, ALP
Tool/software:
I cannot get any of the example programs such as OOB demo, enable_57_to_61.. to run successfully on my IWR6843AoPEVM as well as custom IWR6843AoP boards. I've even tried the respective pre compiled binaries and they freezes and mmWaveDemoVisualizer 3.6 never returns any data for OOB demo.
When I debug using MMWAVEICBOOST, the program goes into infinite loop in the following function:
{
TOPRCMRegs* ptrTopRCMRegs;
/* Get the TOP RCM registers: */
ptrTopRCMRegs = ptrSOCDriverMCB->ptrTopRCMRegs;
/* Wait until APLL clock calibration is done successfully */
while (CSL_FEXTR(ptrTopRCMRegs->SPARE0, 17U, 16U) != 0x3); //PROBLEM LINE SPARE0 is always 0x28
}
However, when I tried the OOB demo precompiled binaries from version 3.4 sdk, those work and I was able to connect successfully using mmWaveDemoVisualizer 3.6. This was working for both EVM module and I'm assuming that is because that version doesn't call SOC_waitAPLLCalibration().
So question is how do I solve this for version the latest 3.6 SDK? Is the APLL not properly getting initialized? How to fix that if that is the case?