<?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>MCX MicrocontrollersのトピックRe: 32-Bit Parallel Receive on Rising Edge Pin (FRDM-MCXN947)</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/32-Bit-Parallel-Receive-on-Rising-Edge-Pin-FRDM-MCXN947/m-p/2388562#M5593</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/241501"&gt;@carlos_o&lt;/a&gt;&amp;nbsp;thank you for the reply!&lt;/P&gt;&lt;P&gt;I was able to get the Timer reading on DATA_VALID edge like I wanted but did not update the thread. My current code is attached.&lt;/P&gt;&lt;P&gt;The problem I am facing now is getting the FlexIO to keep up with other devices. In my current setup I am basically sampling DATA_VALID and at higher speeds, the Shifter can get Overrun. My thinking is that my design requires a shared clock between the MCX &amp;amp; host device that would be sending the 32-bit data. I can use a pin within the 32-bit data bus to be this signal so I do not need to breakup the FlexIO pins. Any input on this idea would be welcome!&lt;BR /&gt;&lt;BR /&gt;To answer your previous questions:&lt;/P&gt;&lt;P&gt;1. The registers are populating as intended at lower speeds. On every DATA_VALID falling edge, the SHIFTBUF stores data from the 32 Pins and the EDMA transfers to my Ping-Pong buffer via a Scatter-Gather method.&lt;/P&gt;&lt;P&gt;2. I am simulating input through an Analog Discovery 2, since that only has 16 data pins I am just writing the upper values of the 32-bits, simulating a clock on the DATA_VALID pin, and tying the unused pins down. Test data is matching correctly at low speeds.&lt;/P&gt;&lt;P&gt;3. I am using the FRDM-MCXN947&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jun 2026 17:54:16 GMT</pubDate>
    <dc:creator>Flexin_On_The_IO</dc:creator>
    <dc:date>2026-06-30T17:54:16Z</dc:date>
    <item>
      <title>32-Bit Parallel Receive on Rising Edge Pin (FRDM-MCXN947)</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/32-Bit-Parallel-Receive-on-Rising-Edge-Pin-FRDM-MCXN947/m-p/2387811#M5586</link>
      <description>&lt;P&gt;I am currently trying to configure a 32-bit parallel Shifter to receive data from an external device with one of the pins (FLEX_D4/DATA_VALID) being used as a signal to Shift in the data.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The progress I have made has allowed me to read in the 32-bit data when DATA_VALID has triggered and move the data into an eDMA Ping-Pong buffer. I am currently testing through Printf statements of reading the buffer data to a console and if the Shifter has any errors (usually indicating Overrun according to the datasheet) they will print to the console as well.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I believe my main issue is with the TimerConfig as it is triggering the Shifter to read too many times on one rising edge of DATA_VALID but I have not found a configuration that allows me to read only once while actually moving the correct data.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Console Output:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reading Buffer A: 0x3fffefff&lt;BR /&gt;Shifter Error Code: 0x8&lt;BR /&gt;Shifter Status: 0x0&lt;BR /&gt;SHIFTSDEN: 0x8&lt;BR /&gt;DMA CSR: 0x0&lt;BR /&gt;DMA Error: 0x0&lt;BR /&gt;TCD BITER: 0x2 CSR: 0x12&lt;BR /&gt;CH_MUX: 0x40&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Reading Buffer B: 0x3fffefff&lt;BR /&gt;Shifter Error Code: 0x8&lt;BR /&gt;Shifter Status: 0x0&lt;BR /&gt;SHIFTSDEN: 0x8&lt;BR /&gt;DMA CSR: 0x0&lt;BR /&gt;DMA Error: 0x0&lt;BR /&gt;TCD BITER: 0x2 CSR: 0x12&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My FLEX_IO setup is attached.&amp;nbsp;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2026 14:46:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/32-Bit-Parallel-Receive-on-Rising-Edge-Pin-FRDM-MCXN947/m-p/2387811#M5586</guid>
      <dc:creator>Flexin_On_The_IO</dc:creator>
      <dc:date>2026-06-29T14:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: 32-Bit Parallel Receive on Rising Edge Pin (FRDM-MCXN947)</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/32-Bit-Parallel-Receive-on-Rising-Edge-Pin-FRDM-MCXN947/m-p/2387820#M5587</link>
      <description>&lt;P&gt;Update: I was able to deduce that "&lt;SPAN&gt;kFLEXIO_TimerDisableOnTriggerFallingEdge&lt;/SPAN&gt;" was keeping my CPU in the callback.&lt;BR /&gt;&lt;BR /&gt;I believe I want to disable after a Timer Compare but with this option SHIFTBUF only reports a value of 0x0 but with no SHIFTERR flag.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2026 15:33:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/32-Bit-Parallel-Receive-on-Rising-Edge-Pin-FRDM-MCXN947/m-p/2387820#M5587</guid>
      <dc:creator>Flexin_On_The_IO</dc:creator>
      <dc:date>2026-06-29T15:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: 32-Bit Parallel Receive on Rising Edge Pin (FRDM-MCXN947)</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/32-Bit-Parallel-Receive-on-Rising-Edge-Pin-FRDM-MCXN947/m-p/2388551#M5592</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/264226"&gt;@Flexin_On_The_IO&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your post!&lt;/P&gt;
