This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP432E401Y: MSP432P401R

Part Number: MSP432E401Y

我在使用MSP432P401R的时候遇到一些问题,我设置MCLK=48MHz,SMCLK=24MHz,使用Timer_A0来产生PWM,通过控制定时器来控制脉冲何时进行输出。

但是,在实际使用过程中,PWM经常会出现没有脉冲输出的情况。

如果我将SMCLK的时钟改为和MCLK一样的话,即MCLK=SMCLK=48MHz或24MHz的情况下,PWM输出就很稳定

这种情况不是在每一个芯片上都会出现,不知道有没有遇到类似的情况,或者对这个问题的原因有什么建议,感谢回复!

  • Hi,

      Sorry, MSP432P device was EOL'd (End of Life) years ago. We don't have much experience and knowledge with this device. Therefore,  we can no longer provide support for this device on e2e forum.  

      There are some examples for generating PWM using the timer module. Please run these examples first without modification and see if you can get it to work. Once working, you can modify to suit your application. I hope these examples will be helpful. 

  • 谢谢您的意见,我们的产品也在替换的过渡期,这颗芯片还有些库存

    我会仔细参考下SDK中的示例程序