Setting up Speaker through the headphone jack on nRF5340 Audio DK

Hey, I'm pretty new to Nordic Development. I am working on nRF5340 Audio DK development board right now and I was trying to create a bluetooth speaker kinda setup using the development board. I'm writing all the code right from scratch and I have already completed the part of connecting the development board to my mobile device via bluetooth. I want to be able to stream audio data from my mobile to the speaker which is connected to the Headphone Jack provided in the audio dk. As far as I've read (please correct me if I'm wrong), the builtin headphone jack is connected to the Cirrus Logic DSP provided in the board. I couldn't find much documentation for working with the DSP and also the LC3 codec provided. Pease guide me through the procedure of setting up the speaker connected to headphone jack so i can stream music over my mobile phone.

Parents
No Data
Reply
  • Hello,

    Thank you ace.johnny for sharing your experience.

    I recommend that you start with the nRF5340 Audio application to start with a working application. The application is complex because there are time sensitive components throughout.

    SohamGhugare said:
    I was facing issues with configuring the audio application provided with the nrf5340 audio dk,

    If you can share a bit more about which issues you faced, we'll be able to help you to figure out a solution.

    When you tried out the Audio application, did you follow the building and running instructions in the documentation?

    Best regards,

    Maria

Children
  • Yes, first of all, I was facing issues routing the audio out to the external headphones. But as ace.johnny suggested, those files served a bit of help in configuring stuff as I intended, yet I'm still facing issues in integrating my own I2S header file which I have already mentioned in a separate thread.

    The audio application seems to be the only example which serves as a functional resource in understanding how components like hw-codec, sw-codec, and other audio components are coupled together on the audio dk. There are no stripped down examples for most of the components which don't include any complex moving parts, for example, there are only 2 examples for I2S interfacing which aren't really helpful because none of them use the inbuilt codec or atleast the HW codec which is present on the audio development board.

    I would highly suggest adding a couple more useful examples for the audio development board rather than having a single complex example which is a nightmare for beginners to navigate through.

Related