Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Doorknob
Level 4
Level 4
First solution authored 50 replies posted 25 replies posted

I previously asked about using a audio codec with PSoC4 and I was informed it does not support IS2.  I am very new to this codec a application. In my reading I found a user guide titled "Pioneer kit PSoC 5LP USB Audio".  In this guide it shows  this pioneer kit attached to a codec using I2S.  Does the PSoC5 support I2S or am I not understanding this right?  I also see an application were a PSOC4 interfaces to a codec using Wolfson WM8731 device I believe through what they call 2 or 3 wire MPU serial control interface.  Does anyone have any experience using such devices that that could share with me.  My desire is to use a  PSoC4 device to interface with a codec.  Basically I need two inputs, one for mic/PA and one for recorded audio data files that can be played into a 100w amp.

0 Likes
1 Solution
Ekta
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello @Doorknob 

PSoC 5LP supports UDBs (Universal Digital Blocks) that can be used to create the I2S component. This component is supported by both PSoC 5LP and PSoC 4. You can use the component to interface the codec with PSoC using I2S interface.

You can refer to the I2S Code example for PSoC 5LP at this link: https://www.cypress.com/documentation/code-examples/ce95330-inter-ic-sound-bus-i2s-psoc-35lp

For the CY8CKIT-046 (PSoC 4200L), we also have  code example that shows how to use I2S based audio-codec with PSoC 4200L device. I think you are probably referring to the same example which can be found at the the following link: https://www.cypress.com/documentation/development-kitsboards/cy8ckit-046-psoc-4-l-series-pioneer-kit in the set of CY8CKIT-046 Code examples.

You can also refer to the CY8CKIT-046 Kit schematic to see how the Audio-codec is interfaced with the PSoC 4 device: https://www.cypress.com/file/457906/download

Thanks and Regards

Ekta

View solution in original post

1 Reply
Ekta
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello @Doorknob 

PSoC 5LP supports UDBs (Universal Digital Blocks) that can be used to create the I2S component. This component is supported by both PSoC 5LP and PSoC 4. You can use the component to interface the codec with PSoC using I2S interface.

You can refer to the I2S Code example for PSoC 5LP at this link: https://www.cypress.com/documentation/code-examples/ce95330-inter-ic-sound-bus-i2s-psoc-35lp

For the CY8CKIT-046 (PSoC 4200L), we also have  code example that shows how to use I2S based audio-codec with PSoC 4200L device. I think you are probably referring to the same example which can be found at the the following link: https://www.cypress.com/documentation/development-kitsboards/cy8ckit-046-psoc-4-l-series-pioneer-kit in the set of CY8CKIT-046 Code examples.

You can also refer to the CY8CKIT-046 Kit schematic to see how the Audio-codec is interfaced with the PSoC 4 device: https://www.cypress.com/file/457906/download

Thanks and Regards

Ekta