HT66FV1x0 Integrated Audio Amplifier Application Guideline
AN0486EN V1.10
15 / 16
June 8, 2021
{
GCC_CLRWDT();
GCC_DELAY(10);
if(PLAD > 0x8000)
{
PLAD--;
_pladl = PLAD;
_pladh = PLAD >>8;
}
else
{
PLAD++;
_pladl = PLAD;
_pladh = PLAD >>8;
}
}
_usvc = 0x80;
// v
olume=
000_0000
while(PLAD)
// decrease PLADH/PLAD from 8000H to 0000H
{
GCC_CLRWDT();
GCC_DELAY(10);
PLAD-
=1;
_pladl = PLAD;
_pladh = PLAD >>8;
}
_usvc = 0x00;
// disable speaker output
_daen = 0;
// disable 16-bit D/A converter
}
(11)
Power Off Sequence settings using V3 C language
RAMP_DOWN();
SPI_OFF();
(12)
SPI Off settings using V3 C language
void SPI_OFF(void)
{
_spiaen = 0x00;
// clear SPIAEN
_spiac1 = 0x00;
// clear SAMLS, SACSEN
_pcs1 = 0x00;
// disable SPI pin
_pbs0 = _pbs0 & 0xFC;
// disable VDDIO
}
Conclusion
By using this HT66FV1x0 series integrated audio power amplifier functional introduction, users should
have a better understanding of the Holtek 8-bit MCU integrated power amplifier function application.
Versions and Modification Information
Date
Author
Version
Modification
2021.3.12
李玉梅
V1.10
Solve the problem of insufficient pop noise processing
2018.4.30
藍愛娣
V1.00
First version