pc87591l National Semiconductor Corporation, pc87591l Datasheet - Page 312

no-image

pc87591l

Manufacturer Part Number
pc87591l
Description
Lpc Mobile Embedded Controllers
Manufacturer
National Semiconductor Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PC87591L
Manufacturer:
NS
Quantity:
5 510
Part Number:
PC87591L
Manufacturer:
MOT
Quantity:
5 510
Company:
Part Number:
pc87591l-VPC
Quantity:
18
Part Number:
pc87591l-VPCN01
Manufacturer:
NSC
Quantity:
5 510
Part Number:
pc87591l-VPCN01
Manufacturer:
NS/国半
Quantity:
20 000
www.national.com
Host Controller Interface Modules
Random Number Generator Data Register, RNGD (PC87591S)
This register provides the random number value of the RNG.
Location: 00 F932
Type: RO
5.3.10 Usage Hints
Bit
Name
7-0
Bit
After clearing (0) HLOCK bit, the core firmware should wait until FMBUSY bit is clear (0) before it accesses the on-
chip flash (see ”Flash Memory Status Register (FLSR)” in Section 4.16.7 on page 228).
Enable Access to the shared memory: Before any access may occur, the shared memory access must be enabled
using the SIO Configuration registers (see Section 6.1.11 on page 349). To enable shared memory as a boot device,
the SHBM strap should be set appropriately (see Section 2.2.11 on page 50).
Host boot block may be implemented as part of the on-chip flash or in the external memory. In the latter case, access
to the Host boot block must be enabled by the core after the memory access configuration is completed.
For host shared memory read:
1. Have host enable the memory for reading (if disabled), using SMHAP1 and SMHAP2 registers.
2. Have core enable the memory for reading (in most cases, disabled by default), using SMCORP0-2 registers.
3. Read from the designated address location.
For host shared memory write or erase:
1. Have host enable the desired location for write, using SMHAP1 and SMHAP2 registers (note that the memory
2. Have core enable the desired location for a write, using SMCOWP0-2 registers.
3. Enable the host write operations by setting HLOCK bit in SMCCST register.
4. To perform a page erase operation, the host should set PMER bit in SMHC register and write any data to
5. To program a byte in the on-chip flash, the host should make sure PMER bit in SMHC register is clear
6. Programing the expansion memory is done using read/write operations to addresses associated with that memory.
At different stages of the flash programing by the host, communication between the core and host is required. Various
mechanisms may be used for this, one of which is the Shared Memory Semaphore mechanism. This mechanism is
tuned for host-initiated operations that use polling on the registers. The core may receive an interrupt or use polling
to identify a semaphore change. An example of bit allocation is:
Bit 0 - Host requests control of flash
Bit 4 - Core grants control to host
The sequence is:
1. Host sets bit 0 to request control of bus.
2. Core identifies that bit 0 is set and does the required operations, including setting HLOCK bit in
3. Core sets bit 4, indicating to the host that memory access is granted.
4. Host performs write/erase to the memory, as required.
5. Host clears bit 0, indicating completion of the process.
6. Core clears HLOCK and protects the memory.
7. Core indicates completion of process by clearing bit 4.
The transactions are passed to the memory through the core bus and BIU modules. The software should perform
an address in the page. The page is erased when HBUSY bit in SMHST register is cleared, and an erase
error, if it occurs, is flagged by HEERR bit in SMHST register.
and write the required data to the designated address location. The programing is completed when HBUSY bit
in SMHST register is cleared. At this time, an erase error, if it occurs, is flagged by HPERR in SMHST register.
the appropriate sequence of read and write operations as required by the flash device in use.
may be disabled for reads if the hardware validation is in use).
SMCCST register to enable host access.
RNGD0-7 (Random Number Generator Data Bits). Provides random data output from the RNG module. When
DVALID in RNGCS register is cleared, RNGD register always reads 00
set, the data read is a random number. Any random number can be read only once, after which it is marked as
invalid and replaced by a new number.
16
7
6
5
(Continued)
Description
312
4
RNGD7-0
3
16
. When DVALID in RNGCS register is
2
1
Revision 1.07
0

Related parts for pc87591l