Tool/software: TI-RTOS
Hi,
I am using RTOS-AM335X 03_02_00_05 with CCS v6.1.3
Digital mic used: ICS-43432
Objective: Connect the digital mic to iceV2AM335x via I2S communication.
What I have done so far:
1) Recreated the PDK project [ MCASP_DeviceLoopback_evmAM335x_armExampleProject ]
2) I added MCASP0 to iceV2AM335x with the pinmux tool, rebuild the library file, modified the CFG file: [ Board.Settings.boardName = "icev2AM335x" ]. Compile and run OK.
3) I connected the MCASP0 ACLKR, AFSR and AXR0 to logic analyzer, and see some signals (PICTURE1 below). Below are the terminal messages:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MCASP DEVICE Loopback test
==========================
EDMA driver initialization successful.
mcaspCreateChan for mcasp0 Rx Success
Initialization complete. priming about to begin
priming complete. rx ramp check to begin
Synch Found at Sample # 52, frame_no=0, ramp_rx_value = 1
Total 100 frames sent
Deleting Rx channel
Deleting Tx channel
UnBinding Mcasp
All tests have passed
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Q1) Is the PICTURE1 the expected result?
Q2) How do I modify from here (provided what I did so far is on the right track) to read signals from the external digital mic (the hardware is connected)? Are there any document/example that I can refer to?
Thank you.
YC
PICTURE1: