<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: SAI Constant Clocks</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/SAI-Constant-Clocks/m-p/1472292#M191369</link>
    <description>&lt;P&gt;We solved this. For anyone else experiencing this issue, you can fix the clocks by specifying a rate in alsa's asound.conf. When the device is initialized, it will use this fixed rate and the blck and fsclk remain active. This will only work if you can use fixed rates. An example of an alsa config with a softvol chain and fixed rates to keep the clocks alive:&lt;/P&gt;&lt;P&gt;pcm.player1 {&lt;BR /&gt;type softvol&lt;BR /&gt;slave.pcm "player1v"&lt;BR /&gt;control.name "p1.m"&lt;BR /&gt;control.card 0&lt;BR /&gt;resolution 2&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;pcm.player1v { #volume&lt;BR /&gt;type softvol&lt;BR /&gt;slave {&lt;BR /&gt;pcm "1out"&lt;BR /&gt;}&lt;BR /&gt;control {&lt;BR /&gt;name "p1.v"&lt;BR /&gt;card 0&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;pcm.1out {&lt;BR /&gt;type dmix&lt;BR /&gt;ipc_key 87882222&lt;BR /&gt;ipc_key_add_uid false&lt;BR /&gt;ipc_perm 0666&lt;BR /&gt;slave {&lt;BR /&gt;pcm "hw:SAI3"&lt;BR /&gt;rate 48000&lt;BR /&gt;period_size 128&lt;BR /&gt;buffer_size 2048&lt;BR /&gt;format S32_LE&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jun 2022 14:21:17 GMT</pubDate>
    <dc:creator>millark</dc:creator>
    <dc:date>2022-06-10T14:21:17Z</dc:date>
    <item>
      <title>SAI Constant Clocks</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SAI-Constant-Clocks/m-p/1470682#M191278</link>
      <description>&lt;P&gt;We have a product where we are using multiple SAI interfaces of the IMX8MNano and kernel 5.15.&lt;/P&gt;&lt;P&gt;We see an issue where by the mclk remains active at all times, but the bclk and fsclck are not active until data is received on the data line.&lt;/P&gt;&lt;P&gt;This causes a number of dacs to exhibit a small pop sound when the tx line data flow starts. Understandably as the mclk remains active, so does the dac but the other clocks are missing when data is initially presented to it.&lt;/P&gt;&lt;P&gt;We have been editing the fsl,sai.c files to try and stop this behavior in the relevant switch statements for data states, but this is also not working as it seems the registry bits are over written elsewhere.&lt;/P&gt;&lt;P&gt;Is there a known simple fix for this behavior to force all clocks to remain active for an SAI interface, regardless of the data flow?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 15:28:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SAI-Constant-Clocks/m-p/1470682#M191278</guid>
      <dc:creator>millark</dc:creator>
      <dc:date>2022-06-08T15:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAI Constant Clocks</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SAI-Constant-Clocks/m-p/1472292#M191369</link>
      <description>&lt;P&gt;We solved this. For anyone else experiencing this issue, you can fix the clocks by specifying a rate in alsa's asound.conf. When the device is initialized, it will use this fixed rate and the blck and fsclk remain active. This will only work if you can use fixed rates. An example of an alsa config with a softvol chain and fixed rates to keep the clocks alive:&lt;/P&gt;&lt;P&gt;pcm.player1 {&lt;BR /&gt;type softvol&lt;BR /&gt;slave.pcm "player1v"&lt;BR /&gt;control.name "p1.m"&lt;BR /&gt;control.card 0&lt;BR /&gt;resolution 2&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;pcm.player1v { #volume&lt;BR /&gt;type softvol&lt;BR /&gt;slave {&lt;BR /&gt;pcm "1out"&lt;BR /&gt;}&lt;BR /&gt;control {&lt;BR /&gt;name "p1.v"&lt;BR /&gt;card 0&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;pcm.1out {&lt;BR /&gt;type dmix&lt;BR /&gt;ipc_key 87882222&lt;BR /&gt;ipc_key_add_uid false&lt;BR /&gt;ipc_perm 0666&lt;BR /&gt;slave {&lt;BR /&gt;pcm "hw:SAI3"&lt;BR /&gt;rate 48000&lt;BR /&gt;period_size 128&lt;BR /&gt;buffer_size 2048&lt;BR /&gt;format S32_LE&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 14:21:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SAI-Constant-Clocks/m-p/1472292#M191369</guid>
      <dc:creator>millark</dc:creator>
      <dc:date>2022-06-10T14:21:17Z</dc:date>
    </item>
  </channel>
</rss>

