Feature #8
closed
Added by admin over 7 years ago.
Updated over 7 years ago.
Description
The one channel ADC on the v1 board is replaced by a four channel one on the v2 board.
Modify the implementation to support this
Files
- Status changed from New to In Progress
Written initial support based on data sheet and simulated. Not yet built into test core or tried on real hardware.
So far all four channels sampled, but only SIO input connected to core.
- Tracker changed from Bug to Feature
Now I have the board its clear this needs debugging.
Debugged and now working.
PBI and SIO audio will be mixed. For now I'm not feeding MIC_L and MIC_R anywhere - these will be connected to some sampler register. I guess D500 and D501 if the 'replay cartrige mode' is enabled.
Sigh, it definitely works but if I read say channel 1 - I still receive input from the other channels
Pretty sure this is down to floating inputs. Since there is no driver and low capacitance the input picks up the previous sample stored in the ADC. I checked this out by trying two approaches:
i) Sample a single channel and checking for no crosstalk
ii) Grounding the floating inputs and checking nothing sampled
I also tried out deselecting ADC between frames in case that helped. It didn't, just decreased the same rate a little!
So I guess we should have some more passive components here. On the other hand I'm kind of attached to SIO noise down to cable interference. If we fix this too well we may lose that!
- Status changed from In Progress to Closed
Closing since the core support is in place. Noise reduction and sampler connection may be raised as future feature requests.
Also available in: Atom
PDF