<?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 Lpc5410x set voltage api in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc5410x-set-voltage-api/m-p/545502#M13074</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;How do you call set_voltage API function. Datasheet is quite vague on details...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;So from datasheet:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #931a68;"&gt;typedef&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; &lt;/SPAN&gt;struct&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #006141;"&gt;_PWRD&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #931a68;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt;&amp;nbsp; &lt;/SPAN&gt;unsigned&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; &lt;/SPAN&gt;int&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; (*&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #0326cc;"&gt;set_pll&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt;)(&lt;/SPAN&gt;unsigned&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; &lt;/SPAN&gt;int&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; mul, &lt;/SPAN&gt;unsigned&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; &lt;/SPAN&gt;int&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; inFreq);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #931a68;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt;&amp;nbsp; &lt;/SPAN&gt;unsigned&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; &lt;/SPAN&gt;int&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; (*&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #0326cc;"&gt;set_voltage&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt;)(&lt;/SPAN&gt;unsigned&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; &lt;/SPAN&gt;int&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt;mode, &lt;/SPAN&gt;unsigned&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; &lt;/SPAN&gt;int&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; desFreq);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&amp;nbsp; &lt;SPAN style="font-style: inherit; font-family: inherit; color: #931a68;"&gt;void&lt;/SPAN&gt; (*&lt;SPAN style="font-style: inherit; font-family: inherit; color: #0326cc;"&gt;power_mode_configure&lt;/SPAN&gt;)(&lt;SPAN style="font-style: inherit; font-family: inherit; color: #931a68;"&gt;unsigned&lt;/SPAN&gt; &lt;SPAN style="font-style: inherit; font-family: inherit; color: #931a68;"&gt;int&lt;/SPAN&gt;mode, &lt;SPAN style="font-style: inherit; font-family: inherit; color: #931a68;"&gt;unsigned&lt;/SPAN&gt; &lt;SPAN style="font-style: inherit; font-family: inherit; color: #931a68;"&gt;int&lt;/SPAN&gt; peripheral);&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #006141;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt;}&lt;/SPAN&gt;PWRD&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #931a68;"&gt;#define&lt;/SPAN&gt; rom_driver_ptr (*(ROM)**) 0x03000200&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;pPWRD = (PWRD*)(rom_driver_ptr-&amp;gt;pPWRD);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;pPWRD-&amp;gt;set_voltage(??, 96000000);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;What I dont understand from this is,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;- how is ROM defined&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;- what is pPWRD&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;- what is param0 in set_voltage. There is only description mode =0 for low power mode .. should I select some arbitrary value here ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Thanks...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 Aug 2016 11:19:26 GMT</pubDate>
    <dc:creator>gossamer69</dc:creator>
    <dc:date>2016-08-21T11:19:26Z</dc:date>
    <item>
      <title>Lpc5410x set voltage api</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc5410x-set-voltage-api/m-p/545502#M13074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;How do you call set_voltage API function. Datasheet is quite vague on details...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;So from datasheet:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #931a68;"&gt;typedef&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; &lt;/SPAN&gt;struct&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #006141;"&gt;_PWRD&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #931a68;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt;&amp;nbsp; &lt;/SPAN&gt;unsigned&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; &lt;/SPAN&gt;int&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; (*&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #0326cc;"&gt;set_pll&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt;)(&lt;/SPAN&gt;unsigned&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; &lt;/SPAN&gt;int&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; mul, &lt;/SPAN&gt;unsigned&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; &lt;/SPAN&gt;int&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; inFreq);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #931a68;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt;&amp;nbsp; &lt;/SPAN&gt;unsigned&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; &lt;/SPAN&gt;int&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; (*&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #0326cc;"&gt;set_voltage&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt;)(&lt;/SPAN&gt;unsigned&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; &lt;/SPAN&gt;int&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt;mode, &lt;/SPAN&gt;unsigned&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; &lt;/SPAN&gt;int&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt; desFreq);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&amp;nbsp; &lt;SPAN style="font-style: inherit; font-family: inherit; color: #931a68;"&gt;void&lt;/SPAN&gt; (*&lt;SPAN style="font-style: inherit; font-family: inherit; color: #0326cc;"&gt;power_mode_configure&lt;/SPAN&gt;)(&lt;SPAN style="font-style: inherit; font-family: inherit; color: #931a68;"&gt;unsigned&lt;/SPAN&gt; &lt;SPAN style="font-style: inherit; font-family: inherit; color: #931a68;"&gt;int&lt;/SPAN&gt;mode, &lt;SPAN style="font-style: inherit; font-family: inherit; color: #931a68;"&gt;unsigned&lt;/SPAN&gt; &lt;SPAN style="font-style: inherit; font-family: inherit; color: #931a68;"&gt;int&lt;/SPAN&gt; peripheral);&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #006141;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt;}&lt;/SPAN&gt;PWRD&lt;SPAN style="font-style: inherit; font-family: inherit; color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #931a68;"&gt;#define&lt;/SPAN&gt; rom_driver_ptr (*(ROM)**) 0x03000200&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;pPWRD = (PWRD*)(rom_driver_ptr-&amp;gt;pPWRD);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;pPWRD-&amp;gt;set_voltage(??, 96000000);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;What I dont understand from this is,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;- how is ROM defined&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;- what is pPWRD&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;- what is param0 in set_voltage. There is only description mode =0 for low power mode .. should I select some arbitrary value here ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #51626f;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Thanks...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Aug 2016 11:19:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc5410x-set-voltage-api/m-p/545502#M13074</guid>
      <dc:creator>gossamer69</dc:creator>
      <dc:date>2016-08-21T11:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Lpc5410x set voltage api</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc5410x-set-voltage-api/m-p/545503#M13075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LPC1549 MCU also with ROM Power control API code, there with &lt;A href="http://www.nxp.com/products/software-and-tools/hardware-development-tools/lpcxpresso-boards/lpcopen-software-development-platform-lpc15xx:LPCOPEN-SOFTWARE-FOR-LPC15XX"&gt;LPCOpen&lt;/A&gt; [wwdt] demo also call the power control API function.&lt;/P&gt;&lt;P&gt;The default demo path is: ..\lpcopen_2_20_keil_iar_nxp_lpcxpresso_1549\applications\lpc15xx\iar\nxp_lpcxpresso_1549&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In &amp;lt;romapi_15xx.h&amp;gt; file with below definition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/**&lt;BR /&gt;&amp;nbsp;* @brief LPC15XX High level ROM API structure&lt;BR /&gt;&amp;nbsp;*/&lt;BR /&gt;typedef struct {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;const uint32_t pUSBD;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;/*!&amp;lt; USBD API function table base address */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;const uint32_t reserved0;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;/*!&amp;lt; Reserved */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;const CAND_API_T *pCAND;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;/*!&amp;lt; C_CAN API function table base address */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;const PWRD_API_T *pPWRD;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;/*!&amp;lt; Power API function table base address */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;const uint32_t reserved1;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;/*!&amp;lt; Reserved */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;const I2CD_API_T *pI2CD;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;/*!&amp;lt; I2C driver API function table base address */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;const DMAD_API_T *pDMAD;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;/*!&amp;lt; DMA driver API function table base address */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;const SPID_API_T *pSPID;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;/*!&amp;lt; I2C driver API function table base address */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;const ADCD_API_T *pADCD;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;/*!&amp;lt; ADC driver API function table base address */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;const UARTD_API_T *pUARTD;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;/*!&amp;lt; UART driver API function table base address */&lt;BR /&gt;} LPC_ROM_API_T;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Pointer to ROM API function address */&lt;BR /&gt;#define LPC_ROM_API_BASE_LOC&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x03000200UL&lt;BR /&gt;#define LPC_ROM_API&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*(LPC_ROM_API_T * *) LPC_ROM_API_BASE_LOC)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the ROM definition is similar with LPC_ROM_API_T struct.&lt;/P&gt;&lt;P&gt;pPWRD is Power control api function table base address;&lt;/P&gt;&lt;P&gt;There only with one option (low power mode) for set_voltage() function param0.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 06:37:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc5410x-set-voltage-api/m-p/545503#M13075</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-08-24T06:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Lpc5410x set voltage api</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc5410x-set-voltage-api/m-p/545504#M13076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;Thanks, this is what I was looking for. Exact code for LPC5410x is following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="color: #931a68; font-size: 11px;"&gt;&lt;SPAN style="font-size: 13px;"&gt;typedef&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;struct&lt;SPAN style="color: #000000;"&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp; &lt;/SPAN&gt;unsigned&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;int&lt;SPAN style="color: #000000;"&gt; (*&lt;/SPAN&gt;&lt;SPAN style="color: #0326cc;"&gt;set_pll&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)(&lt;/SPAN&gt;unsigned&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;int&lt;SPAN style="color: #000000;"&gt; mul, &lt;/SPAN&gt;unsigned&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;int&lt;SPAN style="color: #000000;"&gt; inFreq);&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp; &lt;/SPAN&gt;unsigned&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;int&lt;SPAN style="color: #000000;"&gt; (*&lt;/SPAN&gt;&lt;SPAN style="color: #0326cc;"&gt;set_voltage&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)(&lt;/SPAN&gt;unsigned&lt;SPAN style="color: #000000;"&gt; intmode, &lt;/SPAN&gt;unsigned&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;int&lt;SPAN style="color: #000000;"&gt; desFreq);&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt; &lt;SPAN style="color: #931a68;"&gt;void&lt;/SPAN&gt; (*&lt;SPAN style="color: #0326cc;"&gt;power_mode_configure&lt;/SPAN&gt;)(&lt;SPAN style="color: #931a68;"&gt;unsigned&lt;/SPAN&gt; intmode, &lt;SPAN style="color: #931a68;"&gt;unsigned&lt;/SPAN&gt; &lt;SPAN style="color: #931a68;"&gt;int&lt;/SPAN&gt; peripheral);&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;&lt;SPAN style="color: #000000;"&gt;}&lt;/SPAN&gt;PWRD_API_T&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;

