![](http://datasheet.mmic.net.cn/110000/M32186F8VFP_datasheet_3496152/M32186F8VFP_802.png)
16
NON-BREAK DEBUG (NBD)
16-4
32185/32186 Group Hardware Manual
Rev.1.10 REJ09B0235-0110 May 15, 07
16.2 Pin Functions of NBD
The following describes pin functions of NBD.
Table 16.2.1 NBD Pin Functions
Pin name
Type
Function
NBDD3–NBDD0
Input/output
Command and address/data input/output
NBDCLK
Input
Synchronous clock input
NBDSYNC#
Input
Top of data position recognition signal input
NBDEVNT#
Output
Event otuput (asserted "L" for 2BCLKs when an event occurs)
Note: The NBD pins are shared with RTD, JTAG and other function. Before NBD can be used, the functions of the NBD
pins must be set using the NBD Pin Control Register (NBDCNT).
16.2.1 NBD Pin Control Register
NBD Pin Control Register (NBDCNT)
<Address: H'E000 0004>
123456
b7
b0
NBDSETP NBDSET
00
0
<Upon exiting reset: H'00>
b
Bit Name
Function
R
W
0–5
No function assigned. Fix to "0."
00
6
NBDSETP
NBDSET write control bit
0
W
7
NBDSET
0: Set NBD-related pins for other than the NBD function
R
W
NBD-related pins select bit
1: Set NBD-related pins for the NBD function
Note: The NBD function cannot be used while the system is reset (because NBDSET = 0). For the NBD function to be used, the
JTRST (JTAG reset) pin should be pulled "L."
The NBDSET bit selects the functions of the NBD-related pins. To use the NBD function, set this bit to "1," so
that the NBD-related pins will be set for the NBD pin functions shown in Table 16.2.1.
To set the register, follow the procedure described below.
1. Write a "1" to NBDSETP bit.
2. Subsequent to 1 above, write a "0" to NBDSETP bit and a "0" or "1" to NBDSET bit.
Notes: If theare are writing cycles from CPU, DMA, SDI (tool), NBD to any other area between 1 and 2, the
continuous setting ( A pair of two consecutive is 1 set for writing operation) is disabled and the
writing value is not reflected. Therefore, disable interrupts and DMA transfers before setting.
However the writing cycle from RTD and DRI are not effected.
In NBDCNT register, indefined value is outputted until EVTU_A register and EVTU_C register are set
after exiting reset, when set NBD related pin to NBD function.
16.2 Pin Functions of NBD