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.

How is the PFD Mode setup?

mode PFD Setup
0
Posted

How is the PFD Mode setup?

0

• Set FPFD ([2Eh].7) to 1 to select the 3.58MHz/4 as PFD clock source, while set the FPFD to 0 to select the 32768Hz as PFD clock source. In the Green Mode and Sleep Mode, only the 32768Hz clock source is available. • Set the prescaler division ratio (PRES1~PRES0)=n by the formual fIN=PFD clock source / 2n • Set the PFDEN=1 to enable the PFD • Set the PFDD register with division value m (ranging from 0 ~255) ; the PFD output frequency formula is fPFD = FIN /(2 x (m+1)). After these steps are taken, the MUSIC pin will have the PFD output. If set FPDEN=0 will turn off the PFD, clear the PFDD contents to 0 automatically, and MUSIC pin output low. Please note that if FPDEN=0, i.e. the PFD is off, the PFDD contents cannot be modified.

Related Questions

What is your question?

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

Experts123