jturnsek opened a new pull request, #8788:
URL: https://github.com/apache/nuttx/pull/8788

   ## Summary
   i.MXRT FlexPWM has two outputs per PWM submodule, called A and B, 
respectively. Output B can be set to be complementary output for Output A or 
independent. Later is increasing the number of channels per FlexPWM module from 
4 to 8 if CONFIG_PWM_MULTICHAN is used. This PR is supporting this independent 
mode. If complementary mode is used, channel number of Output A must be used.
   
   ## Impact
   
   CONFIG_PWM_NCHANNELS must be set to 8 (maximum) and numbering of channels 
must be according, i.e. 0 to 7. Even if submodules are excluded with 
configuration. THis means if only MOD3 is used in FlexPWM1, usable channels are 
4 and 5.
   
   ## Testing
   
   Tested with rgbled example on EdgePro1, where FlexPWM2 MOD3 Out B is used 
for Red and FlexPWM1 MOD4 Out A and Out B is used for Green and Blue.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to