This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

F28M35 v204 example projects errors

In the file: F28M35x_SysCtrl.c in the function void InitSysCtrl(void), the following condition always fails:

if( (**InitAnalogSystemClock)(ACLKDIV4) != 0xA005 ) {
// If return value is not 0xA005, then analog subsystem did not initialize correctly
asm (" ESTOP0");
for(;;) ;
}

I have tried this project with Blinky on the M3 side. Broken!

  • William,

    Can you try to reset the ACIB from the M3 prior to executing the C28 project?

    You would do this by toggling bit 17 of the M3 register CRESCNF (0x400FB8C0) in a 1 -> 0 -> 1 pattern:

    *(volatile unsigned int*)0x400FB8C0 &= ~0x00020000;
    *(volatile unsigned int*)0x400FB8C0 |=  0x00020000;

    -Tommy