Post Go back to editing

SELFBOOT

Category: Hardware
Product Number: eval-adau1452revbz, adau1452

Hi dear,

I am trying to set the EVAL-ADAU1452REVBZ to work in self-boot mode, but it still does not work.
I have followed the user guide on page 23 as follows:
1. Set the self-boot switch to "on" (S3).
Then, I used SigmaStudio to create a simple project that produces audio output when I press F7 (Link/Compile/Download).
I right-clicked on IC1 -> Self-Boot Memory -> Write Latest Compilation through DSP -> waited for the process to complete.
After that, I pressed the reset button (S1), but there was no audio output. Audio output is only available when I press F7 again.

2. Set the self-boot switch to "off" (S3).
I repeated the above steps, and before pressing reset, I set the self-boot switch to "on" again, but there was still no output signal.

3. No matter how I set the S3 switch, after pressing reset, the self-boot does not work, and I have to perform Link/Compile/Download again to get audio output.

  • Hello Butpt,

    Could you please attach your project? I will have a quick look at it and see what I can find.

    Note that your self-boot switch must always be in 'OFF' position when you are doing the self-boot procedure. Once the EEPROM is written successfully from the DSP, then you can power OFF and ON the board and then turn ON the self-boot switch and hit reset.

    Regards,

    Harish

  • Adau1452kit test1.dspproj
    Hello Harish,
    Thanks for replying,
    Attached my project file,
    And I tried your suggestion, still not working

  • Hello Butpt,

    we have to make sure that the EEPROM property window is correctly configured.

    I see that your EEPROM IC is connected to the USBi module via I2C, well that doesn't change anything in the hardware side because there is no direct connection between the USBi and EEPROM, but it does change the settings in the EEPROM window which may lead to communication failure. 

    So, If you connected your EEPROM in I2C and click 'write latest compilation thru DSP', then EEPROM config window will open, initially it is set to I2C with wrong config values, even you change that to SPI, it's still the same wrong values. Below is the setting I can see in your project which must be changed.

    I suggest you create a new project or delete the DSP (you should delete the modules too) and EEPROM IC and drag and drop them again and connect your ADAU1452 and EEPROM to USBi via SPI. Below is the window which is correctly set. If you set your EEPROM to USBi via SPI, this window is automatically set correctly, that's the reason why I want you to connect it via SPI.

    If you already gave the window values correctly like above and it hasn't worked , then we will go the next debugging methods.

    BTW, I happen to notice that your software FS at the top of sigma studio is set for 768KHz, since your core and other sample rates are at 48KHz, you must set the sigma studio sample rate to be at 48KHz. If it's different from other sample rates then you will have problems in the future when you include timing related modules in the schematic. This sigma3xx cores can run up to 192KHz rate, if you set the software sample rate at top of sigma studio to 768KHz, it only changes the compilation rate (which leads to miscalculation in the timing) and does nothing to the hardware rate.

    Maybe you can try this attached project below. The switch MP7 will change the audio source.

    selfboot.dspproj

    Regards,

    Harish