<?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のトピックHow  IMX6Q  MediaLB module handle the data?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-IMX6Q-MediaLB-module-handle-the-data/m-p/291514#M35411</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'm developing MediaLB driver on IMX6Q SABRE for &lt;/P&gt;&lt;P&gt;Automotive Infotainment. And I'm confused with the datasheet. In &lt;/P&gt;&lt;P&gt;the Chapter 43, We talked about how to initialize the registers &lt;/P&gt;&lt;P&gt;and how to handle the interrupts, But I did not see how we handle &lt;/P&gt;&lt;P&gt;the data. We have ring buffer in the chip as Table 43-9 &lt;/P&gt;&lt;P&gt;Synchronous CDT Entry Format on Page 3765 in &lt;/P&gt;&lt;P&gt;IMX6DQRM.pdf. I do not know how RPTR and WPTR grow. Even &lt;/P&gt;&lt;P&gt;I cann't find the node size of ring buffer. So I cann't handle the &lt;/P&gt;&lt;P&gt;data in buffer correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; On Page 3807, 43.6.28 AHB Control Register &lt;/P&gt;&lt;P&gt;(MLB150_ACTL), There is a bit named DMA_MODE. It was &lt;/P&gt;&lt;P&gt;described as &lt;/P&gt;&lt;P&gt;DMA Mode:&lt;/P&gt;&lt;P&gt;0 DMA Mode 0,&lt;/P&gt;&lt;P&gt;1 DMA Mode 1&lt;/P&gt;&lt;P&gt;.How mode 0 and mode 1 works?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The third question is whether both rx and tx channel have ring &lt;/P&gt;&lt;P&gt;buffer.Whether each channel have a ping buffer and a pong buffer. &lt;/P&gt;&lt;P&gt;What's the relationship between ping pong buffer described in &lt;/P&gt;&lt;P&gt;ADT and ring buffer described in CDT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regard,&lt;/P&gt;&lt;P&gt;Hao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jan 2014 12:16:23 GMT</pubDate>
    <dc:creator>chenghao</dc:creator>
    <dc:date>2014-01-08T12:16:23Z</dc:date>
    <item>
      <title>How  IMX6Q  MediaLB module handle the data?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-IMX6Q-MediaLB-module-handle-the-data/m-p/291514#M35411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'm developing MediaLB driver on IMX6Q SABRE for &lt;/P&gt;&lt;P&gt;Automotive Infotainment. And I'm confused with the datasheet. In &lt;/P&gt;&lt;P&gt;the Chapter 43, We talked about how to initialize the registers &lt;/P&gt;&lt;P&gt;and how to handle the interrupts, But I did not see how we handle &lt;/P&gt;&lt;P&gt;the data. We have ring buffer in the chip as Table 43-9 &lt;/P&gt;&lt;P&gt;Synchronous CDT Entry Format on Page 3765 in &lt;/P&gt;&lt;P&gt;IMX6DQRM.pdf. I do not know how RPTR and WPTR grow. Even &lt;/P&gt;&lt;P&gt;I cann't find the node size of ring buffer. So I cann't handle the &lt;/P&gt;&lt;P&gt;data in buffer correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; On Page 3807, 43.6.28 AHB Control Register &lt;/P&gt;&lt;P&gt;(MLB150_ACTL), There is a bit named DMA_MODE. It was &lt;/P&gt;&lt;P&gt;described as &lt;/P&gt;&lt;P&gt;DMA Mode:&lt;/P&gt;&lt;P&gt;0 DMA Mode 0,&lt;/P&gt;&lt;P&gt;1 DMA Mode 1&lt;/P&gt;&lt;P&gt;.How mode 0 and mode 1 works?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The third question is whether both rx and tx channel have ring &lt;/P&gt;&lt;P&gt;buffer.Whether each channel have a ping buffer and a pong buffer. &lt;/P&gt;&lt;P&gt;What's the relationship between ping pong buffer described in &lt;/P&gt;&lt;P&gt;ADT and ring buffer described in CDT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regard,&lt;/P&gt;&lt;P&gt;Hao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 12:16:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-IMX6Q-MediaLB-module-handle-the-data/m-p/291514#M35411</guid>
      <dc:creator>chenghao</dc:creator>
      <dc:date>2014-01-08T12:16:23Z</dc:date>
    </item>
  </channel>
</rss>

