2.1 Program Control Unit.....................................................................................................................................23
2.1.1 CPU control .............................................................................................................................................23
2.1.2 Interrupt control .......................................................................................................................................23
2.1.3 Loop control stack ...................................................................................................................................23
2.1.4 PC stack ..................................................................................................................................................23
2.2 Operation Unit ................................................................................................................................................24
2.2.1 General-purpose registers (R0 to R7) .....................................................................................................24
2.3 Data Memory Unit...........................................................................................................................................24
2.3.1 Data memory ...........................................................................................................................................24
2.3.2 Data addressing unit................................................................................................................................25
2.4.1 Serial interface (SIO) ...............................................................................................................................25
2.4.5 Timers (TIM1 and TIM2)..........................................................................................................................26
5. FUNCTION OF BOOT-UP ROM ...........................................................................................................28
5.1 Boot at Reset ..................................................................................................................................................28
5.1.3 Serial boot ...............................................................................................................................................29
5.2.3 Serial reboot ........................................................................................................................................... 30
6.1 Halt Mode ....................................................................................................................................................... 31
7.2 Data Memory.................................................................................................................................................. 34
7.2.1 Data memory map .................................................................................................................................. 34
9.1 Outline of Instruction .................................................................................................................................... 39
9.2 Instruction Set and Its Operation................................................................................................................. 40
Because the pin numbers differ depending on the package, see the column for the package to be used in the
tables below.
1.1 Description of Pin Functions
•••• Power supply pins
Pin No.Pin Name
144-pin LQFP161-pin FBGA
IV
DD
EV
DD
GND1,9,19,22,24,
18,21,23,57,
88,123
8,26,37,47,59,
71,86,98,108,
110,121,133,
144
27,36,38,48,
58,60,72,73,
87,89,99,109,
122,124,134,
143
A7,A8,B7,H1,
J14, P7
A6,A11,C1,
C14,F1,F14,
J1,K14,M1,
M14,P6,P10,
P12
A5,C13,D4,D5,
D7,D8,D9,D10,
E4,E11,G4,
G11,H4,J11,
K11,L3,L4,L6,
L7,L9,L11
Remark Please supply voltage to the IV
I/OFunctionAlternate
−Power supply for DSP core (+1.5 V)
These pins supply power to the DSP core.
−Power supply for I/O (+3.3 V)
These pins supply power to the external interface
pins.
−Ground
These are ground pins.
DD
and EVDD pins simultaneously.
Pin
−
−
−
Data Sheet U15203EJ3V0DS
13
•••• Clock and system control pins
Pin No.Pin Name
144-pin LQFP161-pin FBGA
CLKIN20C6InputClock input
CLKOUT25B6OutputInternal system clock output
PLL0 to
PLL3
HALTS13C8OutputHALT mode status output
STOPS11A10OutputStop mode status output
CSTOP12B10InputStop mode clear signal input
14 to 17A9,B9,C7,B8InputPLL multiple setting input
I/OFunctionAlternate
This pin inputs a clock to operate the
Family.
This pin outputs the internal system clock that is the
clock input from CLKIN and which is multiplied by the
PLL circuit.
These pins set a clock multiple of the PLL circuit.
• PLL3: PLL2: PLL1: PLL0
0000: x100001: x120010: x14
0011: x160100: x180101: x20
0110: x220111: x241000: x26
1001: x281010: x301011: x32
1100: x40 1101: x481110: x56
1111: x64
This pin is asserted active in halt mode and stop
mode.
This pin is asserted active in stop mode.
Stop mode is cleared when this pin is asserted
active.
µµµµ
PD77210, 77213
PD77210
µ
Pin
−
−
−
−
−
−
14
Data Sheet U15203EJ3V0DS
µµµµ
PD77210, 77213
•••• Reset and interrupt pins
Pin No.Pin Name
144-pin LQFP161-pin FBGA
RESET10C9InputInternal system reset signal input
INT0028C5InputP0
INT0132C4InputP4
INT0239C2InputP8/HD8
INT0343D3InputP12/HD12
INT1029D6InputP1
INT1133A3InputP5
INT1240C3InputP9/HD9
INT1344E3InputP13/HD13
INT2030A4InputP2
INT2134B4InputP6
INT2241D1InputP10/HD10
INT2345E1InputP14/HD14
INT3031B5InputP3
INT3135B3InputP7
INT3242D2InputP11/HD11
INT3346E2Input
I/OFunctionAlternate
Pin
−
This pin initializes the
Maskable external interrupt input
These pins input external interrupts.
PD77210 Family.
µ
P15/HD15
Data Sheet U15203EJ3V0DS
15
•••• External data memory interface
Pin No.Pin Name
144-pin LQFP161-pin FBGA
MA0 to
MA19
MD0 to
MD15
MWR116K12Output
MRD115L13Output
MHOLDAK114L14OutputHold acknowledge signal
MHOLDRQ 113L12InputHold request signal
MWAIT117K13InputWait signal input
MBSTB118J13OutputBus strobe signal
Note
84, 85,
90 to 97,
100 to 107,
111, 112
119,120,
125 to 132,
135 to 140
M6,N6,N7,P8,
M7,M8,P9,N8,
L8,N9,M9,N10,
M10,P11,L10,
M11,N11,N12,
M13,M12
J12,H13,G13,
H14,H12,H11,
G14,F13,G12,
E13,F11,E14,
D13,F12,E12,
D14
I/OFunctionAlternate
Output
(3S)
I/O
(3S)
(3S)
(3S)
Address bus of external data memory
These pins output an address when the external data
memory is accessed.
16-bit data bus
These pins input/output data when the external data
memory is accessed.
Write output
This pin outputs a write strobe signal for the external
data memory.
Read output
This pin outputs a read strobe signal for the external
data memory.
This pin goes low when the external device is
granted use of the external data memory bus of the
PD77210 Family.
µ
The external device inputs a low level to this pin
when it uses the external data memory bus of the
PD77210 Family.
µ
This pin inserts wait cycles when the
Family accesses the external data memory.
• 0: Inserts wait cycles.
• 1: Does not insert wait cycles.
This pin goes low while the
the external data memory bus.
Note MA13 to MA19 pins of the µPD77213 are alternate function pins.
µµµµ
PD77210, 77213
PD77210
µ
PD77210 Family uses
µ
Pin
SDCLK,
SDCR,
SDDAT0,
SDMON
−
−
−
−
−
−
−
Remark Those pins marked “3S” in the above table enter the high-impedance state under the following
conditions:
MA0 to MA19, MRD, and MWR: When the bus is released (MHOLDAK = low level)
MD0 to MD15: When the external data memory is not accessed and when the bus is released
(MHOLDAK = low level)
16
Data Sheet U15203EJ3V0DS
µµµµ
PD77210, 77213
•••• Timer
Pin No.Pin Name
144-pin LQFP161-pin FBGA
TIMOUT68K3OutputTime out monitor
I/OFunctionAlternate
Pin
This pin is asserted active when the timer times out.
•••• Serial interface
Pin No.Pin Name
144-pin LQFP161-pin FBGA
ASCK/
BCLK
ASO70K4Output
ASI76P3InputAudio serial data input−
ASOEN/
LRCLK
ASIEN/
MCLK
TSCK79N4InputClock input for time division serial−
TSO78P4Output
TSI81P5InputTime-division serial data input−
TSORQ82M5OutputTime-division serial output request−
TSOEN77M4InputTime-division serial output enable−
TSIEN80L5InputTime-division serial input enable−
TSIAK83N5OutputTime-division serial input acknowledge−
74M2I/OAudio serial clock input/output
69M3I/OAudio serial output enable/left right clock input output
75N3InputAudio serial input enable/master clock input output
I/OFunctionAlternate
Pin
ASCK:Audio serial clock input
BCLK:Serial clock I/O
Audio serial data output−
(3S)
ASOEN:Audio serial output enable input
LRCLK:Left right clock I/O
ASIEN:Audio serial input enable input
MCLK:Master clock input (in master mode)
Time-division serial data output−
(3S)
Remark Those pins marked “3S” in the above table enter the high-impedance state when data transmission is
completed and when the hardware reset (RESET) signal is input.
−
−
−
−
Data Sheet U15203EJ3V0DS
17
µµµµ
PD77210, 77213
•••• Host interface
Pin No.Pin Name
144-pin LQFP161-pin FBGA
HA163J3InputHost address 1
HA062K1InputHost address 0
HCS61J2InputChip select input−
HRD64K2InputHost read input−
HWR66J4InputHost write input−
HRE65L2OutputHost read enable output−
HWE67L1OutputHost write enable output−
HD0 to
HD7
HD8 to
HD15
49 to 56F4,F2,F3,G1,
G3,G2,H3,H2
39 to 46C2,C3,D1,D2,
D3,E3,E1,E2
I/OFunctionAlternate
Pin
This pin specifies a register that is accessed by the
host interface pins (HD7 to HD0, or HD15 to HD0).
• 1: The host interface status register (HST) is
accessed.
• 0: The host transmit data register (HDT (out)) is
accessed for read (HRD = 0) and the host receive
data register (HDT (in)) is accessed for write (HWR
= 0).
This pin specifies a register that is accessed by HD7
to HD0 in 8-bit mode. This pin is invalid in 16-bit
mode.
• 1: Bits 15 to 8 of HST, HDT (in), and HDT (out) are
accessed.
• 0: Bits 7 to 0 of HST, HDT (in), and HDT (out)
are accessed.
I/O
(3S)
I/O
(3S)
8-bit host data bus
These pins constitute a host data bus in 8-bit host
mode. Access to 16-bit data for input/output is
controlled by the HA0 pin, and the data is accessed
two times such that it is divided into two blocks of 8-
bit data.
In 16-bit mode, the lower 8 bits of the data are
input/output.
Host data bus
These pins constitute a host data bus in 16-bit host
mode. They input/output 16-bit data with HD0 to
HD7.
P8 to P15/
INT02,
INT12,
INT22,
INT32,
INT03,
INT13,
INT23,
INT33
Remark Those pins marked “3S” in the above table enter the high-impedance state while the host interface is not
being accessed.
−
−
−
18
Data Sheet U15203EJ3V0DS
µµµµ
PD77210, 77213
•••• I/O port
Pin No.Pin Name
144-pin LQFP161-pin FBGA
P028C5I/OINT00
P129D6I/OINT10
P230A4I/OINT20
P331B5I/OINT30
P432C4I/OINT01
P533A3I/OINT11
P634B4I/OINT21
P735B3I/OINT31
P839C2I/OINT02/HD8
P940C3I/OINT12/HD9
P1041D1I/OINT22/HD10
P1142D2I/OINT32/HD11
P1243D3I/OINT03/HD12
P1344E3I/OINT13/HD13
P1445E1I/OINT23/HD14
P1546E2I/O
I/OFunctionAlternate
Pin
General-purpose I/O port
INT33/HD15
•••• Debugging interface
Pin No.Pin Name
144-pin LQFP161-pin FBGA
TDO141C12Output
TICE142D12Output−
TCK2B12Input−
TDI3C11Input−
TMS4D11Input−
TRST5A12Input
I/OFunctionAlternate
Pin
For debugging
(3S)
This interface pins are used when a debugger is
used.
Remark Those pins marked “3S” in the above table enter the high-impedance state while the debugging interface
is not being accessed.
−
−
Data Sheet U15203EJ3V0DS
19
µµµµ
PD77210, 77213
••••SD card interface (
SDCLK112M12OutputSD card clock output
SDCR111M13I/O
SDDAT0104L10I/O
SDMON103P11OutputSD card interface access monitor
Reserved105 to 107M11, N11, N12−Reserved for future function expansion.
µµµµ
PD77213 only)
Pin No.Pin Name
144-pin LQFP161-pin FBGA
I/OFunctionAlternate
Pin
MA19
• Leave this pin open.
(3S)
(3S)
SD cord command/response
Input: Response
Output: Command
• Leave pull-up.
SD card data input/output
Input: Read data
Output: Write data
• Leave pull-up.
This pin outputs a high level when the SD card
interface is being accessed.
1: SD card interface being accessed
0: SD card interface not being accessed
This pin becomes high impedance when the SD card
interface is being used.
MA18
MA14
MA13
MA15 to
MA17
Remark Those pins marked “3S” in the above table enter the high-impedance state when the SD card interface is
not being accessed.
•••• Others
Pin No.Pin Name
144-pin LQFP161-pin FBGA
I.C.6, 7B11, C10−Internally connected.
NC−A1,A2,A13,
A14,B1,B2,
B13,B14,E5,
N1,N2,N13,
N14,P1,P2,
P13,P14
I/OFunctionAlternate
Leave these pins open.
−No connection.
Leave these pins open.
Caution If any signal is input to these pins or if these pins are read, the correct operation of the
Family is not guaranteed.
Pin
−
−
µµµµ
PD77210
20
Data Sheet U15203EJ3V0DS
µµµµ
PD77210, 77213
1.2 Connection of Unused Pins
1.2.1 Connection of functional pins
Connect the unused pins as shown in the table below.
Pin NameI/ORecommended Connection
STOPS, HALTSOutputLeave open.
CSTOPInputConnect to GND via a pull-down resistor.
CLKOUTOutputLeave open.
P0 to P15I/OConnect to EVDD via a pull-up resistor or to GND via a pull-down resistor.
HD0 to HD7
HA0, HA1InputConnect to EVDD via a pull-up resistor or to GND via a pull-down resistor.
HCS, HRD, HWRInputConnect to EV
HRE, HWEOutputLeave open.
TIMOUTOutputLeave open.
ASCK, TSCKInput
ASI, TSIInput
ASIEN, TSIENInput
ASOEN, TSOEN,
LRCLK
ASO, TSOOutput
TSORQOutput
TSIAKOutput
MA0 to MA19OutputLeave open.
MD0 to MD15
MRD, MWROutputLeave open.
MHOLDRQInputConnect to EVDD via a pull-up resistor.
MBSTB, MHOLDAKOutputLeave open.
MWAITInputConnect to EVDD via a pull-up resistor.
TCKInputConnect to GND via a pull-down resistor.
TDO, TICEOutputLeave open.
TMS, TDIInputLeave open (this pin is internally pulled up).
TRSTInputLeave open (this pin is internally pulled down).
Note 1
Note 2
I/OConnect to EVDD via a pull-up resistor or to GND via a pull-down resistor.
via a pull-up resistor.
DD
Connect to EVDD
Connect to GND via a pull-down resistor.
Input
Leave open.
I/OConnect to EVDD via a pull-up resistor or to GND via a pull-down resistor.
via a pull-up resistor or to GND via a pull-down resistor.
Notes 1. These pins may left opened if the HCS, HRD,and HWR are fixed to the high level.
However, connect these pins as recommended in the HALT and STOP modes when the power
consumption must be lowered.
2. These pins may leave opened if the external data memory is not accessed in the program.
However, connect these pins as recommended in the HALT and STOP modes when the power
consumption must be lowered.
Caution Unused alternate-function pins should be handled in accordance with the processing specified
for the pin function of the initial setting.
Data Sheet U15203EJ3V0DS
21
1.2.2 Connection of non-functional pin
Pin nameI/ORecommended Connection
I.C.−Leave open.
NC−Leave open.
µµµµ
PD77210, 77213
22
Data Sheet U15203EJ3V0DS
2. FUNCTIONAL OUTLINE
2.1 Program Control Unit
µµµµ
PD77210, 77213
This unit controls the execution of
interrupts, clock, and standby mode.
2.1.1 CPU control
A three-stage pipeline architecture is employed so that all instructions, except branch instructions and some
others, can be executed with one system clock.
2.1.2 Interrupt control
The interrupt control circuit services the interrupt requests input to the interrupt controller by an external pin
(INTmn) or internal peripherals (such as the serial interface, host interface, timer, and DMA controller). The interrupt
of each interrupt source can be individually enabled or disabled. In addition, multiple interrupts are also supported.
2.1.3 Loop control stack
A loop function without any hardware overhead is realized. A 4-level loop stack is provided to support multiple
loops.
2.1.4 PC stack
A 15-level PC stack that stacks the program counter supports multiple interrupts/subroutine calls.
2.1.5 Clock control
A PLL and a divider are internally provided as a clock generator so that an externally input clock is multiplied or
divided and supplied as the operating clock to the µPD77210 Family. The multiple of the PLL can be set by using
external pins (PLL0 to PLL3) within a range of ×10 to 64. The division ratio can be set by using a register in a range
of ÷1 to 16.
The clock control register (CLKC) controls the power (ON/OFF) to the PLL, selects a clock source, controls the
output divider, and controls the output of the CLKOUT pin.
Two types of standby modes are available so that the power consumption can be reduced when the µPD77210
Family is standing by.
PD77210 Family by executing instructions and controlling branching, loop,
µ
•HALT mode: Current consumption falls to several mA upon execution of the HALT instruction.
This mode is released by an interrupt or hardware reset.
•STOP mode:Current consumption falls to hundreds of
This mode is released by hardware reset or inputting a signal to CSTOP pin.
Note When the PLL is stopped
Data Sheet U15203EJ3V0DS
Note
A
upon execution of the STOP instruction.
µ
23
Loading...
+ 51 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.