&lt;SPAN style="font-size: 13px;"&gt;typedef&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;struct&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;{&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #931a68;"&gt;const&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #006141;"&gt;uint32_t&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;reserved_usb&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #931a68;"&gt;const&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #006141;"&gt;uint32_t&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;reserved_clib&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #931a68;"&gt;const&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #006141;"&gt;uint32_t&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;reserved_can&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #931a68;"&gt;const&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;PWRD_API_T&lt;SPAN style="color: #000000;"&gt; *&lt;/SPAN&gt;&lt;SPAN style="color: #0326cc;"&gt;pPWRD&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #931a68;"&gt;const&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #006141;"&gt;uint32_t&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;reserved_div&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #931a68;"&gt;const&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #006141;"&gt;uint32_t&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;reserved_i2cd&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #931a68;"&gt;const&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #006141;"&gt;uint32_t&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;reserved_dmad&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #931a68;"&gt;const&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #006141;"&gt;uint32_t&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;reserved_spid&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #931a68;"&gt;const&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #006141;"&gt;uint32_t&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;reserved_adcd&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #931a68;"&gt;const&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #006141;"&gt;uint32_t&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;reserved_uartd&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #931a68;"&gt;const&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #006141;"&gt;uint32_t&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;reserved_vfifo&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #931a68;"&gt;const&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #006141;"&gt;uint32_t&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;reserved_usart&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;&lt;SPAN style="color: #000000;"&gt;}&lt;/SPAN&gt;LPC_ROM_API_T&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;

&lt;SPAN style="font-size: 13px;"&gt;&lt;SPAN style="color: #931a68;"&gt;#define&lt;/SPAN&gt; LPC_ROM_API &amp;nbsp; &amp;nbsp; (*(LPC_ROM_API_T * *) LPC_ROM_API_BASE_LOC)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;&lt;SPAN style="color: #931a68;"&gt;#define&lt;/SPAN&gt; LPC_ROM_API_BASE_LOC&amp;nbsp; &amp;nbsp; 0x03000200UL&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P style="font-size: 11px;"&gt;&lt;SPAN style="font-size: 13px;"&gt;and then call from main function:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="font-size: 13px;"&gt;LPC_ROM_API-&amp;gt;&lt;SPAN style="color: #0326cc;"&gt;pPWRD&lt;/SPAN&gt;-&amp;gt;&lt;SPAN style="color: #0326cc;"&gt;set_voltage&lt;/SPAN&gt;(1, 96000000);&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure what exactly did I do with set_voltage call, but it seems that my uC is now working with 96Mhz PLL setting. Without this call, it would just reset itself due to (I guess, power protection circuit or something similar).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 21:15:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc5410x-set-voltage-api/m-p/545504#M13076</guid>
      <dc:creator>gossamer69</dc:creator>
      <dc:date>2016-08-25T21:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Lpc5410x set voltage api</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc5410x-set-voltage-api/m-p/545505#M13077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked LPC5410x product with below &lt;A href="http://www.nxp.com/documents/errata_sheet/ES_LPC5410X.pdf"&gt;errata&lt;/A&gt; info:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2735i3E981E82C6D47477/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So, please using &lt;A href="http://www.nxp.com/products/software-and-tools/hardware-development-tools/lpcxpresso-boards/lpcopen-software-development-platform-lpc5410x:LPCOPEN-SOFTWARE-FOR-LPC5410X"&gt;LPCOpen software for LPC5410x&lt;/A&gt; provided power_lib instead using ROM set_voltage API.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 01:28:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc5410x-set-voltage-api/m-p/545505#M13077</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-08-26T01:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Lpc5410x set voltage api</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc5410x-set-voltage-api/m-p/545506#M13078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes i stumbled across that. So there is a bug in chip implemented API that needs workaround ? Can it be done without using the power API library? Because I am not using any libraries, only bare metal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can happen if I dont use the power_lib ? can I fry the chip or ?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 09:25:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc5410x-set-voltage-api/m-p/545506#M13078</guid>
      <dc:creator>gossamer69</dc:creator>
      <dc:date>2016-08-26T09:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Lpc5410x set voltage api</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc5410x-set-voltage-api/m-p/545507#M13079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, that should be a chip bug and need using workaround way.&lt;/P&gt;&lt;P&gt;If there without calling the power API library, the LPC5410x could not get the correct power supply. Then the chip could not work normally.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 08:00:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc5410x-set-voltage-api/m-p/545507#M13079</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-08-29T08:00:18Z</dc:date>
    </item>
  </channel>
</rss>

