Hello,
I am using I.MXRT1064 prototype board where GPIO_SD_B0_00 (i.e. PWM1, A, 0) is connected to LCD for controlling the brightness and GPIO_SD_B0_01 (i.e. PWM1, B, 0) to control the buzzer. Both are PWM1 channels A and B respectively.
I need to drive these two channel separately with different frequencies. e.g. 2730Hz for Buzzer and 120Hz for LCD.
I can set different duty cycles for each of these channels but could not find any register to assign different frequencies to these channels.
As per peripheral view shown below, I can set only one frequency for both of these channels.
Is there any way by which I can set different frequencies for Channel A and Channel B?
Solved! Go to Solution.
Hi,
Thank you for your interest in NXP Semiconductor products and
for the opportunity to serve you.
Under the same submodule, I'm afraid that PWM_A and PWM_B can't output a pair of PWMs whose frequency is different.
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Thanks for the information.
Hi,
Thank you for your interest in NXP Semiconductor products and
for the opportunity to serve you.
Under the same submodule, I'm afraid that PWM_A and PWM_B can't output a pair of PWMs whose frequency is different.
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------