I am testing ADSP-BF533 EZ-KIT Lite and i have a question about AD1836 codec. In the design of ADSP-BF533 EZ-KIT Lite, only one AD1836 codec is connected with SPORT0 of ADSP-BF533. So could i connect more than one AD1836 codec with SPORT0 ? For example: i want to connect 4 or 8 AD1836 codect with SPORT0 of ADSP-BF533. If i could connect more one audio codect with SPOR0 (or SPORT1) please show me an example of the design and source code.
Hi,1) Can you explain about your application? why do you want to connect more than one codec in SPORT0?2) You can connect more than one codec. You can access only one codec at a time.Regards,Anand Selvaraj.
My application use one ADSP BF533 connects to 8 codec, over SPORT0 as figure below:
I need 8 codec because i need to process 8 audio flow at a same time. If i only connect one ADSP BF533 to one codec AD1836 codec as the ADSP-BF533 EZ-KIT Lite, i can only process audio for one input audio. And when i read the manual of BF533, i found that in TDM mode of SPORT, it can receive many audio flow (maximum 128), each audio flow will be transfer on a channel of TDM. In fact, my codec i am using is not AD1836. I am using CPC5750 and i have connect 8 codecs to BF533 on the SPORT0 and transmit audio at a same time. Please let me know if i am wrong about BF533
Hi Thanh,Sorry for the delay in response.Yes, It is correct. As per ADSP-BF533 Hrm, it is possible to use 128 channels in TDM mode. Please refer BF533 Hrm, SPORT->"Multichannel Operation" at page no: 553 at below link.www.analog.com/.../ADSP-BF533_hwr_rev3.6.pdfRegards,Anand Selvaraj.
Now i have a new issue with connect codec to ADSP-BF533 as below:
- I have 8 codecs connect to one ADSP-BF533, each codec will transfer data oin one channel of TDM mode. And my ADSP-BF533 need to config all 8 codec by SPI peripheral. But in www.analog.com/.../ADSP-BF533_hwr_rev3.6.pdf page 442, figure 10-5 SPI Flag Register, i see there are only 7 FLS bit corresponding with 7 SPI chip select pin. So how can i work with 8 codecs via SPI ?
Hi Thanh,Sorry for the delay in response.1) Are you going to enable all the codecs at a time or are you going to enable the codecs one by one using cs?2) Is it possible to do multiplexing CS pin to select the codec? 3) Can you try with using GPIO pins as CS pin?4) Please refer the below link:www.analog.com/.../introduction-to-spi-interface.htmlRegards,Anand Selvaraj.