<?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: NXP S32K312EVB I2C Example not working</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NXP-S32K312EVB-I2C-Example-not-working/m-p/2159287#M10409</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251278"&gt;@beginner100&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a structure defined in the&amp;nbsp;Lpi2c_Ip_Callbacks.h:&lt;/P&gt;
&lt;P&gt;/**&lt;BR /&gt;* @brief Define the enum of the events which can trigger I2C slave callback&lt;BR /&gt;*&lt;BR /&gt;* This enum should include the events for all platforms&lt;BR /&gt;* implements Lpi2c_Ip_SlaveEventType_enum&lt;BR /&gt;*/&lt;BR /&gt;typedef enum&lt;BR /&gt;{&lt;BR /&gt;I2C_SLAVE_EVENT_ERROR_BIT = 0x00U,&lt;BR /&gt;I2C_SLAVE_EVENT_UNDERRUN = 0x01U,&lt;BR /&gt;I2C_SLAVE_EVENT_OVERRUN = 0x02U,&lt;BR /&gt;I2C_SLAVE_EVENT_RX_FULL = 0x03U,&lt;BR /&gt;I2C_SLAVE_EVENT_TX_EMPTY = 0x04U,&lt;BR /&gt;&lt;STRONG&gt;I2C_SLAVE_EVENT_TX_REQ&lt;/STRONG&gt; = &lt;STRONG&gt;0x05U&lt;/STRONG&gt;,&lt;BR /&gt;I2C_SLAVE_EVENT_RX_REQ = 0x06U,&lt;BR /&gt;I2C_SLAVE_EVENT_STOP = 0x07U,&lt;BR /&gt;I2C_SLAVE_EVENT_DMA_TRANSFER_ERROR = 0x0EU&lt;BR /&gt;}Lpi2c_Ip_SlaveEventType;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To open the S32 Configuration Tools, you need to select an NXP block, and press Configure:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-08-27 183548.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354407i2CC50A5E82D0FB2A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-08-27 183548.png" alt="Screenshot 2025-08-27 183548.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then when S32CT is opened, you can go to Platform in the Interrupt Controller, to locate the LPI2C0_Master_Slave_IRQHandler:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Platform Configuration Interrupt Controller.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354408iA5E42AE89C6B9241/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Platform Configuration Interrupt Controller.png" alt="Platform Configuration Interrupt Controller.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Wed, 27 Aug 2025 16:11:36 GMT</pubDate>
    <dc:creator>stefanvlad</dc:creator>
    <dc:date>2025-08-27T16:11:36Z</dc:date>
    <item>
      <title>NXP S32K312EVB I2C Example not working</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NXP-S32K312EVB-I2C-Example-not-working/m-p/2137529#M10354</link>
      <description>&lt;P&gt;I am using an NXP S32K312 EVB with Simulink NXP MBDT Example - s32k3xx_i2c_async_s32ct.slx&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="beginner100_3-1753108784095.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/348582iE6D98B2E2CAA5CB3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="beginner100_3-1753108784095.png" alt="beginner100_3-1753108784095.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I made sure to follow instructions - these pins are connected&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="beginner100_0-1753108540123.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/348578i0F468813F3F4C67B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="beginner100_0-1753108540123.png" alt="beginner100_0-1753108540123.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="beginner100_1-1753108599034.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/348579iF2796476A8146300/image-size/medium?v=v2&amp;amp;px=400" role="button" title="beginner100_1-1753108599034.png" alt="beginner100_1-1753108599034.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Looking at the last instruction, I checked the schematics of the EVB and it seems they have pullup resistors already, I was able to locate them on board as well. All jumpers are connected as mentioned in&amp;nbsp;&amp;nbsp;S32K312EVB-Q172 - Hardware User Manual.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="beginner100_2-1753108698764.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/348580i6A0BD40B099FDF97/image-size/medium?v=v2&amp;amp;px=400" role="button" title="beginner100_2-1753108698764.png" alt="beginner100_2-1753108698764.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Build and flash - no issues observed.&lt;/P&gt;&lt;P&gt;When I run FreeMASTER, I see no change on "slave_send" variable being changed at all. Does it something have to do with interrupt in this case, please confirm. I suspect this because, this is what increments the "slave_send" variable. Please let me know the steps to enable it. Attached is the .mex&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="beginner100_4-1753108864297.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/348584iC5844304E2886FEB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="beginner100_4-1753108864297.png" alt="beginner100_4-1753108864297.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="beginner100_5-1753108928674.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/348585i130A866DF2069434/image-size/medium?v=v2&amp;amp;px=400" role="button" title="beginner100_5-1753108928674.png" alt="beginner100_5-1753108928674.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;#s32k3 #s32k312 #i2c #mbdt&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 14:45:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NXP-S32K312EVB-I2C-Example-not-working/m-p/2137529#M10354</guid>
      <dc:creator>beginner100</dc:creator>
      <dc:date>2025-07-21T14:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: NXP S32K312EVB I2C Example not working</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NXP-S32K312EVB-I2C-Example-not-working/m-p/2140183#M10361</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251278"&gt;@beginner100&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for using MBDT for S32K3 with the S32K312EVB-Q172 evaluation board,&lt;/P&gt;
