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.

TMS570LS0432 PWM

Other Parts Discussed in Thread: TMS570LS0432, DRV8835

Hi

Im looking for a micro capable of create and handle 12 independent PWMs, the time base can be the same. Also, capable of handle the processing of an analog signal and apply different digital filters. And at least 52 GPIO (they can be programable to be used like that, like analog pins that can be configured to be digital). I was thinking on the TMS570LS0432 because I think it has enough capacity to do so, but I'm not sure about the PWMs...

I hope you people can help me selecting the right one...

  • Miguel,

    I'll give a simple answer and if you have more questions we can go deeper.

    The simpler answer is that if you can deal with:

    • your PWM period being some N (integer) multiple of maybe 800ns to 1.6us
    • your minimum PWM period being around 2N
    • your duty cycle adjustable by steps of ~12.5ns (for 80MHz clock) or 10ns (if you use 100Mhz clock

    Then the answer would be yes.  If you need more like a center aligned PWM then it gets a bit more complex ... either the code and resources gets more complex or you pretty much would double the time scales we are talking about.

    If these speeds exceed what you need by a lot then I would say no problem and just look at the pinout of the part to check the other features.

    I'm not so sure about the GPIO count whether this includes the timer pins or not.
    And our ADC pins are not useable as GPIO.    You can *convert* the pins periodically & automatically compare then in a threshold register in the ADC to get a 1 or 0 value but this takes a sample & convert time slot ... and only lets you use the pin as an input.

  • I need a period of 1ms to 10ms, so i think there is no problem (im controlling 12 DC motors) and need 24 pins just for the encoders and 6 for the drive to select the mode, the 12 pwm and 12 for the direction. The duty cycle will be from 0 to 100% of the period (worst case). You think it is possible?

    The ADC i will check butif they can only be used as digital inputs, then i can connect some encoders pins to them or keep them for some future sensors.

    And the signal i can be sampling it every 52kHz to apply Fourier and the filters... 

    It would be possible??

  • I was looking at the 

    TMS570LS1114...

    what about this one?? i just have a question on this one actually... the 14PWM are independent one from the other, which means i can control 14 different motors with different duty cycle each one??

    regards!!

    Miguel Amezcua

  • Miguel,

    The LS1114 is a step function higher in performance in all around than the TMS570LS0432 and in addition to having 2 programmable timers (N2HET) which allow you to coordinate large #s of pins from a central, programmable unit, the LS1114 has 7 of the motor control timers ePWM that also appear on the C2000 product line.   These timers are in some sense less flexible than N2HET but they have a lot of functionality like deadband and complimentary, symmetric PWMs in hardware and can run faster because of all the dedicated hardware.     So you'll have lots of options.

    Synchronization between all the ePWMs and the N2HETs is possible if you want -- or you can chose not to synchronize.

    Of course this part is a little more expensive but if that's not an issue for you I would say you should have plenty of breathing room.  Just please do make sure you have your GPIO and ADC pin counts identified first, especially if you are looking at the 144 QFP package which has less pins available.  Your requirements sounded like they might be a little tight for that package but that's just off the cuff.  I'd want to see a spreadsheet of pin list versus function in your application before committing if I were you.  If you put that together (pin list and how you would want to use each pin) we'd be happy to review it for you.

  • I will explain what i need... 

    I need 12 PWMs to control 12 different motors. The time base will be the same, so that is not a problem, but i need the duty cycle of each PWM to be different. I need 12 pins to tell the direction with the DRV8835, 1 pin for the mode of 6 DRV8835, 24 pins for the encoders and 10 analog pins for future sensors. And enough capacity to digitalize a signal (an extra analog pin) and capable to apply pass-band filters digitally, and i was told that, since the signal goes from 5 to 520Hz, an 80Mhz MCU could do it, but the 80MHz has not enough pins... Thats why i was thinking on the LS1114...

    Thanks for your help!!