|
NetBurner 3.5.6
PDF Version |
Location: examples/PlatformSpecific/SAME70/Timers/ChainedTimerOutput
Supported Platforms: MODM7AE70 SBE70LC
Timer Chaining Example
This example will chain timers 9, 10 and 11 to create a 48-bit timer. The output pulse waveform will appear on timer 11 as indicated in the pin tables below.
Timer channels 9, 10 and 11 are chained together to create a 48-bit timer. The default settings for the chained timers LineA are P2.28 for the MODM7AE70, and J1.4 for the SBE70LC. A GPIO output is used to output a pulse signal on each timer interrupt. P2.30 for the MODM7AE70, and J1.3 for the SBE70LC.
See also: Timer Waveform Capture example.
This is a good example to demonstrate how to:
SAME70 Timer Architecture
Timer signals on MODM7AE70 header pins:
Timer 0
P2.19 LineB TIOB0
P2.42 Clock TCLK0
Timer 1
P2.16 Clock TCLK1
Timer 2
P2.17 LineA TIOA2
P2.18 LineB TIOB2
P2.20 Clock TCLK2
Timer 5
P1.7 LineB TIOB5
Timer 7
P1.4 LineA TIOA7
Timer 8
P1.6 Clock TCLK8 Note: cannot be used if EBI is enabled
P1.8 LineA TIOA8 Note: cannot be used if EBI is enabled
P2.6 LineB TIOB8
Timer 11
P2.15 Clock TCLK11
P2.28 LineA TIOA11
P2.25 LineB TIOB11
Timer signals on SBE70LC header pins:
Timer 11
J1.4 LineA TIOA11
J1.7 LineB TIOB11