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.

Continuous TI Synchronous Serial Interface Clock

Part Number: TM4C123GH6PM
Other Parts Discussed in Thread: EK-TM4C123GXL

Tool/software:

Hi,

We are currently using the TM4C123GH6PM MCU and we are exploring if the SSI Clock can be programmed such that it can be configured to output a continuous clock pulsing.

From the Timing Chart of the SSI in TI mode, it seems to be continuous.

The reason is that we need to indirectly measure the System Clock instead of probing the crystal.

Or, please help to advice if there are others mean to measure the System Clock.

Thanks!!

Andrew.

  • Hi Andrew,

      I will suggest you use either a timer module in PWM mode or use the PWM module directly to produce a periodic signal. I think SSI in TI mode may not continuously generate the Fss signal if there is no more data in the TXFIFO but you can try. It is just that I feel using timer module is much easier. 

      You can try out the PWM example at C:\ti\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c123gxl\pwm_invert

      You can try out the Timer module in PWM mode in C:\ti\TivaWare_C_Series-2.2.0.295\examples\peripherals\timer\pwm.c

  • Hi Charles,  thanks for your quick response.  I really appreciate !!  Yes.  I think the PWM is the way to go.  I will test it out soon.  Andrew.