Specifications

PWM
Twelve pins support hardware PWM, refer to the following table. Note that there are really only 8
PWM generators on this chip, four of them have the ability to be routed to one of two different pins
(only one of the two pins can be a PWM output at a time). So keep in mind there are 8 total PWM
generators, not 12.
Timer Channel Output Pin SNAPpy IO Alternate Output Pin Alternate SNAPpy IO
TIM 1 C1 PB6 14 N/A N/A
TIM 1 C2 PB7 15 N/A N/A
TIM 1 C3 PA6 6 N/A N/A
TIM 1 C4 PA7 7 N/A N/A
TIM 2 C1 PA0 0 PB1 9
TIM 2 C2 PA3 3 PB2 10
TIM 2 C3 PA1 1 PB3 11
TIM 2 C4 PA2 2 PB4 12
Serial rates
The initUart() built-in supports 300-65535 bps as well as 115.2Kbps (115.2Kbps is specified using a
“baudrate” of 1). Other baud rates are attainable using poke() statements.
Page 188 of 202 SNAP Reference Manual Document Number 600-0007K