&lt;P&gt;In the case of the &lt;STRONG&gt;s32k3xx_i2c_async_s32ct&lt;/STRONG&gt; example, the table below describes the connections between the I2C instances on S32K312-Q172:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1753361694612.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/349337iD546D564BC7357FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="stefanvlad_0-1753361694612.png" alt="stefanvlad_0-1753361694612.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But in that help file, there is also a &lt;STRONG&gt;Note&lt;/STRONG&gt; below that reads:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Note: When running this model on&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;S32K311EVB-Q100&lt;/STRONG&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;S32K312EVB-Q172&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;or&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;S32K388EVB-Q289&lt;/STRONG&gt;&lt;SPAN&gt;&lt;SPAN&gt;, please note that the signal lines used for the I2C transmission require external 2k Ohm pull-up resistors between SDA and VDD and SCL and VDD. For VDD, you can use t&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;he pin J40.9 for S32K311EVB-Q100, J39.13 for S32K312EVB-Q172 or J696.14 for S32K388EVB-Q289.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;Because the other I2C Instance has pins PTD13, PTD14 with no pull-up resistors, you need to add those, and connect them, one example is in the picture below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="28517079-5330-4964-82fe-1140c4095f20.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/349339i88A2FE9A98A72A9A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="28517079-5330-4964-82fe-1140c4095f20.jpg" alt="28517079-5330-4964-82fe-1140c4095f20.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have created a simplified version of the schematic showing only the I2C connections needed with pull-up resistors:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1753365638245.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/349348i5B5CD322B22CC3CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="stefanvlad_0-1753365638245.png" alt="stefanvlad_0-1753365638245.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After you make all the connections , then you can open FreeMASTER and take a look at variables:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_1-1753362044213.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/349340i0AC375C0548DDFFF/image-size/large?v=v2&amp;amp;px=999" role="button" title="stefanvlad_1-1753362044213.png" alt="stefanvlad_1-1753362044213.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Both of them will increment accordingly and go up to 256 then roll back to 0.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps you with the setup,&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 14:01:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NXP-S32K312EVB-I2C-Example-not-working/m-p/2140183#M10361</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2025-07-24T14:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: NXP S32K312EVB I2C Example not working</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NXP-S32K312EVB-I2C-Example-not-working/m-p/2142012#M10363</link>
      <description>Thank you for the input, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341"&gt;@stefanvlad&lt;/a&gt;.&lt;BR /&gt;&lt;BR /&gt;I did make changes as suggested, on FreeMASTER i only see Slave_send as 0 and master_recv as 255. I do not see any ramp up or incrementing of values. Are there any other set of pins that can be chosen as the slave I2C Instance instead of PTD13, PTD14?</description>
      <pubDate>Mon, 28 Jul 2025 19:31:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NXP-S32K312EVB-I2C-Example-not-working/m-p/2142012#M10363</guid>
      <dc:creator>beginner100</dc:creator>
      <dc:date>2025-07-28T19:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: NXP S32K312EVB I2C Example not working</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NXP-S32K312EVB-I2C-Example-not-working/m-p/2142513#M10364</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251278"&gt;@beginner100&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you provide a picture of your setup with the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;S32K312EVB-Q172 &lt;/STRONG&gt;and the connections?&lt;/P&gt;
