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: How quick can the TM4C123G LaunchPad generate pulses

Part Number: TM4C123GH6PM

Hi there.

I'm currently going to be working with a system (really don't know much at the moment) where I need to generate a series of pulses after a certain event as occured. I'm looking to use the TM4C123G LaunchPad to achieve this. As the TM4C123G LaunchPad has an 80Mhz clock, how quick can I drive the timers if I used this as a reference clock? Working this out gives me a period of 12.5ns, but I guess I will be limited to other factors such as the speed I can turn the GPIO on and off. I will be driving the GPIOS directly tied to the attached timers.

Thanks

  • I am sorry, but your question is too ambiguous for me to give you a definite answer. What is meant by "certain event"? Does that equate to something like a pin toggle that generates an interrupt? How complex is the "series of pulses" and what are the timing requirements?
  • Phillip,
    Indeed more details would be welcome.
    The fastest square signal you can generate from a Tiva is half the clock, and that will be either using PWM or a Timer.
    How fast can you start that? First, it depends what sort of external event is being monitores (GPIO, a serial message, ADC?) - and it also non-deterministic, for you could be serving another interrupt when the event happened.
    Still, if you have all of your PWM pre-configured, all you need is one ROM_ call to get it working, which can be the first line inside the ISR that responds to your said event - that's relatively easy to be real-life measured with some code and a Launchpad.
    Regards
    Bruno
  • Bruno Saraiva said:
    that's relatively easy to be real-life measured with some code and a Launchpad.

    And - far FASTER, EASIER & MORE ACCURATELY MEASURED via "IAR w/J-Link" - using: "ZERO/NO Code!"     (automatically calculated & displayed - saves SO much time/effort!)