Post Go back to editing

SPI boot address

Category: Software
Product Number: ADAU1450
Software Version: 4.7

Hi, I am working on an application with a ADAU1450 and SPI boot memory. The hardware is quite similar to the EVAL-ADAU1452 and  seems to work ok, now I want to write code in the boot EEPROM. A added the E2prom to the USB interface block, as

shown in the eval board manual (fig69). However The manual mentions a SPI EE memory, while on the USB interface block, a I2C address is selected...? I am also wondering how the SPI addresses in the USB block are configured. Does SPI1 associate with SS/MP0 etc? And why the address 0 and 1 for each SPI, there should be just one slave on each slave select... I think I am missing some information here.. Someone to get me on the right track?

  • Hello Geert,

    If your hardware is designed similar to the eval boards then please note the below points.

    The USBi and EEPROM have no direct connection, hence you can't access the EEPROM via USBi, However, you do have to add the EEPROM IC in your schematic and connect it to USBi (like you did in the picture), because sigma studio needs the EEPROM DLL and the required codes.

     The EEPROM programming will be done in the master control port side of the DSP (it's like the usbi sends the pass thru code to DSP and DSP writes it to the EEPROM)

    It doesn't matter if it's connected with I2C or SPI with the USBi. it would work if you configured the EEPROM properties window correctly. I always suggest connecting it via SPI (if you are using SPI EEPROM), because if you connect it via SPI, while doing 'Write latest compilation thru DSP', the EEPROM properties window will be filled with correct values. you don't need to change anything, just click 'ok' and proceed.

    Below is how I will connect the EEPROM in the schematic (assuming latch 0x2 is not used for another SPI slave). Below shown window will open when you click 'Write latest compilation thru DSP', you can just click ok and proceed with writing the EEPROM.

    Note that the above shown memory size is for 1MBit (1048576 bits) memory, if your memory size is different then enter the memory size accordingly.

    The EEPROM is connected in the master control port side, so the configuration is done in the above window.

    You have to connect SS_M/MP0 pin to the EEPROM's CS pin. Note that self-boot can only be done by using the SS_M pin of the DSP.

    Also turn off the self-boot switch (make sure that the selfboot pin is low) while writing to the EEPROM. (during the EEPROM writing procedure)

    Feel free to reach out if you need further clarification.

    Regards,

    Harish