<?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 Re: Low-voltage detect: Datasheet vs. Reference Manual in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/Low-voltage-detect-Datasheet-vs-Reference-Manual/m-p/2335399#M5045</link>
    <description>&lt;P&gt;Dear Weber,&lt;/P&gt;
&lt;P&gt;I apologize for the late response; In Reference Manual Chapter 25.7.17 VD_SYS_CFG configuration, the 8 bit show as reserved is "LVSEL", this should be open to users, we are working on modification for RM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before Writing to this field, you must write 0 to LOCK.&lt;/P&gt;
&lt;P&gt;If you want to change LVSEL, you must do this after disabling the LVD reset and interrupt. Otherwise, SPC could generate an LVD due to the LVSEL change.&lt;/P&gt;
&lt;P&gt;Configuration for LVSEL:&lt;/P&gt;
&lt;P&gt;0b-Normal&lt;/P&gt;
&lt;P&gt;1b-Safe&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In SDK examples for MCXA156, you can see in file &lt;EM&gt;&lt;STRONG&gt;fsl_spc.h&lt;/STRONG&gt;&lt;/EM&gt; the &lt;EM&gt;&lt;STRONG&gt;spc_low_voltage_level_select&lt;/STRONG&gt;&lt;/EM&gt; function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you want to use the High Range LVD threshold, you need to use [&lt;EM&gt;&lt;STRONG&gt;ksPC_LowVoltageHighRange&lt;/STRONG&gt;&lt;/EM&gt;] entering Normal level [0b] in &lt;STRONG&gt;&lt;EM&gt;spc_low_voltage_level_select&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if that work for you.&lt;/P&gt;
&lt;P&gt;Best Regards, Luis&lt;/P&gt;</description>
    <pubDate>Wed, 18 Mar 2026 18:56:02 GMT</pubDate>
    <dc:creator>luis_maravilla</dc:creator>
    <dc:date>2026-03-18T18:56:02Z</dc:date>
    <item>
      <title>Low-voltage detect: Datasheet vs. Reference Manual</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Low-voltage-detect-Datasheet-vs-Reference-Manual/m-p/2327038#M4966</link>
      <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;I'm trying to implement the Low-Voltage Detection (LVD) feature of a MCXA156 controller. The Datasheet defines the VLVDH_VDD threshold = 2.619V (typ) and also the VLVDL_VDD threshold = 1.651V (typ). The VLVD&lt;STRONG&gt;H&lt;/STRONG&gt; threshold is exactly what I want. But only the VLVD&lt;STRONG&gt;L&amp;nbsp;&lt;/STRONG&gt;is configured by default (plus having the bad behavior of intermittently flipping the reset signal few times when detecting LVD, as I can see using a scope - hystresis too low!)&lt;/P&gt;&lt;P&gt;Furthermore, the Reference Manual says: "The voltage threshold at which the LVD reset asserts is programmable", and the VD_SYS_CFG register is described aby "...configures the low-voltage trip point..." Fine, so far.&lt;/P&gt;&lt;P&gt;The problem now is that the VD_SYS_CFG register only has the following bits documented in the RM:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;LOCK&lt;/LI&gt;&lt;LI&gt;HVDIE - HVD interrupt enable&lt;/LI&gt;&lt;LI&gt;HVDRE - HVD reset enable&lt;/LI&gt;&lt;LI&gt;LVDIE - LVD interrupt enable&lt;/LI&gt;&lt;LI&gt;LVDRE - LVD reset enable&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;None of these is usable to set the threshold.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question: How should I configure the LVD threshold?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Weber&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2026 10:33:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Low-voltage-detect-Datasheet-vs-Reference-Manual/m-p/2327038#M4966</guid>
      <dc:creator>Weber1</dc:creator>
      <dc:date>2026-03-05T10:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Low-voltage detect: Datasheet vs. Reference Manual</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Low-voltage-detect-Datasheet-vs-Reference-Manual/m-p/2327057#M4967</link>
      <description>&lt;P&gt;Let me add that in the RM there is the LOCK bit of VD_SYS_CFG, which is commented by "Allows writing to the LVDRE, HVDRE, and LVSEL fields". But there is no LVSEL bit anywhere defined.&lt;BR /&gt;Furthermore, there is a SDK function "SPC_SetSystemVDDLowVoltageLevel" which refers to SPC_VD_SYS_CFG_LVSEL (bit 8), where&lt;LI-EMOJI id="lia_smiling-face-with-sunglasses" title=":smiling_face_with_sunglasses:"&gt;&lt;/LI-EMOJI&gt;&amp;nbsp;the related code is commented out. Very strange...&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2026 10:47:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Low-voltage-detect-Datasheet-vs-Reference-Manual/m-p/2327057#M4967</guid>
      <dc:creator>Weber1</dc:creator>
      <dc:date>2026-03-05T10:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Low-voltage detect: Datasheet vs. Reference Manual</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Low-voltage-detect-Datasheet-vs-Reference-Manual/m-p/2335399#M5045</link>
      <description>&lt;P&gt;Dear Weber,&lt;/P&gt;
&lt;P&gt;I apologize for the late response; In Reference Manual Chapter 25.7.17 VD_SYS_CFG configuration, the 8 bit show as reserved is "LVSEL", this should be open to users, we are working on modification for RM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before Writing to this field, you must write 0 to LOCK.&lt;/P&gt;
&lt;P&gt;If you want to change LVSEL, you must do this after disabling the LVD reset and interrupt. Otherwise, SPC could generate an LVD due to the LVSEL change.&lt;/P&gt;
&lt;P&gt;Configuration for LVSEL:&lt;/P&gt;
&lt;P&gt;0b-Normal&lt;/P&gt;
&lt;P&gt;1b-Safe&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In SDK examples for MCXA156, you can see in file &lt;EM&gt;&lt;STRONG&gt;fsl_spc.h&lt;/STRONG&gt;&lt;/EM&gt; the &lt;EM&gt;&lt;STRONG&gt;spc_low_voltage_level_select&lt;/STRONG&gt;&lt;/EM&gt; function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you want to use the High Range LVD threshold, you need to use [&lt;EM&gt;&lt;STRONG&gt;ksPC_LowVoltageHighRange&lt;/STRONG&gt;&lt;/EM&gt;] entering Normal level [0b] in &lt;STRONG&gt;&lt;EM&gt;spc_low_voltage_level_select&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if that work for you.&lt;/P&gt;
&lt;P&gt;Best Regards, Luis&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 18:56:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Low-voltage-detect-Datasheet-vs-Reference-Manual/m-p/2335399#M5045</guid>
      <dc:creator>luis_maravilla</dc:creator>
      <dc:date>2026-03-18T18:56:02Z</dc:date>
    </item>
  </channel>
</rss>

