Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
ARM PrimeCell DC-DC converter interface technical reference manual.pdf
Скачиваний:
15
Добавлен:
23.08.2013
Размер:
377.02 Кб
Скачать

Chapter 2

Functional Overview

This chapter describes the major functional blocks of the ARM PrimeCell DC-DC Converter Interface (PL160) and contains the following sections:

ARM PrimeCell DC-DC Converter Interface (PL160) overview on page 2-2

PrimeCell DC-DC Converter Interface functional description on page 2-3

PrimeCell DC-DC Converter interface operation on page 2-6.

ARM DDI 0147D

© Copyright ARM Limited 1999. All rights reserved.

2-1

Functional Overview

2.1ARM PrimeCell DC-DC Converter Interface (PL160) overview

The PrimeCell DC-DC Converter Interface is a dual-output Pulse Width Modulation (PWM) controller. It can be configured under software control by writing control data via the AMBA APB interface to configure frequency and duty cycle of each output.

The two outputs DCDCDRIVE0OUT and DCDCDRIVE1OUT, can be configured to switch at one of four fixed frequencies with a duty cycle varying from 0 to 15/16 in increments of 1/16.

The module requires a clock signal to be applied to the DCDCCLK input since there is no internal oscillator. The DCDCCLK is internally divided by fixed factors of 16, 32, 128, or 304. If, for example, DCDCCLK is driven with a 28.8MHz nominal frequency, then the selectable drive output frequencies will be 1.8MHz, 900kHz, 225kHz, or 94.7kHz respectively.

This module can be used to implement a DC-DC converter by using the outputs to drive external power MOSFETs in an appropriate power conversion circuit.

The DCDCDRIVE0OUT and DCDCDRIVE1OUT pulses are enabled by the

DCDCFB0 and DCDCFB1 power supply monitor feedback pins.

During power-on reset, the DCDCDRIVE0OUT and DCDCDRIVE1OUT outputs are forced into a high-impedance state. Whilst in this state, the outputs are driven by weak pull-up or pull-down resistors and these values are registered to determine the subsequent drive polarity in each case. Registered LOW values will result in positive pulses, whilst registered HIGH values will result in negative pulses appearing on the respective drive output signals.

It is also possible for each drive output to switch between a pair of preprogrammed frequency/duty cycle combinations. To accomplish this, the external signals DCDCR0SEL and DCDCDR1SEL select one of two frequency and duty cycle configurations for each drive output.

2-2

© Copyright ARM Limited 1999. All rights reserved.

ARM DDI 0147D

Functional Overview

2.2PrimeCell DC-DC Converter Interface functional description

A block diagram of the PrimeCell DC-DC Converter Interface is shown in Figure 2-1:

PRDATA [7:0]

PWDATA[7:0]

PWRITE

PSEL

PENABLE

PADDR [7:2]

BnRES

PCLK

SCANMODE

DCDCCLK

nDCDCRST

 

 

 

 

 

 

 

 

DCDCDRIVEOE

 

 

 

 

 

Drive 0 Duty

 

 

 

 

 

 

 

 

 

 

 

DCDCDRIVE0OUT

 

 

 

 

Control

Freq Sel 0

 

Drive

 

 

 

 

 

 

 

 

 

 

 

 

 

DCDCDRIVE1OUT

AMBA

logic/

Drive 1 Duty

 

output

 

 

 

 

 

 

 

 

APB

 

registers

Freq Sel 1

logic

DCDCDRIVE0IN

interface

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DCDCDRIVE1IN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DCDCDR0SEL

 

 

DCDCDR1SEL

Note: For clarity, test logic is not represented.

 

DCDCFB0

 

 

 

DCDCFB1

Figure 2-1 PrimeCell DC-DC Converter Interface block diagram

The functions of the PrimeCell DC-DC Converter Interface are described in the following sections:

AMBA APB interface

Control logic on page 2-4

Drive output logic on page 2-5

Synchronizing registers and logic on page 2-5

Test registers and logic on page 2-5.

2.2.1AMBA APB interface

The AMBA APB interface generates read and write decodes for accesses to status and control registers (see Figure 2-2 on page 2-4 and Figure 2-3 on page 2-4).

The AMBA APB is a local secondary bus which provides a low-power extension to the higher bandwidth AMBA Advanced High-Performance Bus (AHB), or AMBA Advanced System Bus (ASB), within the AMBA system hierarchy. The AMBA APB groups narrow-bus peripherals to avoid loading the system bus. It provides an interface using memory-mapped registers which are accessed under programmed control.

ARM DDI 0147D

© Copyright ARM Limited 1999. All rights reserved.

2-3

Functional Overview

PCLK

PADDR

PWRITE

PSEL

PENABLE

PWDATA

PCLK

PADDR

PWRITE

PSEL

PENABLE

PRDATA

2.2.2Control logic

DATA

Figure 2-2 AMBA APB write access

DATA

Figure 2-3 AMBA APB read access

The control logic block contains normal and test mode registers which store data written across the AMBA APB. The read/write registers also allow data to be read back on the AMBA APB.

2-4

© Copyright ARM Limited 1999. All rights reserved.

ARM DDI 0147D