
             AmpBConf 1.03
             -------------
        for VSOS 3.57 or higher
       2020-08-13  VLSI Solution


AmpBConf is a software package mainly (but not solely) intended to be used
with the VLSI Solution's VS1005 Amplifier Board, available at
http://www.vlsi.fi/en/support/evaluationboards/vs1005ampboard.html

There is one program and one driver included in the package:


AMPBON.dl3 is a program that switches analog components of the AmpBoard on
in such a way as to minimize any startup pops or clicks. To run it
automatically, add the following lines to S:config.txt:
# Starts the audio in a controlled and silent way
RUN AMPBON

Or, you can run the program on the command line:
S:>ampbon


AMPBCONF.dl3 configures one GPIO pin to act as SD card regulator's active high
control. The default is 0x07 (GPIO0_7), which is the correct pin for
the AmpBoard. For instance for the VS1005 Breakout Board v2.1 the correct
pin is 0x23.

To load the driver from S:config.txt, add the following lines:
# Tell where SD card's power regulator pin is
AMPBCONF 0x07

Or run the following on the command line:
S:>driver +ampbconf 0x07
SD power pin 0x07



License:
This code may be used freely in any product containing one or more ICs
by VLSI Solution.


Disclaimer:
No guarantee is given for the usability of this code.


Version History:
2020-08-13 HH v1.03 - Now implements (a CPU friendly version) of ResetSdCard().
2019-04-16 HH v1.02 - AMPBCONF.dl3 can now take SD Card's power GPIO number
                      as a command line parameter. Created this document.
