Web Analytics
Datasheet 搜索 > 微控制器 > NXP(恩智浦) > MC68HC908QT1VPE 数据手册 > MC68HC908QT1VPE 用户编程技术手册 3/32 页
MC68HC908QT1VPE
器件3D模型
15.051
MC68HC908QT1VPE数据手册
Page:
of 32 Go
若手册格式错乱,请下载阅览PDF原文件
The Routines
Using MC68HC908 On-Chip FLASH Programming Routines, Rev. 3
Freescale Semiconductor 3
3.1 GETBYTE
GETBYTE is a routine that receives a byte on the monitor mode communication port defined for that
particular device, and this received value is passed back to the calling routine in the accumulator. For these
devices, the communication port is either port A0 or port B0. Table 3 shows which communication port
(COMMPORT) is used for each device.
GETBYTE expects the same non-return-to-zero (NRZ) communication protocol and baud rate that is used
in monitor mode. The difference between this routine’s method of receiving a byte and when the monitor
receives a byte is that the monitor echoes back whatever is received. It may be more efficient for a RAM
program to use this routine when receiving data from a host to eliminate the time overhead in sending out
every byte that is received. This is especially true if the host program and RAM routine already have a
built-in error detection scheme, such as a message checksum, and there might not be a need to do an echo
check for each byte sent.
This routine detects a framing error when a STOP bit is not detected. If the carry (C) bit of the condition
code register (CCR) is cleared after returning from this routine, a framing error occurred during the data
receiving process. Therefore, the data in the accumulator is not reliable. The user software is responsible
for handing such errors.
The communication baud rate is defined by the internal operating bus frequency (f
op
) divided by a constant
value. Table 1 shows the divider value and a typical baud rate for each device.
Table 1. Communication Baud Rate
Divider
Value
Typical Baud Rate
MC68HC908EY16 256 9600bps @ f
op
=2.4576MHz
MC68HC908GR4/8(A)
256
9600bps @ f
op
=2.4576MHz
MC68HC908GT16
256
9600bps @ f
op
=2.4576MHz
MC68HC908JB8 306 9600bps @ f
op
=3MHz
MC68H(R/L)C908JL1(E)
MC68H(R/L)C908JK1(E)M
C68H(R/L)C908JK3(E)
256 9600bps @ f
op
=2.4576MHz
MC68HC908KX2/8 256 9600bps @ f
op
=2.4576MHz
MC68HC908QT1/2/4
MC68HC908QY1/2/4
256 9600bps @ f
op
=2.4576MHz
MC68HLC908QT1/2/4
MC68HLC908QY1/2/4
256 9600bps @ f
op
=2.4576MHz when
ECGST bit in OSCSTAT is set
208 4800bps @ f
op
=1MHz when ECGST bit
in OSCSTAT is cleared

MC68HC908QT1VPE 数据手册

NXP(恩智浦)
32 页 / 0.4 MByte
NXP(恩智浦)
30 页 / 0.29 MByte
NXP(恩智浦)
218 页 / 2.19 MByte
NXP(恩智浦)
1 页 / 0.17 MByte

MC68HC908QT1 数据手册

Motorola(摩托罗拉)
Freescale(飞思卡尔)
NXP(恩智浦)
68HC/HS 系列微控制器高性能、低功率的 S08 芯 8 位微控制器系列具有 16MHz @ 1.8V 操作和多个电源管理方案,包括 20μA 断电模式。### 68HC/HS 微控制器
Freescale(飞思卡尔)
MC68HC908QT1CPE, 8 bit HC08 微控制器, 32MHz, 1.5 kB ROM 闪存, 128 B RAM, 8针 PDIP封装
NXP(恩智浦)
Freescale(飞思卡尔)
Freescale(飞思卡尔)
8位微控制器 -MCU 1.5K FLASH W/O ADC
Freescale(飞思卡尔)
NXP(恩智浦)
Motorola(摩托罗拉)
器件 Datasheet 文档搜索
器件加载中...
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件