Datasheet 搜索 > 8位微控制器 > NXP(恩智浦) > MC9S08QD4MSC 数据手册 > MC9S08QD4MSC 开发手册 1/9 页


¥ 15.581
MC9S08QD4MSC 开发手册 - NXP(恩智浦)
制造商:
NXP(恩智浦)
分类:
8位微控制器
封装:
SOIC-8
描述:
NXP MC9S08QD4MSC 微控制器, 8位, QD系列, S08QD, 16 MHz, 4 KB, 256 Byte, 8 引脚, SOIC
Pictures:
3D模型
符号图
焊盘图
引脚图
产品图
页面导航:
原理图在P8
导航目录
MC9S08QD4MSC数据手册
Page:
of 9 Go
若手册格式错乱,请下载阅览PDF原文件

1 Introduction
The MC9S08LG32 is a member of the Freescale HCS08
family MCUs. It uses the S08 core and integrates many
peripherals, such as LCD, SPI, I
2
C, SCI, ADC, and Real Time
Counters. This application note describes how to initialize and
maintain the Real Time Clock (RTC) in the MC9S08LG32
microcontroller family.
MC9S08LG32 Demo Board used for RTC setup is shown in
Figure 1. The system communicates with the MC9S08LG32
target via a USB Background Debug Mode (BDM) interface.
With BDM protocol, system can update the MC9S08LG32
firmware. RTC is implemented using the Real Time Counter
IP (S08RTCV1) on MC9S08LG32. RTC can be displayed on
the LCD connected on the board.
In this application note, the MC9S08LG32 RTC driver
interfaces are explained. Various applications for
MC9S08LG32 can make use of this driver. The following
sections will describe the details and the steps for creating an
application using it.
This application note does not cover how to configure the
LCD. For details, please see AN3823 on http://
www.freescale.com.
Freescale Semiconductor
Document Number: AN4478
Rev. 0, 03/2012
Software Real Time Clock
Implementation on MC9S08LG32
by:
Nitin Gupta
Automotive and Industrial Solutions Group
© 2012 Freescale Semiconductor, Inc.
Contents
1 Introduction................................................................1
2 Real Time Clock (RTC)............................................2
3 RTC driver framework..............................................2
3.1 RTC.c.............................................................3
3.2 RTC.h.............................................................5
3.3 RTC_main.c...................................................6
4 Integration of RTC driver..........................................7
5 Test results.................................................................7
6 Conclusion.................................................................8
7 References.................................................................8
器件 Datasheet 文档搜索
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件