<?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>MCX MicrocontrollersのトピックRe: Title: Unable to Generate Orange Color on FRDM-MCXN236 RGB LED Using CTIMER PWM</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/Title-Unable-to-Generate-Orange-Color-on-FRDM-MCXN236-RGB-LED/m-p/2380319#M5507</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/263645"&gt;@syedsahil28803_gmail_com&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the post!&lt;/P&gt;
&lt;P&gt;1. The RGB could be controlled independently the brightness of each color.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.&lt;/P&gt;
&lt;P&gt;P4_17 : CTimer 3 MAT 1&lt;/P&gt;
&lt;P&gt;P4_18 :&amp;nbsp;CTimer 3 MAT 2&lt;/P&gt;
&lt;P&gt;P4_19 :&amp;nbsp;CTimer 3 MAT 3&lt;/P&gt;
&lt;P&gt;3. You could select the same channel to control the PWM period for the other 3 signals.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. Yes, the expected use of the example is PWM demonstration.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;5. I tried out at my end, the PWM successfully control the brightness, but the combination of the colors does not result in orange, it is more like yellow. This could be a limitation of the RGB Led on the board.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jun 2026 16:58:08 GMT</pubDate>
    <dc:creator>carlos_o</dc:creator>
    <dc:date>2026-06-11T16:58:08Z</dc:date>
    <item>
      <title>Title: Unable to Generate Orange Color on FRDM-MCXN236 RGB LED Using CTIMER PWM</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Title-Unable-to-Generate-Orange-Color-on-FRDM-MCXN236-RGB-LED/m-p/2379548#M5503</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I am currently learning embedded systems using the NXP FRDM-MCXN236 development board and experimenting with the onboard RGB LED using the MCUXpresso SDK ctimer_pwm_example.&lt;/P&gt;&lt;P&gt;My goal is to generate an orange color on the onboard RGB LED. Since orange is typically created by mixing red at a high brightness and green at a lower brightness while keeping blue off, I expected to achieve this through PWM duty cycle control.&lt;/P&gt;&lt;P&gt;Here is what I have discovered so far.&lt;/P&gt;&lt;P&gt;The original example configures:&lt;/P&gt;&lt;P&gt;PORT4_19 -&amp;gt; CT3_MAT3&lt;/P&gt;&lt;P&gt;and the onboard RGB LED illuminates green.&lt;/P&gt;&lt;P&gt;I then experimented by changing only the pin number in:&lt;/P&gt;&lt;P&gt;PORT_SetPinConfig(PORT4, XX, &amp;amp;port4_19_pinR10_config);&lt;/P&gt;&lt;P&gt;Observations:&lt;/P&gt;&lt;P&gt;PORT4_19 illuminates Green&lt;BR /&gt;PORT4_18 illuminates Red&lt;BR /&gt;PORT4_17 illuminates Blue&lt;/P&gt;&lt;P&gt;If I configure both PORT4_17 and PORT4_18 using the same configuration, I get Magenta (Red + Blue).&lt;/P&gt;&lt;P&gt;This makes me think that the same CTIMER output signal is being routed to multiple RGB channels.&lt;/P&gt;&lt;P&gt;The main issue is that changing DUTY_CYCLE values such as 0, 25, 50, 75, 99, or 100 does not appear to produce meaningful brightness changes. Because of this, I cannot independently control the intensity of the red and green channels and therefore cannot generate orange.&lt;/P&gt;&lt;P&gt;My understanding at the moment is that I may be driving multiple RGB channels using the same PWM output, meaning all channels receive the same duty cycle and cannot have independent brightness levels.&lt;/P&gt;&lt;P&gt;I would appreciate help with the following questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is the onboard RGB LED on the FRDM-MCXN236 capable of true independent RGB PWM control?&lt;/LI&gt;&lt;LI&gt;Which CTIMER match outputs are connected to:&lt;UL&gt;&lt;LI&gt;PORT4_17 (Blue)&lt;/LI&gt;&lt;LI&gt;PORT4_18 (Red)&lt;/LI&gt;&lt;LI&gt;PORT4_19 (Green)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Do I need separate CTIMER match channels (MAT0, MAT1, MAT2, MAT3) to independently control the RGB channels?&lt;/LI&gt;&lt;LI&gt;Is the ctimer_pwm_example intended only as a PWM demonstration rather than an RGB color-mixing example?&lt;/LI&gt;&lt;LI&gt;Has anyone successfully generated orange or arbitrary RGB colors on the onboard RGB LED?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Any explanation regarding the RGB LED hardware routing, pin multiplexing, and recommended approach for RGB color mixing on this board would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2026 12:53:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Title-Unable-to-Generate-Orange-Color-on-FRDM-MCXN236-RGB-LED/m-p/2379548#M5503</guid>
      <dc:creator>syedsahil28803_gmail_com</dc:creator>
      <dc:date>2026-06-10T12:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Title: Unable to Generate Orange Color on FRDM-MCXN236 RGB LED Using CTIMER PWM</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Title-Unable-to-Generate-Orange-Color-on-FRDM-MCXN236-RGB-LED/m-p/2380319#M5507</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/263645"&gt;@syedsahil28803_gmail_com&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the post!&lt;/P&gt;
&lt;P&gt;1. The RGB could be controlled independently the brightness of each color.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.&lt;/P&gt;
&lt;P&gt;P4_17 : CTimer 3 MAT 1&lt;/P&gt;
&lt;P&gt;P4_18 :&amp;nbsp;CTimer 3 MAT 2&lt;/P&gt;
&lt;P&gt;P4_19 :&amp;nbsp;CTimer 3 MAT 3&lt;/P&gt;
&lt;P&gt;3. You could select the same channel to control the PWM period for the other 3 signals.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. Yes, the expected use of the example is PWM demonstration.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;5. I tried out at my end, the PWM successfully control the brightness, but the combination of the colors does not result in orange, it is more like yellow. This could be a limitation of the RGB Led on the board.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2026 16:58:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Title-Unable-to-Generate-Orange-Color-on-FRDM-MCXN236-RGB-LED/m-p/2380319#M5507</guid>
      <dc:creator>carlos_o</dc:creator>
      <dc:date>2026-06-11T16:58:08Z</dc:date>
    </item>
  </channel>
</rss>

