Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FPGA bug list #63

Open
msalinoh opened this issue Apr 16, 2024 · 1 comment
Open

FPGA bug list #63

msalinoh opened this issue Apr 16, 2024 · 1 comment

Comments

@msalinoh
Copy link
Member

These 2 FPGA bugs are currently accounted for in the pi software, but posting here so they are documented (and eventually resolved).

  • first byte of audio FIFO buffer needs to be flushed on reset.
  • first audio config write CAM command does not get applied to the ADC.
@MattCummings0517
Copy link
Collaborator

For the audio side, I'm not sure we can avoid the first byte flushing problem, this may be more of how the SPI RX buffer on the Pi side works. There is always exactly one garbage byte at the beginning. Since the data comes across as the 3 16-bit channels interleaved, this one byte wreaks havoc in the data ordering. If it were only one channel, this would not be an issue.

For the ADC, I believe the issue is almost the same (FPGA talks to ADC via a SPI link as well - this interface is bridge to the Pi by the CAM protocol) . But in this case, it would be possible for the FPGA to proactively establish the SPI connection by priming it with a dummy load in advance of the first CAM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants