I can not get the TDM Record and Playback example to work. I plug in my source and my output, but nothing plays. When I check the buffers, I don't see anything except an occasional FF. What am I doing wrong with this example?
已解决! 转到解答。
There was some kind of issue with the environment. I got it working in xpresso and then tried again in vs code and it worked. Not sure what was going on.
Hi @mrichardson23 ,
Thanks for your updated information.
So, it's working on your side now, right?
When you meet the issues, you also can try to clean the project and build project again if you suspect the environment.
If your question is solved, please help to mark the correct answer, just to close this case, thanks.
Any new issues, welcome to create the new case.
Best Regards,
Kerry
Thanks @kerryzhou - not sure what to mark as the solution since there is no real answer to this but I will mark as solved.
Hi @mrichardson23 ,
Which code you are using now? SDK code?
Please try the newest SDK:
\SDK_2_14_0_MIMXRT685-AUD-EVK\boards\mimxrt685audevk\driver_examples\i2s\dma_tdm_record_playback
Please also note the board configuration:
Hardware requirements
=====================
- Micro USB cable
- MIMXRT685-AUD-EVK board
- Personal Computer
- headphones with 3.5 mm stereo jack
- source of sound (line output to 3.5 mm stereo jack)
- Line in line
Board settings
==============
To make example work, please make sure board settings are applied:
JP43 1-2, R488 1-2
R479 1-2, R429 1-2
R480 1-2, R481 1-2
R510 1-2, R474 1-2
R482 1-2, R478 1-2
JP8 1-2, R491 1-2
R394 1-2, R395 1-2
Prepare the Demo
================
1. Connect headphones to J4 or J50 or J51 or J52.
2. Connect source of sound(from PC or Smart phone) to Audio Line-In connector (J56 or J55, J57).
3. Connect a micro USB cable between the PC host and the CMSIS DAP USB port (J5) on the board
4. Open a serial terminal with the following settings:
- 115200 baud rate
- 8 data bits
- No parity
- One stop bit
- No flow control
5. Download the program to the target board.
6. Launch the debugger in your IDE to begin running the demo.
Running the demo
if you still have issues, please kindly let me know.
Best Regards,
kerry