VS1000D low supply voltage detection.
Posted: Wed 2024-09-04 8:01
Hi,
I'm using the VS1000's SCISTF_REGU_POWERLOW flag to detect a low battery condition. When asserted, our device flashes the LEDs that illuminate it during normal operation and then shuts down. This works really well but the voltage threshold is a bit too low. According to the VS1000 manual, the flag is asserted when the AVDD regulator falls out of regulation. To create our code, I started with the VS1000AudioModule example posted on the VLSI website and modified it to do what was required. There are quite a number locations that set voltages for the VS1000's 3 regulators, all along the lines of:
voltages[voltIoPlayer] = 30;
PowerSetVoltages(&voltages[voltCorePlayer]);
I've yet to modify one of those calls to successfully change the low voltage detection threshold for SCISTF_REGU_POWERLOW. Since we're using serial FLASH, it seems logical that one of the voltage settings related to the SPIPlayer module would be the one to change but altering the value in that module for "voltages[voltAnaPlayer] = 0; /*2.4V*/" to something higher doesn't seem to make any difference with the low voltage flag's operating point. Could you please let me know which voltage regulator call to change?
Thank you,
Ed
I'm using the VS1000's SCISTF_REGU_POWERLOW flag to detect a low battery condition. When asserted, our device flashes the LEDs that illuminate it during normal operation and then shuts down. This works really well but the voltage threshold is a bit too low. According to the VS1000 manual, the flag is asserted when the AVDD regulator falls out of regulation. To create our code, I started with the VS1000AudioModule example posted on the VLSI website and modified it to do what was required. There are quite a number locations that set voltages for the VS1000's 3 regulators, all along the lines of:
voltages[voltIoPlayer] = 30;
PowerSetVoltages(&voltages[voltCorePlayer]);
I've yet to modify one of those calls to successfully change the low voltage detection threshold for SCISTF_REGU_POWERLOW. Since we're using serial FLASH, it seems logical that one of the voltage settings related to the SPIPlayer module would be the one to change but altering the value in that module for "voltages[voltAnaPlayer] = 0; /*2.4V*/" to something higher doesn't seem to make any difference with the low voltage flag's operating point. Could you please let me know which voltage regulator call to change?
Thank you,
Ed