Appendix A: Hardware Reference Manual
For the case of the 10 kRPM operating point and the 24 minus 1 toothed-wheel, these 2000 instructions
must execute in 25 μ s or the risk of severe system latencies can cause the application to lose
synchronization of the rotating engine, resulting in loss of control. If an instruction is processed by the
core of the MCU on every bus clock cycle (RISC architecture), this equates to 8MHz performance. The
selection of the MC9S12P128 MCU exceeds this demand by providing a maximum processing speed of
32 MHz, based on its CISC architecture and an average of 3 cycles per instruction.
In addition to processing power, key hardware peripherals are required for engine control. These include:
input capture, output compare, PWM, A/D converter, communication port, and general purpose I/O. Input
capture is specifically used to process pulses from the toothed-wheel. Output compare is used to
generate fuel and spark events. Specifically, input capture and output compare functions must use the
same timer and a time base that allows a dynamic range of operation for an engine control application.
This means that at high RPM, the timer counter must be able to distinguish events and at low RPM there
must be enough counts to not overflow. PWM generation is essential for power management of loads.
This is a key concept for a small engine as electrical efficiency provides dramatic improvements in
operating performance. Sensor measurements are obtained by the A/D converter. Communication
outside the module is required for diagnostics and possible control or data output to other modules in the
system.
The MC9S12P128 meets these performance demands with a multi-channel 16-bit timer, PWM generator,
multi-channel 12 bit A/D converter, CAN and SCI ports, and large number of I/O. These features are
complemented by internal FLASH memory and the single wire BDM debugging/programming port that
aid in the development and deployment of software. Small package options from 48 to 80 pins, memory
sizes from 32 k to 128 k, and strong compatibility to the S12X product family add flexibility for
implementing a custom design.
10.4.1.3
Implementation Recommendations
Designing a system with a microcontroller takes experience. MCU manufacturers have specific
guidelines and recommendations that should be used as a starting point towards a successful design.
This primarily concern power supply bypassing and the MCU hardware configuration pins. Guidelines
provided in the datasheet for the MC9S12P128 in the 64 pin package have been demonstrated in this
design. Additionally, considerations for a 2 layer printed circuit board have been implemented that reflect
the high frequency operation large load switching in the system. This is reflected in the routed power
traces and comprehensive ground return paths for each signal.
The cost sensitivity of a small engine controller is reflected by the design decision to use a resonator and
not a crystal for the oscillator. Resonators offer significant cost reduction when compared to a crystal, but
at the sacrifice of precision. The resonator selected is relatively high tolerance and satisfies typical OEM
criteria for the generation of CAN communication bit timing for medium to high speed data rates. With the
MC9S12P128 MCU, further cost reduction can be explored by the making use of the internal reference
clock. This would eliminate the use of an external oscillator but would significantly reduce the timing
performance of the system. Additional cost reductions to the MCU circuit would include the use of the 48
pin QFN package.
Consideration for the S12XS product family was addressed in the design. This results in a low number of
additional components that can be placed onto the PCB when using the S12XS products in the 64 pin
package. Using this MCU will allow increased performance and increased memory size if the application
demands it. Significantly higher performance and memory size can be achieved through implementing
an S12XE family processor. Minimal hardware changes would be required to move the design to the
S12XE, which provides up to 50 MHz operation and adds the XGATE co-processor to off load the main
processor.
Freescale Semiconductor
45
相关PDF资料
KIT33812EKEVBE BOARD EVALUATION FOR MC33812
KIT33879AEKEVBE BOARD EVALUATION FOR MC33879
KIT33880DWBEVB KIT EVAL FOR MC33880 8X SW W/SPI
KIT33886DHEVB KIT EVAL FOR MC33886 H-BRIDGE
KIT33887EKEVBE BOARD EVALUATION FOR MC33887
KIT33887PNBEVB KIT EVAL 33887 5A H-BRIDGE PQFN
KIT33905D5EKEVBE KIT EVALUATION FOR MC33905
KIT33912EVME KIT EVALUATION FOR MC33912
相关代理商/技术参数
KIT33812ECUEVME 制造商:Freescale Semiconductor 功能描述:Small Engine Control Reference Design
KIT33812EKEVBE 功能描述:电源管理IC开发工具 INTEGRATED DUAL LOW & HI RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:Battery Management 工具用于评估:MAX17710GB 输入电压: 输出电压:1.8 V
KIT33813AEEVBE 功能描述:电源管理IC开发工具 2 Cylinder Small Engine RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:Battery Management 工具用于评估:MAX17710GB 输入电压: 输出电压:1.8 V
KIT33814AEEVBE 功能描述:交换机 IC 开发工具 2 Cylinder Small Engine RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:USB Power Switches 工具用于评估:MAX4984E 工作电源电压:2.8 V to 5.5 V
KIT33816AEEVM 功能描述:电源管理IC开发工具 Engine Control Module RoHS:否 制造商:Freescale Semiconductor 产品: 类型: 工具用于评估: 输入电压: 输出电压:
KIT33879AEKEVBE 功能描述:电源管理IC开发工具 CONFIGURABLE OCTAL RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:Battery Management 工具用于评估:MAX17710GB 输入电压: 输出电压:1.8 V
KIT33880DWBEVB 功能描述:电源管理IC开发工具 33880DWB COSS KIT RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:Battery Management 工具用于评估:MAX17710GB 输入电压: 输出电压:1.8 V
KIT33883DWEVB 功能描述:KIT EVAL FOR MC33883 PRE-DRIVER RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 传感器类型:CMOS 成像,彩色(RGB) 传感范围:WVGA 接口:I²C 灵敏度:60 fps 电源电压:5.7 V ~ 6.3 V 嵌入式:否 已供物品:成像器板 已用 IC / 零件:KAC-00401 相关产品:4H2099-ND - SENSOR IMAGE WVGA COLOR 48-PQFP4H2094-ND - SENSOR IMAGE WVGA MONO 48-PQFP