XHRA-2HPA QSPI flash configuration
Posted: Wed Aug 24, 2016 10:46 am
Hi
In my last project an application MCU is already used to manage a DAC different from the ES9018 used in XHRA-2HPA Reference Platform.
I will use the XHRA-2HPA for USB audio connectivity and i need the less possible messing with its configuration. I came across all related documents of XHRA and it seems that the use of QSPI flash memory is indispensable yet in the case of no flash configuration. I suppose that XHRA processor does not includes any program memory and a basic configuration with the minimum "default values and events" is necessary to be flashed into QSPI external memory. The "default set of events" as is described in datasheet is more than enough for my needs as all basic info about the incoming audio stream are provided through GPIO_0 to GPIO_5 pins. With the offered signals the application MCU can configure each time the DAC with the correct values or to select PCM or DSD mode and so on. The only drawback using this method is that 6 ports of the MCU will be consumed in comparison to I2C bus option.
My question is: which hardware tool can be used to flash a blank QSPI memory with the "default" configuration file and which is this file? Is that offered for download in XHRA-2HPA page?
Do you think that all that refered in datasheet are correct and i will be able to use the XHRA-2HPA without problem with the default values? Or the correct is to write down a configuration file, to use the I2C bus for sending info to the application MCU, exactly like in the XHRA-2HPA reference platform? As i told you the application MCU is already configured to manage the DAC and the only that needed are some info from the XHRA-2HPA regarding the audio stream. Is PCM? If yes the sampling rate? Is DSD to switch on the DSD interface of DAC? Which is the rate DSD64 or DSD128?
Thank you
Fotis
In my last project an application MCU is already used to manage a DAC different from the ES9018 used in XHRA-2HPA Reference Platform.
I will use the XHRA-2HPA for USB audio connectivity and i need the less possible messing with its configuration. I came across all related documents of XHRA and it seems that the use of QSPI flash memory is indispensable yet in the case of no flash configuration. I suppose that XHRA processor does not includes any program memory and a basic configuration with the minimum "default values and events" is necessary to be flashed into QSPI external memory. The "default set of events" as is described in datasheet is more than enough for my needs as all basic info about the incoming audio stream are provided through GPIO_0 to GPIO_5 pins. With the offered signals the application MCU can configure each time the DAC with the correct values or to select PCM or DSD mode and so on. The only drawback using this method is that 6 ports of the MCU will be consumed in comparison to I2C bus option.
My question is: which hardware tool can be used to flash a blank QSPI memory with the "default" configuration file and which is this file? Is that offered for download in XHRA-2HPA page?
Do you think that all that refered in datasheet are correct and i will be able to use the XHRA-2HPA without problem with the default values? Or the correct is to write down a configuration file, to use the I2C bus for sending info to the application MCU, exactly like in the XHRA-2HPA reference platform? As i told you the application MCU is already configured to manage the DAC and the only that needed are some info from the XHRA-2HPA regarding the audio stream. Is PCM? If yes the sampling rate? Is DSD to switch on the DSD interface of DAC? Which is the rate DSD64 or DSD128?
Thank you
Fotis