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.

TMS320F28335 GPIO to generate a clock using timer?

Other Parts Discussed in Thread: TMS320F28335, TMS320VC33

On TMS320F28335, is there any GPIO pins that can be used as a timer clock output to generate an clock without using the interrupt routine to toggle the GPIO pin?

I know, on TMS320VC33 DSP, there are two timer clock output pins that can be programmed to act as clock output. I wonder if there is any similar function/pins on TMS320F28335.

  • Wenbo,

    I don't believe there is a way to do what you're trying to do directly with GPIO pins.  However, if you are not using all of the F28335's PWM modules, one of these PWM outputs could be used to generate a clock signal output.   Since each PWM module has two PWM outputs, ideally you would choose to use one of the PWM outputs of a fully unused PWM module.  Each PWM module has it's own separate clock.

    If you're already using all of the PWMs, you could also use the eCAP peripheral's APWM mode if you prefer.  Each eCAP peripheral also has it's own clock.

    I'm sure there are other methods as well, but these are the two that immediately come to mind.


    Thank you,
    Brett

  • Wenbo,

    Also, the system clock can be output to the XCLKOUT pin (at least a divide by 4 version of the clock can, I think other ratios as well). Not a programmable frequency, but an option if you can use it.

    Regards,
    Dave Foley