<?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>Model-Based Design Toolbox (MBDT)のトピックRe: [FlexIO] Flex your muscles with the latest MBDToolbox release</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/FlexIO-Flex-your-muscles-with-the-latest-MBDToolbox-release/m-p/1251712#M5898</link>
    <description>&lt;P&gt;Hi，&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; For usage configuration of flexio，we can configure the shifter operation in 'Transmit&lt;/P&gt;&lt;P&gt;Mode'、'Receive Mode'、 'Match Store Mode'、'Match Continuous Mode'.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I have a test for using 'Transmit Mode'、'Receive Mode', and it working normally&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Now，I want to test&amp;nbsp;shifter operation in &amp;nbsp;'Match Store Mode'、'Match Continuous Mode'，Could you&lt;/P&gt;&lt;P&gt;help me how to configure it，and when we use thses two mode&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thank you very much&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Simin&lt;/P&gt;</description>
    <pubDate>Thu, 25 Mar 2021 02:31:51 GMT</pubDate>
    <dc:creator>Simin</dc:creator>
    <dc:date>2021-03-25T02:31:51Z</dc:date>
    <item>
      <title>[FlexIO] Flex your muscles with the latest MBDToolbox release</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/FlexIO-Flex-your-muscles-with-the-latest-MBDToolbox-release/m-p/706615#M1217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings @MBD-ers !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm excited to talk to you about a cool new feature we're introducing in our&lt;STRONG&gt; latest release&lt;/STRONG&gt; (3.0) - &lt;STRONG&gt;FlexIO&lt;/STRONG&gt; communication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;First of all, let's find out what &lt;STRONG&gt;FlexIO&lt;/STRONG&gt; is and how it works:&lt;/P&gt;&lt;P style="text-align: justify;"&gt;FlexIO is an autonomous, asynchronous, adaptable peripheral.&lt;BR /&gt;It can make decisions without the processor's intervention, it has independent clocking - can operate in low power modes and (&lt;STRONG&gt;important&lt;/STRONG&gt;) can emulate all sorts of protocols (like &lt;STRONG&gt;I2C&lt;/STRONG&gt;, &lt;STRONG&gt;SPI&lt;/STRONG&gt;, &lt;STRONG&gt;UART&lt;/STRONG&gt;).&lt;BR /&gt;Basically, it has a number of double-buffered shift registers and timers, with input and output signals:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class="lia-inline-image-display-wrapper" image-alt="flexio_block_diagram.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30662iAC0C2E3884661736/image-size/large?v=v2&amp;amp;px=999" role="button" title="flexio_block_diagram.jpg" alt="flexio_block_diagram.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;BR /&gt;The number of timers, shift registers and pins depend on the implementation on the microcontroller. On the S32K144 you find:&lt;/P&gt;&lt;UL&gt;&lt;LI style="text-align: justify;"&gt;4 32bit shifters&lt;/LI&gt;&lt;LI style="text-align: justify;"&gt;4 16bit timers&lt;/LI&gt;&lt;LI style="text-align: justify;"&gt;8 input/output pins&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;STRONG&gt;How does it work?&lt;/STRONG&gt;&lt;BR /&gt;A simple way to see it is - data is loaded onto a shifter and a timer is assigned to generate the shifter clock and use a pin to output the data from that shifter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;STRONG&gt;Where and when can you use it?&lt;/STRONG&gt;&lt;BR /&gt;Let us look at the following scenario:&lt;BR /&gt;You have a solution for a problem, &lt;STRONG&gt;but&lt;/STRONG&gt; you need more peripherals than you have. In this scenario, there are 2 options:&lt;BR /&gt; - either make &lt;STRONG&gt;&lt;SPAN style="color: #800000;"&gt;changes&lt;/SPAN&gt; &lt;/STRONG&gt;to the (&lt;SPAN style="color: #993300;"&gt;hardware&lt;/SPAN&gt;)setup you already have and want to use&lt;BR /&gt; - either bit-bang[1] the protocol yourself - that usually results in &lt;SPAN style="color: #800000;"&gt;slower performance&lt;/SPAN&gt; and it takes time to do it (thus maybe&lt;SPAN style="color: #993300;"&gt;&lt;STRONG&gt; increasing time-to-market&lt;/STRONG&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;BR /&gt;This is where &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;FlexIO&lt;/STRONG&gt; &lt;/SPAN&gt;comes in handy - it provides a 3rd option: &lt;STRONG&gt;don't&lt;/STRONG&gt; make any hardware changes, &lt;STRONG&gt;don't&lt;/STRONG&gt; bit-bang &lt;BR /&gt;anything - just use this smart peripheral that lets you emulate protocols like I2C, UART, SPI - &lt;STRONG&gt;saves&lt;/STRONG&gt; you &lt;STRONG&gt;time&lt;/STRONG&gt; and &lt;STRONG&gt;effort&lt;/STRONG&gt;.&lt;/P&gt;&lt;P style="text-align: justify;"&gt;This is just one of many other scenarios where you have the perfect MCU - right performance, right memory size, &lt;BR /&gt;but it just so happens it doesn't have the number of X communication protocol that you need for your application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In MBDToolbox for S32K v3.0&amp;nbsp;we've added FlexIO communication&lt;/STRONG&gt;:&lt;BR /&gt;To make sure you have that 3rd option of making &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;no compromises&lt;/STRONG&gt;&lt;/SPAN&gt;, we have added &lt;STRONG&gt;FlexIO&lt;/STRONG&gt; blocks for&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SPI&lt;/LI&gt;&lt;LI&gt;I2C&lt;/LI&gt;&lt;LI&gt;UART&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;emulation, so you don't have to worry if you are ever in need of one or more instances of any of these.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Examples and demos&lt;/STRONG&gt;:&lt;/P&gt;&lt;P style="text-align: justify;"&gt;We have provided examples on how to use them and we will post a &lt;A _jive_internal="true" href="https://community.nxp.com/videos/7967"&gt;video &lt;/A&gt;demo of &lt;STRONG&gt;FlexIO SPI&lt;/STRONG&gt; usage (ping-pong data between Master and Slave) and one in which we use &lt;A _jive_internal="true" href="https://community.nxp.com/videos/7966"&gt;FlexIO I2C&lt;/A&gt;&amp;nbsp;to get data from a temperature sensor every 5 seconds, while the rest of the time the processor is in a &lt;A _jive_internal="true" href="https://community.nxp.com/thread/462168"&gt;low power mode&lt;/A&gt;&amp;nbsp;(*also a &lt;STRONG&gt;cool new feature&lt;/STRONG&gt; we've added in this latest release). So make sure to check them out and let us know if you are having trouble using them or if you have &lt;STRONG&gt;ideas&lt;/STRONG&gt; on how to make them &lt;STRONG&gt;better&lt;/STRONG&gt;!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6185809789001w320h240r555" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6185809789001" data-account="6153537070001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6153537070001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6185809789001w320h240r555');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.nxp.com/t5/video/gallerypage/video-id/6185809789001"&gt;（マイビデオを表示）&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;We really appreciate the feedback and interest you are showing towards this toolbox, so I will end this with a sincere &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Thank You!&lt;/STRONG&gt;&lt;/SPAN&gt; on behalf of the MBDT team! &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="font-size: 13px;"&gt;[1] bit-bang: technique for serial communications using software instead of dedicated hardware. Software directly sets and samples the state of pins on the microcontroller, and is responsible for all parameters of the signal: timing, levels, &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px;"&gt;synchronization, etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 08:09:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/FlexIO-Flex-your-muscles-with-the-latest-MBDToolbox-release/m-p/706615#M1217</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2017-10-16T08:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: [FlexIO] Flex your muscles with the latest MBDToolbox release</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/FlexIO-Flex-your-muscles-with-the-latest-MBDToolbox-release/m-p/1251712#M5898</link>
      <description>&lt;P&gt;Hi，&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; For usage configuration of flexio，we can configure the shifter operation in 'Transmit&lt;/P&gt;&lt;P&gt;Mode'、'Receive Mode'、 'Match Store Mode'、'Match Continuous Mode'.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I have a test for using 'Transmit Mode'、'Receive Mode', and it working normally&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Now，I want to test&amp;nbsp;shifter operation in &amp;nbsp;'Match Store Mode'、'Match Continuous Mode'，Could you&lt;/P&gt;&lt;P&gt;help me how to configure it，and when we use thses two mode&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thank you very much&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Simin&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 02:31:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/FlexIO-Flex-your-muscles-with-the-latest-MBDToolbox-release/m-p/1251712#M5898</guid>
      <dc:creator>Simin</dc:creator>
      <dc:date>2021-03-25T02:31:51Z</dc:date>
    </item>
  </channel>
</rss>

