Can ADAU145x self-boot from an external SPI Flash (not EEPROM)?
Hello,
I have a question about ADAU145x self-boot.
From a cost point of view, I want to use SPI NOR-Flash (not EEPROM).
Is it possible?
If only EEPROM can be used for ADAU145x, could you please explain a reason?
Is there any limitation by ADAU145x hardware architecture?
Best regards, TomY
Hello TomY,
I recently tested this part: MX25L4006EPI-12G, and it worked fine. It had the same command set so I had to change nothing. So I cannot say it works for all FLASH memory but it worked for this one and any similar product will most likely work fine.
Dave T
Helo, Dave
Thank you for your answer.
I'd like to know more below.
Can an user how to select Flash memory product by myself?
Is it possible to show a specification of the command set which ADAU145x request?
Is the Flash access command set of ADAU145x fixed in the self-boot like below?
Write Enable Instruction ->0x06?
Write Instruction ->0x02?
Read Instruction ->0x03?
Chip Erase Instruction ->0xC7?
Best regards, TomY
Hello TomY,
No, it is not fixed. When you select the EEPROM GUI on the Config page, right click and select the "Properties" selection you will see this dialog box:
In this box you can enter the commands that the part uses. There are commands that some parts have that others do not so we have stayed away from things like "page erase" that some parts have but others do not. All we use is the Chip erase and then writing using the write enable instruction followed by the writing instruction with data. We keep track of the page size so we do not attempt to write over a page boundary. The chip erase is used by SigmaStudio but not the part when it boots so therefore the chip erase cycle time is only for when you erase the EEPROM using SigmaStudio. It just waits that long before returning to do other things. The number of address bytes and the write speed are important to look at.
So looking at the EEOROM datasheet should give you a good idea if it is compatible. If it is possible to test them before you stuff hundreds of PCBs would be good to do.
For booting off of I2C parts, right now we cannot go above a 16 bit address (2-bytes). So for the 1Mbit memories that use a 17th bit for addressing is not possible for the DSP booting engine to use that bit. So this limits the size. For SPI you can use a 3-byte address.
Dave T
Hi, Dave
Thank you for your reply.
Could you please let me clarify the following question, again.
>Can an user how to select Flash memory product by myself?
>Is it possible to show a specification of the command set which ADAU145x request?
A importance point is that the Read Instruction which is supported ADAU145x of the self-boot process should be match, I think.
Therefore, if the Read Instruction is be 0x03, can any Serial Flash support for ADAU145x?
Best regerds, TomY
Hello TomY,
Just a quick note to let you know this is not forgotten. I have to obtain some more detailed information to prepare a response. I will respond as soon as I can.
Dave T
Hello, Dave
Thank you for your support.
I wait your response.
Best regards, TomY
Hello TomY,
Thank you for your patience.
The selfboot EEPROM/Flash memory must meet the following criteria:
It must be ready to accept a command without having to be programmed by another device or have registers written to for setting internal registers in the memory device. It must be ready shortly after power-up to be read from.
I2C:
It MUST support an address of 0x50.
It MUST have 16 bit addressing.
it MUST be able to support a slow read of less than 100kHz. This is only for the first 16 bytes, then it will read at a faster rate.
SPI:
It MUST support a read instruction of "3" . This is hard-coded into the part and cannot be changed for selfboot. It can be changed when using the SigmaStudio program to directly read a memory device during run-time but for selfboot it cannot be changed.
It MUST be able to operate with a slow clock speed of below 1MHz.
It MUST have a 2 or 3 byte address. The selfboot code will auto-detect if it is a two or three byte address during the read of the 16 byte header and adjust for the rest of the selfboot sequence. This is independent of whatever was entered into the "Properties" window of the EEPROM in SigmaStudio. That information is only used when SigmaStudio directly addresses the EEPROM, like when you program it through the DSP or read it through the DSP. But it is not used in the hard-coded program on the silicon. There is no way to change that.
Does this clarify and answer your questions?
Dave T
Hello, Dave
Thank you for your answer.
I know the specification for EEPROM is described in the SELF BOOT section of the datasheet.
Therefore, I understood that the same specification can be applied for the serial Flash, too.
If my understanding is not correct, please let me know.
Best regards, TomY
Yes. That is correct. Any non-volatile memory that operates at IOVDD and follows the protocols that David describes above will work.
Best regards,
Ken
Hello,
Is there any plan to add a description that flash memory is available on SigmaDSP to the data sheet ?
Thanks and Regards,
T.Tanaka
Please log in to reply.

