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.

External clock for CPU timer2 of F28035 MCU



Hi,

I am building a master-slave system using F28035 MCUs. The plan is to use the master MCU's ePWM signal to clock the slaves' CPU timer2. There, the whole system will have a global time.

I read the manual of F28035 and it says

CPU-Timer 2 can be clocked by any one of the following:
• SYSCLKOUT (default)
• Internal zero-pin oscillator 1 (INTOSC1)
• Internal zero-pin oscillator 2 (INTSOC2)
• External clock source

However, I don't know how exactly to externally clock CPU-timer 2. I guess I should use one of the GPIO pin to connect to an external clock signal, say, the ePWM output pin of the master MCU. And I may need to set a control register's value to make it externally clock?

I can't find more detail about this topic in the manuals, would somebody please help me with this?

If this is a sample code, that will be great! 

 

Thanks a lot!

Alfred