TMP86xy09NG Toshiba, TMP86xy09NG Datasheet - Page 122

no-image

TMP86xy09NG

Manufacturer Part Number
TMP86xy09NG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP86xy09NG

Package
SDIP32
Rom Types (m=mask,p=otp,f=flash)
M/F
Rom Size
8/16
Ram Size
256/512
Driver Led
8
Driver Lcd
-
Spi/sio Channels
1
Uart/sio Channels
1
I2c/sio Channels
-
High-speed Serial Output
-
Adc 8-bit Channels
-
Adc 10-bit Channels
6
Da Converter Channels
-
Timer Counter 18-bit Channel
-
Timer Counter 16-bit Channel
1
Timer Counter 8-bit Channel
2
Motor Channels
-
Watchdog Timer
Dual Clock
Clock Gear
-
Number Of I/o Ports
26
Power Supply (v)
2.7 to 5.5
11.2 SEI Registers
11.2 SEI Registers
Read-modify-write instruction are prohibited
11.2.1 SEI Control Register (SECR)
(002AH)
SECR
(SEDR) which are used to set up the SEI system and enable/disable SEI operation.
11.2.1.1 Transfer rate
The SEI interface has the SEI Control Register (SECR), SEI Status Register (SESR), and SEI Data Register
MODE
MODE
MSTR
CPHA
7
CPOL
#1
#2
#3
(1)
BOS
SER
SEE
the SEI is operating as the master.
If mode fault detection is enabled, an interrupt is generated when the MODF flag (SESR<MODF>) is set.
SEI operation can only be disabled after transfer is completed. Before the SEI can be used, the each Port
Control Register and Output Latch Control must be set for the SEI function (In case P0 port, P0OUTCR and
P0DR).
When using the SEI as the master, set the SECR<SEE> bit to “1” (to enable SEI operation) and then place
transmit data in the SEDR register. This initiates transmission/reception.
Master/slave settings must be made before enabling SEI operation (This means that the SECR<MSTR> bit
must first be set before setting the SECR<SEE> bit to “1”).
Master mode (Transfer rate = fc/Internal clock divide ratio (unit : bps))
The table below shows the relationship between settings of the SER bit and transfer bit rates when
SEE
6
Table 11-1 SEI Transfer Rate
Mode fault detection
SEI operation
Bit order selection
Mode selection
Clock polarity
Clock phase
Selects SEI transfer rate
SER
00
01
10
11
BOS
5
#2
Internal Clock Divide Ratio of SEI
#3
MSTR
#1
4
16
64
4
8
CPOL
3
Page 112
0: Enables mode fault detection
1: Disables mode fault detection
It is available in Master mode only.
(Note: Make sure to set <MODE> bit to "1" for disabling Mode fault
detection
0: Disables SEI operation
1: Enables SEI operation
0: Transmitted beginning with the MSB (bit 7) of SEDR register
1: Transmitted beginning with the LSB (bit 0) of SEDR register
0: Sets SEI for slave
1: Sets SEI for master
0: Selects active-“H” clock. SCLK remains “L” when IDLE.
1: Selects active-“L” clock. SCLK remains “H” when IDLE.
Selects clock phase. For details, refer to Section “SEI Transfer For-
mats”.
00: Divide-by-4
01: Divide-by-8
10: Divide-by-16
11: Divide-by-64
CPHA
2
Transfer Rate when fc = 16 MHz
1
SER
250 kbps
4 Mbps
2 Mbps
1 Mbps
0
(Initial value: 0000 0100)
TMP86C809NG
R/W

Related parts for TMP86xy09NG