Panasonic F77G, MN101C77C user manual Basic Operations and Timing

Models: F77G MN101C77C

1 544
Download 544 pages 59.61 Kb
Page 447
Image 447

Chapter 14 Automatic Transfer Controller

14-3 Operation

14-3-1 Basic Operations and Timing

ATC1 is a DMA block that enables the hardware to transfer the whole memory space (256 KB). This section provides a description of and timing for the basic ATC1 operations.

System clock (fs)

DMA start request (synchronous signal)

BREQ

 

 

BGRNT

 

 

 

CPU bus release adjustment cycle

LDDMA

 

 

STDMA

 

 

Address bus

Source

Destination source destination

ATC1IRQ

 

 

 

Load cycle

Store cycle

 

Byte data transfer cycle

Figure 14-3-1 ATC1 Timing Chart

„ATC1 activation and internal bus acquisition

ATC1 activates either when the selected interrupt factor occurs or when the software sets the activation flag. Set the ATC1 trigger factor in ATC1 control register 1 (AT1CNT1).

When ATC1 starts, the ATC1 controller asserts the BREQ signal, which requests the MCU core to release the bus. When the core receives the BREQ signal, it stops all normal executions, even if it is in the middle of executing an instruction, and releases the bus at the next available timing. The core takes a maximum of four cycles from the time it receives the BREQ signal until it actually releases the bus. After it releases the internal bus, the core returns the bus granted signal, BGRNT, to ATC1. ATC1 can then begin using the bus to transfer data.

When an external interrupt is selected as an ATC1 trigger factor, specify the activa- tion valid edge by the REDGn flag of the external interrupt control register, and the EDGSELn flag of the both edges interrupt control register (EDGDT).

[ Chapter 3 3-3. External interrupts]

Set the valid edge for external interrupts before ATC1 activates.

Operation XIV - 9

Page 447
Image 447
Panasonic F77G, MN101C77C user manual Basic Operations and Timing