CP3UB17G38 NSC [National Semiconductor], CP3UB17G38 Datasheet - Page 37

no-image

CP3UB17G38

Manufacturer Part Number
CP3UB17G38
Description
CP3UB17 Reprogrammable Connectivity Processor with USB Interface
Manufacturer
NSC [National Semiconductor]
Datasheet
FMBUSY
FMFULL
0
1
The Flash Memory Busy bit indicates whether
the flash memory (either main block or infor-
mation block) is busy being programmed or
erased. During that time, software must not
request any further flash memory operations.
If such an attempt is made, the CPU is
stopped as long as the FMBUSY bit is active.
The CPU must not attempt to read from pro-
gram memory (including instruction fetches)
while it is busy.
0
1
The Flash Memory Buffer Full bit indicates
whether the write buffer for programming is
full or not. When the buffer is full, new erase
and write requests may not be made. The
IENPROG bit can be enabled to trigger an in-
terrupt when the buffer is ready to receive a
new request.
0
1
The programming operation was suc-
cessful.
A programming error occurred.
Flash memory is ready to receive a new
erase or programming request.
Flash memory busy with previous erase
or programming operation.
Buffer is ready to receive new erase or
write requests.
Buffer is full. No new erase or write re-
quests can be accepted.
37
DERR
8.5.8
The FMPSR register is a byte-wide read/write register that
selects the prescaler divider ratio. The CPU must not modify
this register while an erase or programming operation is in
progress (FMBUSY is set). At reset, this register is initial-
ized to 04h if the flash memory is idle. The CPU bus master
has read/write access to this register.
FTDIV
8.5.9
The FMSTART/FSMSTART register is a byte-wide read/
write register that controls the program/erase start delay
time. Software must not modify this register while a pro-
gram/erase operation is in progress (FMBUSY set). At re-
set, this register is initialized to 18h if the flash memory is
idle. The CPU bus master has read/write access to this reg-
ister.
FTSTART
7
7
Reserved
Flash Memory Prescaler Register (FMPSR/
FSMPSR)
Flash Memory Start Time Reload Register
(FMSTART/FSMSTART)
The Data Loss Error bit indicates that a buffer
overrun has occurred during a programming
sequence. After a data loss error occurs, soft-
ware can clear the DERR bit by writing a 1 to
it. Writing a 0 to the DERR bit has no effect.
Software must not change this bit while the
flash program memory is busy being pro-
grammed or erased.
0
1
The prescaler divisor scales the frequency of
the System Clock by a factor of (FTDIV + 1).
The Flash Timing Start Delay Count field gen-
erates a delay of (FTSTART + 1) prescaler
output clocks.
No data loss error occurred.
Data loss error occurred.
5
FTSTART
4
FTDIV
www.national.com
0
0

Related parts for CP3UB17G38