欢迎访问ic37.com |
会员登录 免费注册
发布采购

M38586GE-XXXSP 参数 Datasheet PDF下载

M38586GE-XXXSP图片预览
型号: M38586GE-XXXSP
PDF下载: 下载PDF文件 查看货源
内容描述: 单片8位CMOS微机 [SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER]
分类和应用: 计算机
文件页数/大小: 77 页 / 815 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号M38586GE-XXXSP的Datasheet PDF文件第69页浏览型号M38586GE-XXXSP的Datasheet PDF文件第70页浏览型号M38586GE-XXXSP的Datasheet PDF文件第71页浏览型号M38586GE-XXXSP的Datasheet PDF文件第72页浏览型号M38586GE-XXXSP的Datasheet PDF文件第74页浏览型号M38586GE-XXXSP的Datasheet PDF文件第75页浏览型号M38586GE-XXXSP的Datasheet PDF文件第76页浏览型号M38586GE-XXXSP的Datasheet PDF文件第77页  
3858 Group  
2. Notes when selecting clock asynchronous  
serial I/O (Serial I/O1)  
4. Data transmission control with referring to  
transmit shift register completion flag  
(Serial I/O1)  
(1) Stop of transmission operation  
Clear the transmit enable bit to 0(transmit disabled).  
<Reason>  
The transmit shift register completion flag changes from 1to 0”  
with a delay of 0.5 to 1.5 shift clocks. When data transmission is  
controlled with referring to the flag after writing the data to the  
transmit buffer register, note the delay.  
Since transmission is not stopped and the transmission circuit is  
not initialized even if only the serial I/O1 enable bit is cleared to 0”  
(Serial I/O1 disabled), the internal transmission is running (in this  
case, since pins TxD, RxD, SCLK1, and SRDY1 function as I/O  
ports, the transmission data is not output). When data is written to  
the transmit buffer register in this state, data starts to be shifted to  
the transmit shift register. When the serial I/O1 enable bit is set to  
1at this time, the data during internally shifting is output to the  
TxD pin and an operation failure occurs.  
5. Transmit interrupt request when transmit  
enable bit is set (SerialI/O1)  
When the transmit interrupt is used, set the transmit interrupt en-  
able bit to transmit enabled as shown in the following sequence.  
(1) Set the interrupt enable bit to 0(disabled) with CLB instruc-  
tion.  
(2) Stop of receive operation  
Clear the receive enable bit to 0(receive disabled).  
(2) Prepare serial I/O for transmission/reception.  
(3) Stop of transmit/receive operation  
(3) Set the interrupt request bit to 0with CLB instruction after 1  
Only transmission operation is stopped.  
or more instruction has been executed.  
Clear the transmit enable bit to 0(transmit disabled).  
<Reason>  
(4) Set the interrupt enable bit to 1(enabled).  
<Reason>  
Since transmission is not stopped and the transmission circuit is  
not initialized even if only the serial I/O1 enable bit is cleared to 0”  
(Serial I/O1 disabled), the internal transmission is running (in this  
case, since pins TxD, RxD, SCLK1, and SRDY1 function as I/O  
ports, the transmission data is not output). When data is written to  
the transmit buffer register in this state, data starts to be shifted to  
the transmit shift register. When the serial I/O1 enable bit is set to  
1at this time, the data during internally shifting is output to the  
TxD pin and an operation failure occurs.  
When the transmission enable bit is set to 1, the transmit buffer  
empty flag and transmit shift register completion flag are set to 1.  
The interrupt request is generated and the transmission interrupt  
request bit is set regardless of which of the two timings listed be-  
low is selected as the timing for the transmission interrupt to be  
generated.  
Transmit buffer empty flag is set to 1”  
Transmit shift register completion flag is set to 1”  
Only receive operation is stopped.  
6. Transmission control when external clock  
is selected (Serial I/O1 clock synchronous  
mode)  
Clear the receive enable bit to 0(receive disabled).  
3. Setting serial I/O1 control register again  
(Serial I/O1)  
Set the serial I/O1 control register again after the transmission and  
the reception circuits are reset by clearing both the transmit en-  
able bit and the receive enable bit to 0.  
When an external clock is used as the synchronous clock for data  
transmission, set the transmit enable bit to 1at Hof the SCLK1  
input level. Also, write the transmit data to the transmit buffer reg-  
ister (serial I/O shift register) at Hof the SCLK1 input level.  
7. Transmit data writing (Serial I/O2)  
In the clock synchronous serial I/O, when selecting an external  
clock as synchronous clock, write the transmit data to the serial I/  
O2 register (serial I/O shift register) at Hof the transfer clock in-  
put level.  
Clear both the transmit enable bit (TE) and  
the receive enable bit (RE) to 0”  
Set the bits 0 to 3 and bit 6 of the serial I/O1  
control register  
Can be set with the  
LDM instruction at  
the same time  
Notes on PWM  
The PWM starts after the PWM enable bit is set to enable and L”  
Set both the transmit enable bit (TE) and the  
receive enable bit (RE), or one of them to 1”  
level is output from the PWM pin.  
The length of this Llevel output is as follows:  
Fig 68. Sequence of setting serial I/O1 control register  
again  
n + 1  
2 f(XIN)  
(s) (Count source selection bit = 0,  
where n is the value set in the prescaler)  
n + 1  
f(XIN)  
(s) (Count source selection bit = 1,  
where n is the value set in the prescaler)  
Rev.1.10 Apr 3, 2006 page 73 of 75  
REJ03B0139-0110  
 复制成功!