<?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>S32KのトピックRe: Problem in producing Complimentary PWM using RTDs</title>
    <link>https://community.nxp.com/t5/S32K/Problem-in-producing-Complimentary-PWM-using-RTDs/m-p/1792620#M30919</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help. The code works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jan 2024 05:48:10 GMT</pubDate>
    <dc:creator>abdul_rahman</dc:creator>
    <dc:date>2024-01-22T05:48:10Z</dc:date>
    <item>
      <title>Problem in producing Complimentary PWM using RTDs</title>
      <link>https://community.nxp.com/t5/S32K/Problem-in-producing-Complimentary-PWM-using-RTDs/m-p/1792413#M30906</link>
      <description>&lt;P&gt;Hi NXP team,&lt;/P&gt;&lt;P&gt;I'm trying to prepare a project to make S32K344 controller to produce complimentary PWM outputs with a single eMIOS instance. I've tried using the presentation example, which was attached in one of the questions in the forum, which I've attached it for your reference.&amp;nbsp;I've also gone through the application notes of the 3-phase sensorless PMSM controller from NXP. The main.c file of my code is,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;int main(void)&lt;/DIV&gt;&lt;DIV&gt;{&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/* Initialize clock () */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Clock_Ip_Init(&amp;amp;Clock_Ip_aClockConfig[0]);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/* Initialize all pins using the Port driver */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Siul2_Port_Ip_Init(NUM_OF_CONFIGURED_PINS0, g_pin_mux_InitConfigArr0);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/* Initialize Emios_Mcl driver */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Emios_Mcl_Ip_Init(INSTANCE_0, &amp;amp;Emios_Mcl_Ip_0_Config_BOARD_INITPERIPHERALS);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/* Initialize Emios_Pwm_Ip driver */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Emios_Pwm_Ip_InitChannel(EMIOS_PWM_IP_I0_CH1_CFG, &amp;amp;Emios_Pwm_Ip_I0_Ch1);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/* Set new period for the channels that used external counter bus */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Emios_Mcl_Ip_SetCounterBusPeriod(INSTANCE_0, CHANNEL_0, 0x8000);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/* Duty cycle = 50% */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Emios_Pwm_Ip_SetDutyCycle(INSTANCE_0, CHANNEL_0, 0x4000);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; /* De-Initialize Emios_Pwm_Ip driver */&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; //Emios_Pwm_Ip_DeInitChannel(INSTANCE_0, CHANNEL_0);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Trgmux_Ip_Init(&amp;amp;Trgmux_Ip_xTrgmuxInitPB);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; //Lcu_Ip_SetSyncInputMuxSelect (LCU_IP_SYNC_SEL_INPUT0, 1U);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Lcu_Ip_Init(&amp;amp;Lcu_Ip_xLcuInitPB);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Comp_PWMList[0U].Value = LCU_IP_OUTPUT_ENABLE;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Comp_PWMList[1U].Value = LCU_IP_OUTPUT_ENABLE;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Lcu_Ip_SetSyncOutputEnable (&amp;amp;Comp_PWMList[0U], 2);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; return 0U;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have attached the entire project file for your reference. I've been on this code for over a week and I'm able to find out the bugs in my program. Please look into the errors I've made in preparing the code and also suggest me the solution to it. It would be really helpful.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;#S32K344 #emios #LCU #TRGMUX #PWM&lt;/DIV&gt;</description>
      <pubDate>Sat, 20 Jan 2024 17:22:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Problem-in-producing-Complimentary-PWM-using-RTDs/m-p/1792413#M30906</guid>
      <dc:creator>abdul_rahman</dc:creator>
      <dc:date>2024-01-20T17:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in producing Complimentary PWM using RTDs</title>
      <link>https://community.nxp.com/t5/S32K/Problem-in-producing-Complimentary-PWM-using-RTDs/m-p/1792537#M30914</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@abdul_rahman" target="_blank"&gt;Hi@abdul_rahman&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;please refer to the link below&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/LCU-out-PWM/td-p/1759686" target="_blank"&gt;https://community.nxp.com/t5/S32K/LCU-out-PWM/td-p/1759686&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;there is a demo project in the link and you can refer to it.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 02:32:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Problem-in-producing-Complimentary-PWM-using-RTDs/m-p/1792537#M30914</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2024-01-22T02:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in producing Complimentary PWM using RTDs</title>
      <link>https://community.nxp.com/t5/S32K/Problem-in-producing-Complimentary-PWM-using-RTDs/m-p/1792620#M30919</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help. The code works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 05:48:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Problem-in-producing-Complimentary-PWM-using-RTDs/m-p/1792620#M30919</guid>
      <dc:creator>abdul_rahman</dc:creator>
      <dc:date>2024-01-22T05:48:10Z</dc:date>
    </item>
  </channel>
</rss>

