ADVANCE
CYWB02XX Family
Processor Interface (P-Port)
Functional Overview
Communication with the external processor is realized through a
dedicated processor interface. This interface is configured to
support different interface standards. This interface supports
multiplexing and non-multiplexing address or data bus in both
synchronous and asynchronous pseudo CRAM-mapped, and
non-multiplexing address or data asynchronous SRAM-mapped
memory accesses. The interface may be configured to pseudo
NAND interface to support the processor’s NAND interface. In
addition, this interface may be configured to support the slave
SPI interface. This ensures straightforward electrical communi-
cation with the processor, which may have other devices
connected on a shared memory bus. Asynchronous accesses
can reach a bandwidth of up to 66.7 MBps. Synchronous
accesses are performed at 33 MHz across 16 bits for up to 66.7
MBps bandwidth.
The SLIM Architecture
The SLIM architecture enables three different interfaces (P-port,
S-port, and U-port) to connect to each other independently.
With this architecture, a device using Astoria is connected to a
PC through a USB, without disturbing any of the device
functions. The device can still access mass storage when the PC
is synchronizing with the main processor.
The SLIM architecture enables new usage models, in which a
PC accesses a mass storage device independent of the main
processor, or enumerates access to both the mass storage and
the main processor at the same time.
In a handset using SLIM architecture, the user can do the
following:
The memory address is decoded to access any of the multiple
endpoint buffers inside Astoria. These endpoints serve as buffers
for data between each pair of ports; for example, between the
processor port and the USB port. The processor writes and reads
into these buffers through the memory interface.
■ Use the phone as a thumb drive.
■ Download media files to the phone with all the functionalities
still available on the phone.
■ Use the same phone as a modem to connect the PC to the
internet.
Access to these buffers is controlled by using a DMA protocol or
using an interrupt to the main processor. These two modes are
configured by the external processor.
8051 Microprocessor
As a DMA slave, Astoria generates a DMA request signal to
notify the main processor that a specific buffer is ready to be read
from or written to. The external processor monitors this signal
and polls Astoria for the specific buffers ready for a read or write
operation. It then performs the appropriate read or write
operations on the buffer through the processor interface. As a
result, the external processor only deals with the buffers to
access a multitude of storage devices connected to Astoria.
The 8051 microprocessor embedded in Astoria does basic
transaction management for all transactions between the P-Port,
S-Port, and the U-Port. The 8051 does not reside in the data
path; it manages the path. The data path is optimized for
performance. The 8051 executes firmware that supports NAND,
SD, SDIO, MMC+, and CE-ATA devices at the S-Port. For the
NAND device, the 8051 firmware follows the Smart Media
algorithm to support the following:
In the Interrupt mode, Astoria communicates important buffer
status changes to the external processor using an interrupt
signal. The external processor then polls Astoria for the specific
buffers ready for read or write, and it performs the appropriate
read or write operations through the processor interface.
■ Physical to Logical Management
■ ECC Correction support
■ Wear Leveling
■ NAND Flash bad blocks handling
USB Interface (U-Port)
Configuration and Status Registers
In accordance with the USB 2.0 specification, Astoria can
operate in both full speed and high speed USB modes. The USB
interface consists of the USB transceiver. The USB interface can
access and be accessed by both the P-Port and the S-Port.
The West Bridge Astoria device includes configuration and
status registers that are accessible as memory-mapped
registers through the processor interface. The configuration
registers enable the system to specify some behaviors of
Astoria. For example, it can mask certain status registers from
raising an interrupt. The status registers convey the status of
Astoria, such as the addresses of buffers for read operations.
The Astoria USB interface supports programmable
CONTROL/BULK/INTERRUPT/ISOCHRONOUS endpoints.
Document #: 001-11710 Rev. *C
Page 2 of 9
[+] Feedback