deadprogram
fa4ca63ff2
machine/spi: use interface to ensure uniformity for all machine implementations
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2023-10-17 13:41:32 +02:00
Pertti Erkkilä
806498f099
nRF52: set SPI TX/RX lengths even data is empty. Fixes #3868 ( #3877 )
...
machine/hrf: Set SPI TX/RX lengths even data is empty. Fixes #3868
2023-08-24 13:15:18 +02:00
Ayke van Laethem
f4c8c37b7b
nrf: add ADC oversampling support
...
This is a lot easier to support than on other chips, and results in
noticeably better output when set to a higher value.
2023-05-09 19:51:05 +02:00
Ayke van Laethem
868812717f
nrf: add sample time to ADC
...
This is important for inputs with a high input resistance. In those
cases, the sample time needs to be longer.
2023-05-09 19:51:05 +02:00
Ayke van Laethem
e82f595f37
nrf: add ability to set the reference voltage
...
The reference voltage can't be 3.3V, so we pick 3.0V as this was the
previous default.
2023-05-09 19:51:05 +02:00
Ayke van Laethem
e5af121553
nrf: refactor ADC code a little bit
...
* Initialize the ADC in Configure() (instead of in Get()).
* Do not set all channels to "not connected" - that's already the
reset value.
* Don't disable the ADC after use. It's not necessary to disable
(current consumption appears to remain the same whether enabled or
disabled).
2023-05-09 19:51:05 +02:00
Kenneth Bell
feadb9c85c
nrf: move nrf52 family code to correct file name
2023-04-04 09:36:42 +02:00