<?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 Issue with Register Write Operation on MC33774A in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/Issue-with-Register-Write-Operation-on-MC33774A/m-p/2025870#M2333</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to communicate with the MC33774A using the SPI interface of the S32K311. The register read operation works as expected, but when I attempt to write data into a register, it is not reflecting. When I read the register again, I get the default value.&lt;/P&gt;&lt;H3&gt;Steps followed:&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;Write data to the register.&lt;/LI&gt;&lt;LI&gt;NOP (No Operation).&lt;/LI&gt;&lt;LI&gt;Read the same register.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I have attached my code for your reference. Could you kindly review it and let me know if there is something wrong in the code?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jan 2025 14:29:03 GMT</pubDate>
    <dc:creator>nirmal_masilamani</dc:creator>
    <dc:date>2025-01-10T14:29:03Z</dc:date>
    <item>
      <title>Issue with Register Write Operation on MC33774A</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Issue-with-Register-Write-Operation-on-MC33774A/m-p/2025870#M2333</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to communicate with the MC33774A using the SPI interface of the S32K311. The register read operation works as expected, but when I attempt to write data into a register, it is not reflecting. When I read the register again, I get the default value.&lt;/P&gt;&lt;H3&gt;Steps followed:&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;Write data to the register.&lt;/LI&gt;&lt;LI&gt;NOP (No Operation).&lt;/LI&gt;&lt;LI&gt;Read the same register.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I have attached my code for your reference. Could you kindly review it and let me know if there is something wrong in the code?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 14:29:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Issue-with-Register-Write-Operation-on-MC33774A/m-p/2025870#M2333</guid>
      <dc:creator>nirmal_masilamani</dc:creator>
      <dc:date>2025-01-10T14:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Register Write Operation on MC33774A</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Issue-with-Register-Write-Operation-on-MC33774A/m-p/2026501#M2340</link>
      <description>&lt;P&gt;Hello Nirmal,&lt;/P&gt;
&lt;P&gt;Do you have an oscilloscope or a logic analyzer to see what is going on the bus during the register write operation? Double check that you are using the SPI version of the MC33774A and if possible please also share your schematic.&lt;/P&gt;
&lt;P&gt;Attached you can find our simple SPI example.&lt;/P&gt;
&lt;P&gt;I hope it helps.&lt;/P&gt;
&lt;P&gt;BRs, Tomas&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 07:36:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Issue-with-Register-Write-Operation-on-MC33774A/m-p/2026501#M2340</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2025-01-13T07:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Register Write Operation on MC33774A</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Issue-with-Register-Write-Operation-on-MC33774A/m-p/2029067#M2360</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/12216"&gt;@TomasVaverka&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for your support. After some trial and error, SPI write also working now.&lt;/P&gt;&lt;P&gt;But when i try to read the volt measurements continuously, able to read it at very first time only. In &lt;STRONG&gt;PRMM_PER_CTRL&lt;/STRONG&gt; register, i checked with both AUTO and ONCE ctrl. Steps follows as below.&lt;/P&gt;&lt;P&gt;1. Configure done. (Periodic Measurement)&lt;/P&gt;&lt;P&gt;2. Check &lt;STRONG&gt;PERRDY bit&lt;/STRONG&gt; from&amp;nbsp;&lt;STRONG&gt;PRMM_MEAS_STAT.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3.Read the volt data from&amp;nbsp;&lt;STRONG&gt;PRMM_PER_VC0&lt;/STRONG&gt;(Success)&lt;/P&gt;&lt;P&gt;4. Again step2 (Here &lt;STRONG&gt;PERRDY &lt;/STRONG&gt;bit is not set in both Auto and once mode). (For Once mode, as per data sheet we followed the seq.).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is there any sequence or configuration or steps did i miss for reading data continuously? Any reference code for cell volt measurement.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nirmal_masilamani_0-1737034083694.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/319894i9EE78E18AC548364/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nirmal_masilamani_0-1737034083694.png" alt="nirmal_masilamani_0-1737034083694.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2025 13:40:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Issue-with-Register-Write-Operation-on-MC33774A/m-p/2029067#M2360</guid>
      <dc:creator>nirmal_masilamani</dc:creator>
      <dc:date>2025-01-16T13:40:53Z</dc:date>
    </item>
  </channel>
</rss>

