<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>External Stereo hardware codec with nrf5340 Audio DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90896/external-stereo-hardware-codec-with-nrf5340-audio-dk</link><description>Hello team, 
 
 I am trying to build an audio LE application where I require a stereo output and microphone input. As an initial part of the project, I am trying to connect an external stereo audio codec (da7212 from Renesas) with nrf5340 Audio DK. I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Aug 2022 11:44:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90896/external-stereo-hardware-codec-with-nrf5340-audio-dk" /><item><title>RE: External Stereo hardware codec with nrf5340 Audio DK</title><link>https://devzone.nordicsemi.com/thread/381554?ContentTypeID=1</link><pubDate>Mon, 15 Aug 2022 11:44:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81a30da5-2d0b-4e65-9702-85f6e2bac1c4</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello Adarsh,&lt;/p&gt;
&lt;p&gt;Those functions are defined in &lt;code&gt;modules/hal/cirrus-logic/common/regmap.c&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Assuming you are using VS Code with the nRF Connect extension you should also be able to select the function and click F12 to &amp;quot;Go to Definition&amp;quot;, or right click it with your mouse and select that from the context menu.&lt;/p&gt;
&lt;p&gt;If that does not work, you may need to build the project first. It may be also be a good idea to create an unmodified sample to have on the side for the ease of digging into the code.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External Stereo hardware codec with nrf5340 Audio DK</title><link>https://devzone.nordicsemi.com/thread/381473?ContentTypeID=1</link><pubDate>Mon, 15 Aug 2022 07:39:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f5def74-8545-4de3-bc4d-43928c5435fd</guid><dc:creator>Adarsh_1</dc:creator><description>&lt;p&gt;Hai Michal,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the clarification. Since there are no documentation which explains the API, can you help me figure out few things?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I cannot find information about the function &amp;quot;regmap_read&amp;quot; and &amp;quot;regmap_write&amp;quot;. These are called inside &amp;quot;cs47163_read_reg&amp;quot; and &amp;quot;cs47163_write_reg&amp;quot; in cs47163.c file. Which file contains the definition for these functions?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your time.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Adarsh&lt;/p&gt;
&lt;div id="gtx-trans" style="left:69px;position:absolute;top:206.333px;"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External Stereo hardware codec with nrf5340 Audio DK</title><link>https://devzone.nordicsemi.com/thread/381343?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2022 11:40:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d9cced4-d7fa-40b2-bba5-7c68cdff57af</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello Adarsh,&lt;/p&gt;
&lt;p&gt;I have contacted the developers and other than the things in that screenshot, they recommend you to look at the API in the &lt;code&gt;&lt;strong&gt;hw_codec.h&lt;/strong&gt;&lt;/code&gt; and make your own API implementation for the new codec.&lt;/p&gt;
&lt;p&gt;Remember to set &lt;code&gt;hw_codec_sel_out&lt;/code&gt; to &lt;code&gt;GPIO_OUTPUT_HIGH&lt;/code&gt; to make sure the external codec is selected&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think I have any more documentation to link to currently other than the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.2/nrf/applications/nrf5340_audio/README.html"&gt;nRF5340 Audio&lt;/a&gt; page which you have already looked at.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>