<?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>topic S32K148 - FLEXIO SPI instance breaks normal SPI and I2C communication in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K148-FLEXIO-SPI-instance-breaks-normal-SPI-and-I2C/m-p/1864253#M9083</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using a S32K148 (FS32K148HAT0MLQT) and using all 3 SPI instances, both I2C instances and a FLEXIO SPI instance to emulate a 4th SPI line. The SPI lines are for 2x BCC instances (Share Tx, seperate Rx) FLEXIO is for a UJA1169ATK and the 2xI2C for temperature sensors.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I have 3 SPI instances all dedicated to my 2x MC33664's. 2 Rx SPI channels and for each instance and 1 Tx channel which is shared with both just with different CSB.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;SPI0 - Rx BCC instance 0:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;MISO - PTB3&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;SCK - PTB2&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;CSB - PTB5&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;SPI1 - Tx BCC instance 0+1:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;MOSI - PTB16&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;SCK - PTB14&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;CSB1 - PTA6 (Instance 0)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;CSB2 - PTA16 (Instance 1)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;SPI2 - Rx BCC instance 1:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;MISO - PTE16&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;SCK - PTE15&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;CSB - PTA15&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;My UJA1169ATK is setup using FLEXIO pins to emulate a 4th SPI line using:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;MOSI - PTE10 (FXIO_D4)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;MISO - PTD1 (FXIO_D1)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;SCK - PTE11 (FXIO_D5)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;CSB - PTD3 (FXIO_D7)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I2C instance 0:&lt;BR /&gt;SDA - PTA2&lt;BR /&gt;SCL -&amp;nbsp; PTA3&lt;BR /&gt;&lt;BR /&gt;I2C instance 1:&lt;BR /&gt;SDA - PTD8&lt;BR /&gt;SCL -&amp;nbsp; PTD9&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I have noticed that when the FXIO SPI instance is initialized and running then I2C instance 1 stops working (Line always stays high at 5v) and the second BCC instance stops working so most likely SPI2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached a model showing the issue with I2C when FLEXSPI is active. For some reason this only starts happening when the UJA1169 is put into normal mode. The I2C line seems to work ok before then but then stays high after that and returns a STATUS_BUSY - 0x002 error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help with this would be greatly appreciated!&lt;/P&gt;</description>
    <pubDate>Mon, 13 May 2024 08:54:56 GMT</pubDate>
    <dc:creator>Poley</dc:creator>
    <dc:date>2024-05-13T08:54:56Z</dc:date>
    <item>
      <title>S32K148 - FLEXIO SPI instance breaks normal SPI and I2C communication</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K148-FLEXIO-SPI-instance-breaks-normal-SPI-and-I2C/m-p/1864253#M9083</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using a S32K148 (FS32K148HAT0MLQT) and using all 3 SPI instances, both I2C instances and a FLEXIO SPI instance to emulate a 4th SPI line. The SPI lines are for 2x BCC instances (Share Tx, seperate Rx) FLEXIO is for a UJA1169ATK and the 2xI2C for temperature sensors.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I have 3 SPI instances all dedicated to my 2x MC33664's. 2 Rx SPI channels and for each instance and 1 Tx channel which is shared with both just with different CSB.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;SPI0 - Rx BCC instance 0:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;MISO - PTB3&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;SCK - PTB2&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;CSB - PTB5&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;SPI1 - Tx BCC instance 0+1:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;MOSI - PTB16&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;SCK - PTB14&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;CSB1 - PTA6 (Instance 0)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;CSB2 - PTA16 (Instance 1)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;SPI2 - Rx BCC instance 1:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;MISO - PTE16&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;SCK - PTE15&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;CSB - PTA15&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;My UJA1169ATK is setup using FLEXIO pins to emulate a 4th SPI line using:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;MOSI - PTE10 (FXIO_D4)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;MISO - PTD1 (FXIO_D1)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;SCK - PTE11 (FXIO_D5)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;CSB - PTD3 (FXIO_D7)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I2C instance 0:&lt;BR /&gt;SDA - PTA2&lt;BR /&gt;SCL -&amp;nbsp; PTA3&lt;BR /&gt;&lt;BR /&gt;I2C instance 1:&lt;BR /&gt;SDA - PTD8&lt;BR /&gt;SCL -&amp;nbsp; PTD9&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I have noticed that when the FXIO SPI instance is initialized and running then I2C instance 1 stops working (Line always stays high at 5v) and the second BCC instance stops working so most likely SPI2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached a model showing the issue with I2C when FLEXSPI is active. For some reason this only starts happening when the UJA1169 is put into normal mode. The I2C line seems to work ok before then but then stays high after that and returns a STATUS_BUSY - 0x002 error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help with this would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 08:54:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K148-FLEXIO-SPI-instance-breaks-normal-SPI-and-I2C/m-p/1864253#M9083</guid>
      <dc:creator>Poley</dc:creator>
      <dc:date>2024-05-13T08:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 - FLEXIO SPI instance breaks normal SPI and I2C communication</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K148-FLEXIO-SPI-instance-breaks-normal-SPI-and-I2C/m-p/1880684#M9171</link>
      <description>&lt;P&gt;Would anyone be able to help with this? It must be somehting to do with priorities or something coliding?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 13:40:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K148-FLEXIO-SPI-instance-breaks-normal-SPI-and-I2C/m-p/1880684#M9171</guid>
      <dc:creator>Poley</dc:creator>
      <dc:date>2024-06-04T13:40:02Z</dc:date>
    </item>
  </channel>
</rss>

