智能车制作

标题: 9s12G和9s12xs各个模块的编程是不是一样的 [打印本页]

作者: o0ゞ注定ゞ0o    时间: 2012-4-10 20:47
标题: 9s12G和9s12xs各个模块的编程是不是一样的
如题
作者: turf456    时间: 2012-4-10 21:04
时钟初始化不一样,公式一样。G128没有PIT。AD是十位的。其他都差不多。直接移植一般没问题。
作者: o0ゞ注定ゞ0o    时间: 2012-4-10 22:13
turf456 发表于 2012-4-10 21:04
时钟初始化不一样,公式一样。G128没有PIT。AD是十位的。其他都差不多。直接移植一般没问题。

那G128定时中断怎么弄

作者: turf456    时间: 2012-4-10 22:32
o0ゞ注定ゞ0o 发表于 2012-4-10 22:13
那G128定时中断怎么弄

输出比较中断。看着手册配寄存器就行了
作者: 篮孩子    时间: 2012-4-11 11:33
turf456 发表于 2012-4-10 22:32
输出比较中断。看着手册配寄存器就行了

有木有G128的中文资料呢
作者: Damonx    时间: 2012-4-11 15:49
谢谢……
作者: Damonx    时间: 2012-4-11 16:03
本帖最后由 Damonx 于 2012-4-11 16:04 编辑

The MC9S12G-Family is an optimized, automotive, 16-bit microcontroller product line focused on
low-cost, high-performance, and low pin-count. This family is intended to bridge between high-end 8-bit
microcontrollers and high-performance 16-bit microcontrollers, such as the MC9S12XS-Family. The
MC9S12G-Family is targeted at generic automotive applications requiring CAN or LIN/J2602

This document is valid for the S12G96 and the S12G128 device. All information related to other devices is preliminary.
communication. Typical examples of these applications include body controllers, occupant detection, door
modules, seat controllers, RKE receivers, smart actuators, lighting modules, and smart junction boxes.
The MC9S12G-Family uses many of the same features found on the MC9S12XS- and MC9S12P-Family,
including error correction code (ECC) on flash memory, a fast analog-to-digital converter (ADC) and a
frequency modulated phase locked loop (IPLL) that improves the EMC performance.
The MC9S12G-Family is optimized for lower program memory sizes down to 16k. In order to simplify
customer use it features an EEPROM with a small 4 bytes erase sector size.
The MC9S12G-Family deliver all the advantages and efficiencies of a 16-bit MCU while retaining the low
cost, power consumption, EMC, and code-size efficiency advantages currently enjoyed by users of
Freescale’s existing 8-bit and 16-bit MCU families. Like the MC9S12XS-Family, the MC9S12G-Family
run 16-bit wide accesses without wait states for all peripherals and memories. The MC9S12G-Family is
available in 100-pin LQFP, 64-pin LQFP, 48-pin LQFP/QFN, 32-pin LQFP and 20-pin TSSOP package
options and aims to maximize the amount of functionality especially for the lower pin count packages. In
addition to the I/O ports available in each module, further I/O ports are available with interrupt capability
allowing wake-up from stop or wait modes.
作者: 杜道轶    时间: 2012-5-23 13:08
turf456 发表于 2012-4-10 22:32
输出比较中断。看着手册配寄存器就行了

大神详细点啊






欢迎光临 智能车制作 (http://dns.znczz.com/) Powered by Discuz! X3.2