&lt;P&gt;Just to be sure, have you connected the Pull-up resistors for pins PTD14 and PTD13 as in the picture below?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1753776951488.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/349953i1E61D4E9B605CC0E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_0-1753776951488.png" alt="stefanvlad_0-1753776951488.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Just in case I have attached the&amp;nbsp;s32k311_i2c_async_s32ct.zip that I have tested and it works on my&amp;nbsp;&lt;STRONG&gt;S32K312EVB-Q172.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please test it and send me all details and pictures,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2025 08:25:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NXP-S32K312EVB-I2C-Example-not-working/m-p/2142513#M10364</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2025-07-29T08:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: NXP S32K312EVB I2C Example not working</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NXP-S32K312EVB-I2C-Example-not-working/m-p/2142929#M10367</link>
      <description>&lt;P&gt;I have used the model from the .zip shared, and now it seems to be working fine. Yes, I have also connected the resistors as you mentioned.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2025 19:25:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NXP-S32K312EVB-I2C-Example-not-working/m-p/2142929#M10367</guid>
      <dc:creator>beginner100</dc:creator>
      <dc:date>2025-07-29T19:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: NXP S32K312EVB I2C Example not working</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NXP-S32K312EVB-I2C-Example-not-working/m-p/2143870#M10368</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341" target="_blank"&gt;@stefanvlad&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;One more question on the same example and it's this event "I2C_SLAVE_EVENT_TX_REQ" within Hardware Interrupt Callback (MBDT_I2C_Callback)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Why is the Event output being compared to 5 ?&amp;nbsp; Is I2C_EVENT_TX_REQ_SLAVE defined as 5? Where can I find this configuration in the S32CT tool? What other events are available and can you please explain and help me understand this better, thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="beginner100_1-1753906127597.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/350320i4E58F2AB6C274457/image-size/medium?v=v2&amp;amp;px=400" role="button" title="beginner100_1-1753906127597.png" alt="beginner100_1-1753906127597.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="beginner100_0-1753906097035.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/350319i7FB67EB797AFC607/image-size/medium?v=v2&amp;amp;px=400" role="button" title="beginner100_0-1753906097035.png" alt="beginner100_0-1753906097035.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="beginner100_3-1753906178842.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/350322iD5F447B8060BEF6A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="beginner100_3-1753906178842.png" alt="beginner100_3-1753906178842.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 20:10:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NXP-S32K312EVB-I2C-Example-not-working/m-p/2143870#M10368</guid>
      <dc:creator>beginner100</dc:creator>
      <dc:date>2025-07-30T20:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: NXP S32K312EVB I2C Example not working</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NXP-S32K312EVB-I2C-Example-not-working/m-p/2159287#M10409</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251278"&gt;@beginner100&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a structure defined in the&amp;nbsp;Lpi2c_Ip_Callbacks.h:&lt;/P&gt;
&lt;P&gt;/**&lt;BR /&gt;* @brief Define the enum of the events which can trigger I2C slave callback&lt;BR /&gt;*&lt;BR /&gt;* This enum should include the events for all platforms&lt;BR /&gt;* implements Lpi2c_Ip_SlaveEventType_enum&lt;BR /&gt;*/&lt;BR /&gt;typedef enum&lt;BR /&gt;{&lt;BR /&gt;I2C_SLAVE_EVENT_ERROR_BIT = 0x00U,&lt;BR /&gt;I2C_SLAVE_EVENT_UNDERRUN = 0x01U,&lt;BR /&gt;I2C_SLAVE_EVENT_OVERRUN = 0x02U,&lt;BR /&gt;I2C_SLAVE_EVENT_RX_FULL = 0x03U,&lt;BR /&gt;I2C_SLAVE_EVENT_TX_EMPTY = 0x04U,&lt;BR /&gt;&lt;STRONG&gt;I2C_SLAVE_EVENT_TX_REQ&lt;/STRONG&gt; = &lt;STRONG&gt;0x05U&lt;/STRONG&gt;,&lt;BR /&gt;I2C_SLAVE_EVENT_RX_REQ = 0x06U,&lt;BR /&gt;I2C_SLAVE_EVENT_STOP = 0x07U,&lt;BR /&gt;I2C_SLAVE_EVENT_DMA_TRANSFER_ERROR = 0x0EU&lt;BR /&gt;}Lpi2c_Ip_SlaveEventType;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To open the S32 Configuration Tools, you need to select an NXP block, and press Configure:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-08-27 183548.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354407i2CC50A5E82D0FB2A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-08-27 183548.png" alt="Screenshot 2025-08-27 183548.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then when S32CT is opened, you can go to Platform in the Interrupt Controller, to locate the LPI2C0_Master_Slave_IRQHandler:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Platform Configuration Interrupt Controller.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/354408iA5E42AE89C6B9241/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Platform Configuration Interrupt Controller.png" alt="Platform Configuration Interrupt Controller.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2025 16:11:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NXP-S32K312EVB-I2C-Example-not-working/m-p/2159287#M10409</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2025-08-27T16:11:36Z</dc:date>
    </item>
  </channel>
</rss>

