Page 1 of 1

HW Reset

Posted: Tue 2018-08-07 0:21
by Charles
Hi!
The "vs1063-standalone-vside-dist" software is downloaded to eeprom. I send commands via UART, so what to play off the SD card.

If I do a HW Reset, usually do not load software from eeprom. Only when power switch off and on.

How can I make HW Reset?
How should HW reset the device (VS1163)?
How long will it take to reset? 1,8ms?
When multiple Resets arrive in one after the other?

Thanks,
Charles

Re: HW Reset

Posted: Wed 2018-08-08 13:45
by pasi
Hi,
Do you mean hardware reset using the xRESET pin?

Because the SPI boot pins are partially shared with uSD/SD, resetting vs1163 during an SD access may be preventing boot from the SPI EEPROM, because the uSD/SD card is still providing data. (A workaround would be have a separate regulator for SD, and control its enable from xRESET.)

What is the reason for you needing to use hardware reset?

Another solution could be to have implement UART command to reset the vs1163 only when it is "safe".

Re: HW Reset

Posted: Sun 2018-12-02 20:03
by Charles
Hi,
It works in a very noise environment, and sometime must to restart...

Yes XReset pin.

If I good understand after Hard Reset, the device restart in slave mode !?
After this which command I have to send (across UART (SCI mode)) to start to load the program from EEprom, and restart in standalone mode?

Best regards,
Charles

Re: HW Reset

Posted: Mon 2018-12-03 12:14
by pasi
Hi Charles,

After reset the vs10xx ROM checks GPIO0. If it sees GPIO0 high, it tries boot from SPI. However, reset doesn't do anything for uSD/SD card, there is no reset pin on the cards, so if the vs10xx was transferring something from the card, the card continues to send, which can/will make the SPI boot fail.

The only way to reset a uSD/SD card is to power it down. You probably have a separate regulator for the card. Your controller should power it down, bring xRESET low, wait a few ms for the uSD/SD card to lose power, then power up and bring xRESET high.

Re: HW Reset

Posted: Mon 2018-12-03 13:45
by Charles
Hi Pasi,
now, I can not power down the uSD card :(

Thank you!

Best regards,
Charles

Re: HW Reset

Posted: Mon 2018-12-03 17:11
by pasi
You can timeout if the standalone player doesn't respond and reset again. (Or load the standalone player firmware through SCI.)

Re: HW Reset

Posted: Tue 2018-12-04 21:05
by Charles
Hi,
do you have code for microcontroler (and or description), to load the firmware throught SCI?

Re: HW Reset

Posted: Wed 2018-12-05 11:48
by pasi
The .plg file contains the almost-C pseudo-code of the upload code. You only need to provide the SCI register write function.