參數(shù)資料
型號(hào): TMP90CM38
廠商: Toshiba Corporation
元件分類: 通用總線功能
英文描述: High Speed Advanced CMOS 8-bit Microcontroller,Integrating 8-Bit A/D,D/A Converter,RAM,ROM,General Serial Interface,Multifuction Timer/Event Counter,Signal Selector Circuit,PWM Output(高速、先進(jìn)的 CMOS 8位微控制器(芯片集成了8位A/D,D/A轉(zhuǎn)換器,ROM,RAM,通用串行接口,多功能定時(shí)器/事件計(jì)數(shù)器,信號(hào)選擇電路,PWM輸出))
中文描述: 采用先進(jìn)的CMOS高速8位微控制器,集成8位A / D,D / A轉(zhuǎn)換,內(nèi)存,光盤,通用串行接口,Multifuction定時(shí)器/事件計(jì)數(shù)器,信號(hào)選擇器電路,PWM輸出(高速,先進(jìn)的的CMOS 8位微控制器(芯片集成了8位A / D轉(zhuǎn)換,數(shù)/模轉(zhuǎn)換器,ROM和RAM內(nèi)存,通用串行接口,多功能定時(shí)器/事件計(jì)數(shù)器,信號(hào)選擇電路,脈寬調(diào)制輸出))
文件頁數(shù): 102/172頁
文件大?。?/td> 5946K
代理商: TMP90CM38
102
TOSHIBA CORPORATION
TMP90CM38
3.8 Stepping Motor Control/Pattern Generation Ports
(P2 and P9)
TMP90CM38 contains 2 channels (M0 and M1) of 4-bit hard-
ware stepping motor control/pattern generation ports (herein
after called SMC) which actuate in synchronization with the (8-
bit/16-bit) timers. The SMC’s ports (M0 and M1) are shared by
4-bit I/O ports P2 and P9.
Channel 0 (M0) is synchronous with 8-bit timer 0 or timer
1, and channel 1 (M1) is synchronous with 8-bit timer 2 or
timer 3 or 16-bit timer 4, to update the output.
The SMC ports are controlled by three control registers
P29CR, P29FR, and TRDC, and can select either stepping
motor control mode or pattern generation mode.
3.8.1 Control Registers
(1)
Ports 2 and 9 I/O Selection Register (P29CR)
This register specifies either input or output for each
bit of the 4-bit I/O ports 6 and 7. When reset, all bits of
P29CR are cleared to “0”, so that port 2 and port 9
function as input ports. To use port 6 and port 7 as
SMC, set all bits of P29CR to “1”, specifying them as
output pins.
P29CR is a write-only register and so cannot be read.
(2)
Port 2 and 9 function control register (P29FR)
This register is used for setting port 2 and port 9 as
SMC. To use port 2 and port 9 as SMC, set P29FR
<M0S>/<M1S> to “1”.
With P29 <PAT0>/<PAT1>, set SMC in either 8-bit
write mode or 4-bit write mode. In 4-bit write mode,
writing the SMC is executed only on the 4-bit shift
alternate register, and SMC functions as a pattern
generation port.
To use SMC as a stepping motor control port, select
the method of excitation and the method to control the
direction of rotation by P29FR <M0M>/<M1M> and
P29FR <CCW0>/<CCW1>, respectively.
(3)
Selecting the channel 1 synchronizing time (TRDC)
With TRDC <M1T>, select a time which synchronizes
SMC channel 1 (M1). When <M1T> = 0, M1 is syn-
chronous with timer 2 or timer 3, while when <M1T>
= 1 it is synchronous with timer 4.
(4)
Port 2
This is a 4-bit I/O port allocated to address FFA4.
The lower 4 bits are assigned as port 6, while the
upper 4 bits function as the shifter alternate register
SA6 which is used in pattern generation mode or to
drive the stepping motor by 1-2 excitation.
(5)
Port 9
This is a 4-bit I/O port allocated to address FFB3.
The lower 4 bits are assigned as port 7, while the
upper 4 bits function as the shifter alternate register
SA7 which is used in pattern generation mode or to
drive the stepping motor by 1-2 excitation.
相關(guān)PDF資料
PDF描述
TMP90CM40 High Speed Advanced CMOS 8-bit Microcontroller,Integrating 8-Bit CUP,A/D Converter,RAM,ROM,General Serial Interface,Multifuction Timer/Event Counter(高速、先進(jìn)的 CMOS 8位微控制器(芯片集成了8位CPU,A/D,轉(zhuǎn)換器,ROM,RAM,通用串行接口,多功能定時(shí)器/事件計(jì)數(shù)器))
TMP90P800 A System Evaluation LSI With One-Time PROM(8192 x 8-Bit),RAM(256 x 8-Bit)(系統(tǒng)評(píng)估大規(guī)模集成電路(帶一次可編程ROM(8192 x 8位),RAM(256 x 8位))
TMP90P802 A System Evaluation LSI With 8-Bit CPU,One-Time PROM(8192 x 8-Bit),RAM(256 x 8-Bit)(系統(tǒng)評(píng)估大規(guī)模集成電路(集成8位CPU,一次可編程ROM(8192 x 8位),RAM(256 x 8位))
TMP90PH02 A System Evaluation LSI With 8-Bit CPU,One-Time PROM(16384 x 8-Bit),RAM(512 x 8-Bit)(系統(tǒng)評(píng)估大規(guī)模集成電路(集成8位CPU,一次可編程ROM(16384 x 8位),RAM(512 x 8位))
TMP90PH44 A System Evaluation LSI With 8-Bit CPU,One-Time PROM(16384 x 8-Bit),RAM(512 x 8-Bit)(系統(tǒng)評(píng)估大規(guī)模集成電路(集成8位CPU,一次可編程ROM(16384 x 8位),RAM(512 x 8位))
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
TMP90CM38F 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
TMP90CM38T 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
TMP90CM39F 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
TMP90CM39T 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
TMP90CM40 制造商:未知廠家 制造商全稱:未知廠家 功能描述: