AT32UC3C1512C Automotive Atmel Corporation, AT32UC3C1512C Automotive Datasheet - Page 488

no-image

AT32UC3C1512C Automotive

Manufacturer Part Number
AT32UC3C1512C Automotive
Description
Manufacturer
Atmel Corporation
24.4.4
24.4.5
24.5
24.5.1
9166C–AVR-08/11
Functional Description
Interrupt
Debug Operation
Memory Interface
ager. It is recommended to disable the MACB before disabling the clocks, to avoid freezing the
MACB in an undefined state.
The synchronization module in the MACB requires that the bus clock (CLK_MACB_HSB) runs
on at least the speed of the macb_tx/RX_CLK, which is 25MHz in 100Mbps, and 2.5MHZ in
10Mbps in MII mode and 50MHz in 100Mbps, and 5MHZ in 10Mbps in RMII mode.
The MACB interrupt request line is connected to the interrupt controller. Using the MACB inter-
rupt requires the interrupt controller to be programmed first.
When an external debugger forces the CPU into debug mode, the MACB continues normal
operation. If the MACB is configured in a way that requires it to be periodically serviced by the
CPU through interrupts or similar, improper operation or data loss may result during debugging.
The control registers drive the MDIO interface, setup DMA activity, start frame transmission and
select modes of operation such as full or half-duplex.
The receive sub-module checks for valid preamble, Frame Check Sequence (FCS), alignment
and length, and presents received frames to the address checking sub-module and DMA
interface.
The transmit sub-module takes data from the DMA interface, adds preamble and, if necessary,
pad and FCS, and transmits data according to the Carrier Sense Multiple Access with Collision
Detect (CSMA/CD) protocol. The start of transmission is deferred if Carrier Sense (CRS) is
active.
If Collision (COL) becomes active during transmission, a jam sequence is asserted and the
transmission is retried after a random back off. CRS and COL have no effect in full duplex mode.
The DMA interface can access external memory through its High Speed Bus (HSB). It contains
receive and transmit FIFOs for buffering frame data. It loads the transmit FIFO and empties the
receive FIFO using HSB bus master operations. Received data is not sent to memory until the
address checking logic has determined that the frame should be copied. Received or transmit-
ted frames are stored in one or more buffers. Receive buffers have a fixed length of 128 bytes.
Transmit buffers range in length between 0 and 2047 bytes, and up to 128 buffers are allowed
per frame. The DMA interface manages the transmit and receive frame buffer queues. These
queues can hold multiple frames.
Frame data is transferred to and from the MACB by the DMA interface. All transfers are 32-bit
words and may be single accesses or bursts of 2, 3 or 4 words. Burst accesses do not cross six-
teen-byte boundaries. Bursts of 4 words are the default data transfer; single accesses or bursts
of less than four words may be used to transfer data at the beginning or the end of a buffer.
The DMA interface performs six types of operation on the bus. In order of priority, these are:
1. Receive buffer manager write
2. Receive buffer manager read
AT32UC3C
488

Related parts for AT32UC3C1512C Automotive