Attached is the sample code for Audio Talk through on EVAL-SC589-EZLITE for I2S mode of operation.
Attached is the sample code for Audio Talk through on EVAL-SC589-EZLITE for I2S mode of operation.
Hi Ksam,
The code attached in the thread doesn't use Device Drivers and Services.
You can first start with ADSP-SC58x Hardware reference manual and learn about SPORT, DAI,DMA and other peripherals and infrastructure. If you want to use Device Driver and Services based codes, please go through the CCES help menu and understand various Device Drivers APIs. It is absolutely essential to understand Device Driver's implementation
Yes, It should be possible to use UCOS 3 with the Device Drivers and services. I am not an expert in UCOS related stuff but I believe, you need to create a UCOS project. Then create few threads for various devices like ADC and DAC. Configure ADC, DAC and SC589's SPORT inside thread. Use few semaphores for consumer thread to wait till data is read from ADC by SPORT into ADC buffers (SC589's Memory) and perform the necessary filtering and write back to DAC buffers (SC589's Memory). Send these buffers to SPORT for playback through DAC.
Thanks,
Sachin
Hi Ksam,
The code attached in the thread doesn't use Device Drivers and Services.
You can first start with ADSP-SC58x Hardware reference manual and learn about SPORT, DAI,DMA and other peripherals and infrastructure. If you want to use Device Driver and Services based codes, please go through the CCES help menu and understand various Device Drivers APIs. It is absolutely essential to understand Device Driver's implementation
Yes, It should be possible to use UCOS 3 with the Device Drivers and services. I am not an expert in UCOS related stuff but I believe, you need to create a UCOS project. Then create few threads for various devices like ADC and DAC. Configure ADC, DAC and SC589's SPORT inside thread. Use few semaphores for consumer thread to wait till data is read from ADC by SPORT into ADC buffers (SC589's Memory) and perform the necessary filtering and write back to DAC buffers (SC589's Memory). Send these buffers to SPORT for playback through DAC.
Thanks,
Sachin