- Resolution: 12bit (0 ~ 4096)
- SYSCLK: 80MHz
- Clock prescaler: 1
- Total clock cycle: 60usec
- Oversampling ratio: 32x (0 ~ (4096*32)/2^5=4096)
- Oversampling right shift: 5bit
Audio sampling frequency: 80Hz/1/32/60 = 41.7kHz
TMR6 counter period: 32 * 60 - 1 = 1919
[ ]
[ ]
[ ]
[ ]
[ ] [ ]
[ ] [ ]
[ ] [ ]
[*] 3.3V [ ]
[ ] 5V [ ]
[*] GND [ ]
[ ]
[ ] [ ]
[ ]
[ ] [ ]
[ ] [ ]
[*] PA4(DAC1 OUT1) [ ]
[ ] [ ]
[ ] [ ]
[*] PC0(ADC1 IN1) [ ]
Note: it requires an analog fiter for AC coupling etc -- refer to this page.