Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

The HT48F06E has an internal PFD, Programmable Frequency Divider, function which can drive external buzzer; how is it used?

0
Posted

The HT48F06E has an internal PFD, Programmable Frequency Divider, function which can drive external buzzer; how is it used?

0

Answer The buzzer pins BZ and /BZ are pin-shared with the I/O pins PB0 and PB1. If the pins are to be used with the internal PFD function to drive an external buzzer, then the two pins of the passive type buzzer should be connected to the BZ and /BZ pins. In the configuration options the Output Type PB0-PB1 option should be selected to choose the PFD BZ_BZB. The frequency setup by the Timer/Event Counter to generate the PFD frequency is the frequency for the external buzzer. When being used the Timer/Event Counter output should be enabled. When the PB0 is set to 1, then the buzzer will generate sounds, when cleared to 0, the buzzer will be off.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.