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.

TM4C123GH6PM: PWM pins in TM4C to drive motor

Part Number: TM4C123GH6PM
Other Parts Discussed in Thread: SN74LVC4245A

Hi,

I am trying to use 6 PWM pins to drive MOSFET's in motor controller .

I would like to know if there is any constraints to drive 6 MOTOR's together . Each motor drives  10A from a different power supply.

One more thing, is there any way we can drive 5v output from GPIO pins in TM4C123GH6PM.

Thanks,

Ayushi

  • Ayushi Thakkar said:
    any constraints to drive 6 MOTOR's together .

    Do you really seek to drive SIX MOTORS?     Really?

    You realize that there are (many) different motor types - yet you provide 'no clue' as to the motors - AND different motors (likely) demand different Control Methods & Interconnects.

    Ayushi Thakkar said:
    is there any way we can drive 5V output from GPIO pins in TM4C123GH6PM.

    Indeed you may - there are 'Voltage Translator ICs' - which properly/safely convert 3V3 to 5V - and vice versa.    You  don't specify the output level required - this vendor produces such 'Multi-Channel' voltage translator ICs.   Individual FETs - likely PFETs - enable the delivery of (far) higher currents.

    You should know that for 'over a decade' now my small Tech Firm has employed, '6 PWM Outputs to Drive 6 Power FETs' (after being boosted by FET 'gate-drivers') in the highly controlled drive of  BRUSHLESS DC MOTORS!     (It is suspected that you intended,  '6 Power Devices ... NOT 6 Motors!'     That is very well accommodated by your exact  '123' MCU!

  • (Thank you, Charles - for the 'Suggested Answer' framing.    Never/ever do I execute 'Self-Award.')

    With Staff's arrival - we can note this vendor's 'SN74LVC4245A' - which is an, 'Octal Bus Transceiver AND 3V3 to 5V Shifter.'    (So perfect - that!)

    This device provides up to 24mA of output current - when powered from (either) 3V3 or 5V.     My firm has deployed & been most pleased w/this device...

  • Thank you for the suggestion!

    I will look in o it.

  • Ayushi Thakkar said:
    I am trying to use 6 PWM pins to drive MOSFET's in motor controller .

    Thank you - it is believed that the top line of your initial post (added) the word 'MOSFETs'

    The use of 6 PWM signals (strongly) indicates your intent to, 'Drive a BLDC Motor.'   Kindly confirm.

    You then ask, "IF there are any constraints - in driving 6 such Motors?"   

    Indeed there are many:

    • do these BLDC Motors contain Hall Sensors?
    • if the above 'proves true' - how do you propose, 'Regularly Reading the Hall Sensors of EACH MOTOR?'
    • what are the current demands upon each motor?
    • how do you propose to provide proper PWM Drive Signals - to 'ALL SIX' BLDC Motors - with (only) 6 PWM Outputs?
    • it is (almost) certain that you must 'Measure the Current' of each motor - sometimes (even) the current demanded by each motor's (individual) Phases.

    Thus - if you (really) seek to 'Drive 6 BLDC Motors Together' - your keen response to those (points listed above) is sure to prove insightful...

    Reality - unfortunately - does not  'shine brightly' upon your success...