We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cec83a3 commit 223e299Copy full SHA for 223e299
src/machine/machine_nrf52xxx.go
@@ -89,8 +89,8 @@ func (a ADC) Configure(config ADCConfig) {
89
// TODO: return an error
90
}
91
92
- // Source resistance, according to table 89 on page 364 of the nrf52832 datasheet.
93
- // https://infocenter.nordicsemi.com/pdf/nRF52832_PS_v1.4.pdf
+ // Source resistance, according to table 41 on page 676 of the nrf52832 datasheet.
+ // https://docs-be.nordicsemi.com/bundle/ps_nrf52840/attach/nRF52840_PS_v1.11.pdf?_LANG=enus
94
if config.SampleTime <= 3 { // <= 10kΩ
95
configVal |= nrf.SAADC_CH_CONFIG_TACQ_3us << nrf.SAADC_CH_CONFIG_TACQ_Pos
96
} else if config.SampleTime <= 5 { // <= 40kΩ
0 commit comments