For one thing, it's the H Bridge driving the motor, not the HCS12 pins.
Do you have external pull ups? The rise/fall time depends on the pull ups.
Too weak of a pull up, and slow rise time too strong slow fall time.
What is the part number of the H-Bridge?
Does it have built in fly back diodes?
Did the "guy" say exactly why it would burn it?
What drive voltage are you using vs the rating for the motor?
Does the motor heat up - beyond the specification?
(it's pretty normal for a motor to get warm/hot)
You see, it is hard to answer such a question with out all the data.