
GR716-DS-UM, May 2019, Version 1.29
277
www.cobham.com/gaisler
GR716
30
Pulse Width Modulation Generator
The GR716 comprises 2 separate pulse width modulator generator (PWM) units. PWM unit number 0
can generate 8 pairs of output signals in normal and complementary format. For example PWM out-
put 1 (PWM1) is the complementary version of PWM output 0 (PWM0). PWM unit 1 is only con-
nected to complementary outputs, i.e. PWM unit 1 can generate outputs PWM1, PWM3... PWM15.
PWM unit 0 and PWM unit 1 are identical and each unit has its own set of status and configuration
registers described in this chapter. Each PWM unit has a unique AMBA address described in chapter
2.11.
The PWM units are located on APB bus in the address range from 0x80310000 to 0x8031FFFF and
0x80410000 to 0x8041FFFF. See PWM units connections in the next drawing. The figure shows
memory locations and functions used for PWM configuration and control.
The primary clock gating unit
GRCLKGATE
described in section 26 is used to enable/disable indi-
vidual PWM units. The unit
GRCLKGATE
can also be used to perform reset of individual PWM
units. Software must enable clock and release reset described in section 26 before PWM configuration
and transmission can start.
External IO selection per PWM unit is made in the system IO configuration register (
GRGPREG
) in
the address range from 0x8000D000 to 0x8000D03F. See section 7.1 for further information.
Each
PWMx
unit controls its own external pins and has a unique AMBA address described in chapter
2.11. PWM unit 0 and 1 have identical configuration and status registers. Configuration and status
registers are described in section 30.3.
The system can be configured to protect and restrict access to individual PWM units in the
MEM-
PROT
unit. See section 47 for more information.
Figure 40.
GR716
PWM
bus and pin connection
GPIO0
LEON3FT
Processor
Bridge
Bridge
MEMPROT
Bridge
APB
(0x80000000-
GRCLKGATE
0x800FFFFF)
APB
(0x80100000-
0x801FFFFF)
APB
(0x80300000-
0x803FFFFF)
PWM unit 0
IOMUX
GPIO63
Main AHB
(0x00000000-
0xFFFFFFFF)
Select Outputs
Enable PWMx clocks
(0x8000D000 -
0x8000D03F)
(0x80006000 -
0x8000600F)
GRGPREG
Memory Protection
(0x8001A000 -
0x8001AFFF)
Bridge
APB
(0x80400000-
0x804FFFFF)
PWM unit 1