Skip to main content
SPark.28
Associate II
March 8, 2021
Solved

Is it possible to trigger serially using timers.

  • March 8, 2021
  • 3 replies
  • 994 views

For example, there are 3 timers (Timer 1, 2, 3).

I want to set like below:

  • Timer 1 : Master
  • Timer 2 : Slave of Timer1
  • Timer 3 : Slave of Timer2

When I checked the waveform after setting similarly to the above, it seemed that timer2 could not trigger timer3 properly.

So, I wonder if it is possible to trigger serially using timers.​

​

​

This topic has been closed for replies.
Best answer by waclawek.jan

The easiest way is to read them out in the debugger.

If you don't use debugger, then write a function which outputs their content to an UART, or similar.

JW

3 replies

waclawek.jan
Super User
March 8, 2021

> timer2 could not trigger timer3 properly

Why do you think so?

Read out and check/post content of timers registers.

JW

SPark.28
SPark.28Author
Associate II
March 9, 2021

I want to know method to read out registers.

​

waclawek.jan
waclawek.janBest answer
Super User
March 9, 2021

The easiest way is to read them out in the debugger.

If you don't use debugger, then write a function which outputs their content to an UART, or similar.

JW