-
Notifications
You must be signed in to change notification settings - Fork 618
(DO NOT MERGE) [TDM] Fixes to check TDM operation #6969
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
Conversation
Switch to using Left Justified WS/FS/LRCLK
Because 8CH is used there will be 2 DMA buffers combined to produce final requested bytes So half the size of each buffer should be requested. Also, FIFO is reset upon each transfer completion to avoid stale bytes in the FIFO that may be copied into DMA buffer
Use of delayms/us will cause the CPU to busy wait, switch to using usleep APIs which will yield the CPU. This fixes TASH getting stuck as well every ~7s It was also observed that when the keepalive watchdog is disabled, the data can be constantly streamed with no sudden stoppage or hang
|
Thank you for your supporting But I am unhappy because I did not reply on the correct answer...
|
|
Please Look BLCK and MCLK during BitClock Error
|
|
I want to see you in the C/C , please let me know convenient time , Let me invite you soon |
|
please "We need to have a conference call with Indian developers. So, around 3 to 4 PM seems like a good time." |
|
No issues, 3pm/4pm Korea time? |
|
This PR contains several changes for debugging TDM operation
It is observed that when keepalive watchdog is disabled, the operation of TDM is smooth and does not hang. Maybe some change is needed to create the thread
Currently undergoing long run streaming testing to check for hangs
There are glitches that are observed at the LA analyzer, but do not happen on the board. It is observed that the LA occasionally skips a clock cycle, causing the data to mismatch with the board by 1 bit.
However this does not mean that the data is corrupted!
==============
There are several important steps to take note to ensure correct signal observation
Please update the TDM analyzer plugin @ https://github.com/bitswype/saleae_tdm_analyer/releases to latest
The following setting should be used:
Scope setting: 500MS / 1.8V+ <-- It is observed that 3.3V has higher chance of 1bit error at the scope, it does not affect the board data.
Analyzer setting:
