Other Parts Discussed in Thread: TIDEP-0077, PCM1864, TIDEP-0099, TIDEP-0088

This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi There,
There is a TI design for this application: http://www.ti.com/tool/TIDEP-0077. Here is the design guide (TIDUCY1C.PDF).The source code for the audio-preprocessing is in the C55xx CSL Low Power 03.08.00. You can download it from: SPRC133 Driver or library | TI.com. The demo code is at c55_csl_3.08.01\demos\audio-preprocessing.
Best regards,
Ming
Hi Bindu,
In order to make CSL 03.08.01 work, you will need to install all the dependencies at C:\ti folder:
Release 3.08.01 Dependencies
========================
DSP/BIOS 5.42.00.07 and DSP/BIOS 5.42.02.10
CCS 7.3 or later
CGT for C5500 4.4.1
XDCTools 3.24.05.48
XDAIS 7.24.00.04
AERLIB for C55x CPU Rev 3.3 17.00.00.00
VOLIB for C55x CPU Rev 3.3 2.01.00.01
Best regards,
Ming
Hi Hima,
CGT for C5500 4.4.1 (software-dl.ti.com/.../download_archive.htm
XDCTools 3.24.05.48 (software-dl.ti.com/.../index_FDS.html)
VOLIB for C55x CPU Rev 3.3 2.01.00.01 (software-dl.ti.com/.../index_FDS.html)
Best regards,
Ming
Hi Ming,
Thankyou for your inputs.
The file is not found from the given XDC Tools link. I could download and install the remaining two.
My current ti folder has
Now, the build is giving syntax error. But really those are not are syntax errors.
Please suggest me to clear the above.
Regards,
Hima bindu
Hi Hima,
I think you still missing:
XDCTools 3.24.05.48 (software-dl.ti.com/.../index_FDS.html)
Best regards,
Ming
Hi Hima,
First of all, you installed the incorrect XDC tools version. It should be XDCTools 3.24.05.48, while you have installed 3.62.00.08.
Secondly, can you make sure that you get the same properties for your project?
Best regards,
Ming
Hi Ming,
Now I installed XDC 3.24.05.48 and ensured the project properties also.
Still facing the same issue.
it seems like some headers are being accessed from C:\ti\ccs1210\ccs\tools\compiler\ti-cgt-armllvm_2.1.2.LTS. But I could not find it in the property includes.
Is it really required or we need to remove?
Regards,
Hima Bindu
Hi Hima,
I was able to build the BF_rt_bios CCS project with the CCS 10.40.00 from C55xx_CSL 03.08.00 successfully. There are a few adjustments I have to made:
1. The DSP/BIOS version should be 5.42.00.07
2. Those library paths have to be adjusted:
Best regards,
Ming
Hi Ming,
After the above change, the following are the errors.
1. errors in .cmd file. Memory allocation may need to be changed
2. Other errors are related to un resolved symbols in bios.a55L
Please help me to clear the above.
Thanks,
Hima Bindu.
Hi Hima,
Something is wrong with your CCS project. Are you using the CSL 03.08.01?
As you can see, the CMD file used in the BF_rt_bios is the VC5505_I2S.cmd:
and the DSP/BIOS generated CMD file - BF_rt_bios_cfg.cmd:
I do not know how come your CCS project is using the C5517.cmd.
Best regards,
Ming
Hi Ming,
Thank you,
The program build was successful when I mapped VC5505_I2S.cmd file as the linker command file.
but can we load and test the bf with TMDSEVM5517 evaluation board because the target device is C5517.
Thanks,
Hima Bindu
Hi Hima,
Yes, you can run the built binary on C5517 EVM, but you will need the extra hardware setup from the TIDEP-0077 (TIDEP-0077 reference design | TI.com) to see the effectiveness of the pre-audio processing of this example.
Best regard,
Ming
Hi Hima,
I am glad it finally worked out for you. Unfortunately, I do not have any C5517 EVM nor the linear microphone array at hand.
Please order your own C5517 EVM from: TMDSEVM5517 Evaluation board | TI.com
and the linear microphone array (LMB) from: TIDA-01470 reference design | TI.com.
Best regards,
Ming
Hi MIng,
My aim is to work on CMB+C5517 EVM.
I have CMB card and did basic POC with 280049 launch pad.
When I'm trying to order C5517 EVM, it is not being taken and saying that the shipping to India is not possible.
If I start making the board with EVM reference, it will take 2 months to get the HW, So I need to get the EVM to complete my POC quickly.
Kindly suggest me on how to get the C5517 EVM to India.
Thanks,
Hima Bindu.
Hello Hima,
Unfortunately our product teams are not able to address any export related issues with shipments to countries. I am not certain why shipment to India would not be allowed but to resolve that issue, you will need to work with our Customer Support Center: https://support.ti.com/csm/
Best Regards,
Ralph Jacobi
Hi Jacobi,
Thank you for your feedback.
Please find attached screenshot regarding the communication with support team.
can you please suggest me further.
Regards,
Hima Bindu
Hello Hima,
I will make a couple inquiries if there is anything else I can provide, but chances are the feedback you received is a final answer on the topic. Neither Ming nor I have any control over export policies.
Best Regards,
Ralph Jacobi
Hello Hima,
I have not been able to get any further information regarding this. I don't anticipate I will at this point, but if I happen to do so, I will post here it.
Sorry that we are unable to help you further regarding this issue, but those of us who help support via E2E have no control over TI's export control policies with these EVMs.
Best Regards,
Ralph Jacobi
Hi Jacobi,
Thanks for your efforts and effort.
I could order it through Mouser. I might receive it in couple of days. Hope I will be able to do my POC.
Thanks,
Hima Bindu
Hi Ming,
I could manage to get the eval board. I'm yet to start the testing.
I was going through the bf_rt_bios for understanding the microphone data reading from PCM1864 through I2S and DMA.
I noticed that U1->DOUT is connected to I2S2 and U2->DOUT is connected to I2S0.
I2S2 left and right receive buffers are read through DMA CH6 AND CH7 respectively.
I2S0 left and right receive buffers are read through DMA CH0 and CH1 respectively.
Pls let me know whether my understanding is correct or not.
and pls confirm whether mic1 to mic4 outputs are received in DMA CH6 and 7? and mic5 to mic8 in DMA CH0 and CH1?
I need all 8 microphones data to process further in my application.
Thanks,
Hima Bindu.
Hi Hima,
The TIDEP-0077 (TIDEP-0077 reference design | TI.com) only supports up to 4 microphones with the LMB due to the limited computation power of C5517. Even with the CMB (used by TIDEP-0088 and TIDEP-0099), it has only 7 microphones. The 8th one (in the center) is for calibration purpose. It cannot be used for beam-forming.
Best regards,
Ming
Hi Ming,
ok, I can work on my application with 4 microphones as well.
But there is a provision to select at least 6 microphones for this purpose.
what are the 6 microphones in CMB? how the data is getting processed further?
Thanks,
Hima Bindu
Hi Hima,
The CMB has 8 physical microphones. 7 on the circle (mic 1 - 7) and 1 in the center (for calibration only). The 7 microphones on the circle are used for beamforming. The reference design TIDEP-0088 and TIDEP-0099 are designed to use all 7 physical microphones on the circle to perform the beamforming and other audio-preprocessing (ASNR, DRC etc.)
Best regards,
Ming
Hi Ming,
Can you please guide me on testing as per the attached application report.
C55x CSL Audio Pre-processing-spracn7.pdf
I just wanted to understand the processing as per the following:
Can you please guide me on this.
Regards,
Hima Bindu
Hi Hima,
Sorry for the confusion. When I mentioned "The TIDEP-0077 (TIDEP-0077 reference design | TI.com) only supports up to 4 microphones with the LMB due to the limited computation power of C5517", I was referring the Echo Cancellation performance number. Since you are interested only on the BF, ASNR and DRC, the C5517 is capable to process up to six channels. The issue is with the physical design of the CMB. The BF algorithm requires the microphones to be arranged in certain geometric shape, such as linear, circle, cross or square. As you can see the CMB can only be used as linear (2 mics only), or circle (7 mics). To use only 6 mics out of the 7 mics on the circle is only for demonstration purpose, because they are not evenly distributed on the circle. The performance numbers are valid though. LMB on the other hand, can be used for 2 mics or 4 mics linear cases.
If you need 6 mics on the circle, then you have to design your own microphone array board.
Best regards,
Ming
Hi Ming,
We are in the process of designing our own board with 6 or 8 microphones in uniform circular form. I need to finalize the schematic. But The PCM devices interface with the processors remains the same as the current CMB.
That's the reason I want to understand the I2S channels to DMA relation. Once the microphone sequence and data are clear, then I can customize the inputs to the algorithms and understand the performance. So I requested your confirmation on the following.
I2S2 left and right receive buffers are read through DMA CH6 AND CH7 respectively.
I2S0 left and right receive buffers are read through DMA CH0 and CH1 respectively.
whether mic1 to mic4 outputs are received in DMA CH6 and 7? and mic5 to mic8 in DMA CH0 and CH1?
Thanks,
Hima Bindu.
Hi Hima,
You are correct.
If you look at the AudioCodec_DMA.c:
#define I2S_INSTANCE ( I2S_INSTANCE2 )
#define DMA_CHAN_RX_L ( CSL_DMA_CHAN6 )
#define DMA_CHAN_RX_R ( CSL_DMA_CHAN7 )
#ifdef INSTANCE3_I2S
#define I2S_INSTANCE_2 ( I2S_INSTANCE3 )
#define DMA_CHAN_RX_L2 ( CSL_DMA_CHAN8 )
#define DMA_CHAN_RX_R2 ( CSL_DMA_CHAN9 )
#endif
#ifdef INSTANCE0_I2S
#define I2S_INSTANCE_3 ( I2S_INSTANCE0 )
#define DMA_CHAN_RX_L3 ( CSL_DMA_CHAN0 )
#define DMA_CHAN_RX_R3 ( CSL_DMA_CHAN1 )
#endif
It describes the DMA channel allocation for the I2S instances.
Since C5517 can only support 3 I2S instances at the same time, so the 6 is the maximum channel number it can support.
I2S2 for mic1 and 2, I2S3 for mic3 and 4, I2S0 for mic5 and 6.
See details in bf_init() in bf_asnr_mss_vau.c:
// i2sDmaReadBufLeft (I2S2 left) - mic1 */
// i2sDmaReadBufRight (I2S2 right) - mic2 */
// i2sDmaReadBufLeft2 (I2S3 left) - mic4 */
// i2sDmaReadBufRight2 (I2S3 right) - mic3 */
// i2sDmaReadBufLeft3 (I2S0 left) - mic5 */
// i2sDmaReadBufRight3 (I2S0 right) - mic6 */
Best regards,
Ming
Hi Ming,
Thank you very much for your detailed explanation.
If I see the HW interactions of PCM devices with 5517EVM, each PCM1864 is interface via I2S channel.
U1->DOUT is connected to I2S2 and U2->DOUT is connected to I2S0.
U1 is supposed to send the audio samples of microphones 1 to 4 on DOUT1, which have to be received on I2S2 left and right channels.
But, as you explained earlier, how Mic3 and mic4 are read through I2S3?
U1 samples all the 4 microphones data and has to send on DOUT right?
Kindly clear this confusion.
Thanks a lot.
Regards,
Hima Bindu
Hi Hima,
The Mic1-4 are connected to the U1 and there are two data output: DOUT1A (mic1-2, I2S2 left/right) and DOUT2A (mic3-4, I2S3 left/right).
The Mic5-8 are connected to the U2 and there are two data output: DOUT1A (mic5-6, I2S0 left/right) and DOUT2A (mic7-8, NC).
Best regards,
Ming
Hi Ming,
Thank you so much for your detailed clarification.
I need to connect DOUT2A on I2S3 in addition to the connections mic1&2 and mic5&6 signals mentioned in the spracn7.pdf. I will add this to my connection diagram.
I started working on the EVM. I tried to do target configuration and then to load .out file.
when I open the .ccxml file, I could see the following instead of test connection.
I need your guidance to resolve this issue.
I would like proceed further with debugging the intermediate signals for bf, mss and asnr processes.
Kindly help to proceed further.
Thanks,
Hima Bindu.
Hi Ming,
Thank you for the update. I could download the file and can see the processor selection.
But the connection with board is not established.
I hope the XDS100V2 drivers may need to be manually installed or any jumper settings on EVM is mandatory.
Please confirm.
Thanks,
Hima Bindu
HI Ming,
I tried xds100 serial running from cmd prompt, but it displayed the following.
Thanks,
Hima Bindu