&lt;P&gt;Could you please share the current behavior you see in your register?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Which test data are you trying to receive and what you currently get?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please share which MCXN are you using?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it a custom board? if not, please specify the board you are using&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2026 17:37:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/32-Bit-Parallel-Receive-on-Rising-Edge-Pin-FRDM-MCXN947/m-p/2388551#M5592</guid>
      <dc:creator>carlos_o</dc:creator>
      <dc:date>2026-06-30T17:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: 32-Bit Parallel Receive on Rising Edge Pin (FRDM-MCXN947)</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/32-Bit-Parallel-Receive-on-Rising-Edge-Pin-FRDM-MCXN947/m-p/2388562#M5593</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/241501"&gt;@carlos_o&lt;/a&gt;&amp;nbsp;thank you for the reply!&lt;/P&gt;&lt;P&gt;I was able to get the Timer reading on DATA_VALID edge like I wanted but did not update the thread. My current code is attached.&lt;/P&gt;&lt;P&gt;The problem I am facing now is getting the FlexIO to keep up with other devices. In my current setup I am basically sampling DATA_VALID and at higher speeds, the Shifter can get Overrun. My thinking is that my design requires a shared clock between the MCX &amp;amp; host device that would be sending the 32-bit data. I can use a pin within the 32-bit data bus to be this signal so I do not need to breakup the FlexIO pins. Any input on this idea would be welcome!&lt;BR /&gt;&lt;BR /&gt;To answer your previous questions:&lt;/P&gt;&lt;P&gt;1. The registers are populating as intended at lower speeds. On every DATA_VALID falling edge, the SHIFTBUF stores data from the 32 Pins and the EDMA transfers to my Ping-Pong buffer via a Scatter-Gather method.&lt;/P&gt;&lt;P&gt;2. I am simulating input through an Analog Discovery 2, since that only has 16 data pins I am just writing the upper values of the 32-bits, simulating a clock on the DATA_VALID pin, and tying the unused pins down. Test data is matching correctly at low speeds.&lt;/P&gt;&lt;P&gt;3. I am using the FRDM-MCXN947&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2026 17:54:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/32-Bit-Parallel-Receive-on-Rising-Edge-Pin-FRDM-MCXN947/m-p/2388562#M5593</guid>
      <dc:creator>Flexin_On_The_IO</dc:creator>
      <dc:date>2026-06-30T17:54:16Z</dc:date>
    </item>
  </channel>
</rss>

