Sillycrackers 0 Posted September 30, 2012 Share Posted September 30, 2012 Hello quick question here, How many Pwm outputs does the G2553 chip have? I am trying to read the datasheet: http://www.ti.com/lit/ds/symlink/msp430g2553.pdf but it is hard to get a straight answer. I need 4 individual Pwm outputs and 6 ADC inputs is this possible without interfering with each others pins? Thank you. Quote Link to post Share on other sites
oPossum 1,083 Posted September 30, 2012 Share Posted September 30, 2012 3 on 20 pin package or 4 on 28 pin package (SMD only) There are 8 analog inputs on P1.0 to P1.7 and only one PWM output conflicts with that range, so you could have 7 analog in, but will also loose hardware UART/SPI/IIC because those share pins with the ADC. Timer A0 CCR0: P1.1 or P1.5 Timer A0 CCR1: P1.2 or P1.6 Timer A0 CCR2: P3.0 Timer A1 CCR0: P2.0, P2.3, P3.1 or P3.4 Timer A1 CCR1: P2.1, P2.2, P3.2 or P3.5 Timer A1 CCR2: P2.4, P2.5, P3.3 or P3.6 CCR0 can not be used for PWM. Port 3 in only on 28 pin package. For some applications, you may be able to use software PWM. That works on any pin. Sillycrackers and dacoffey 2 Quote Link to post Share on other sites
Sillycrackers 0 Posted September 30, 2012 Author Share Posted September 30, 2012 Okay, So lets say i only need 2 pwm outputs for 2 motors and I have 6 sensors that need to hook up to the adc inputs. What pins would you recommend I hook these up to? (I have the 20 pin package) Thank you Quote Link to post Share on other sites
DebanjanDatta 0 Posted June 25, 2019 Share Posted June 25, 2019 Hi... So let me ask this straight. I have to run a 3phase BLDC Motor using a full bridge inverter. The PWM signals for the switches of the inverter need to be generated using a microcontroller. Which means I need 6 different PWM signals. Can this be achieved using an MSP430g2553 chip? I currently have the 20 pin version only. I happen to be a complete beginner in the matter of microcontrollers. So please be kind enough to overlook my dumbness if I've missed out something very obvious! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.