Commit Graph

9 Commits

Author SHA1 Message Date
de74905436 trying out polling ads131m08 sensor 2026-05-07 22:37:38 +02:00
799407c6be Trying to recover from spurious ADC resets. Not successful. TODO: implement polling method instead of interrupts with setting up of ADC on each poll. If it is too lengthy to execute, then will try only setting up on detection of resets. 2026-05-05 23:29:56 +02:00
3ae00bdddd Added backup ADC registers procedure. Fixed bug in the restore ADC registers procedure. Restore registers was added in previous commit. 2026-05-04 23:58:06 +02:00
a43256ac5e Fixed osr calculation. Added DC block. With OSR = 512, sps = 8k, however noise is higher with values swinging wildly 2026-05-04 00:45:29 +02:00
d69d0b5dfb Publishing directly to sensors from component (hub) loop. Appears to be aorund 4000sps. DC stable, but AC still fluctuating a lot. 20ms sample time. Will try loop sampling instead of ISR sampling next. 2026-05-03 00:06:23 +02:00
477f05a524 Decreased limit of frame size to 10 words to cater for static DRAM_ATTR frames 2026-05-02 16:47:41 +02:00
678312a27d Added spiframe with DMA_ATTR to enable DMA transfers. Much quicker now. However, now plaque with what appears to be noise / errors on the channels. Will revert to direct publishing from main loop to see if it makes a difference. 2026-05-02 16:31:14 +02:00
root
c100502519 fixed sensor.rm __init__.py; using binary semaphore in ISR 2026-05-01 15:46:00 +02:00
root
13bfb6676f adding to local git repo 2026-05-01 15:36:27 +02:00