TA的每日心情 | 开心 2018-10-31 10:17 |
---|
签到天数: 447 天 连续签到: 1 天 [LV.9]以坛为家II
|
[size=12.142857551574707px]Freescale公司的MCF51MM256是低成本低功耗高性能ColdFire V1系列32位MCU,工作频率高达50.33 MHz,主要用于手持计量设备.本文介绍了MCF51MM256主要特性,框图,以及人体活动监视器参考设计RDACTIVITYMONITOR主要特性,框图和应用示意图,电路图,材料清单和PCB外形图.
[size=12.142857551574707px]The MCF51MM256 series devices are members of the low-cost, low-power, high-performance ColdFire V1 family of 32-bit microcontrollers (MCUs) designed for handheld metering devices.
[size=12.142857551574707px]MCF51MM256主要特性:
[size=12.142857551574707px]32-Bit ColdFire V1 Central Processor Unit (CPU)
[size=12.142857551574707px]• Up to 50.33 MHz ColdFire CPU above 2.4 V and 40 MHz CPU above 2.1V and 20 MHz CPU above 1.8 V across temperature range of -40℃ to 105℃.
[size=12.142857551574707px]• ColdFire Instruction Set Revision C (ISA_C).
[size=12.142857551574707px]• 32-bit multiply and accumulate (MAC) supports signed or unsigned integer or signed fractional inputs.
[size=12.142857551574707px]On-Chip Memory
[size=12.142857551574707px]• 256 K Flash comprised of two independent 128 K flash arrays; read/program/erase over full operating voltage and temperature; allows interrupt processing while programming.
[size=12.142857551574707px]• 32 KB System Random-access memory (RAM).
[size=12.142857551574707px]• Security circuitry to prevent unauthorized access to RAM and
[size=12.142857551574707px]Flash contents.
[size=12.142857551574707px]Power-Saving Modes
[size=12.142857551574707px]• Two ultra-low power stop modes. Peripheral clock enable register can disable clocks to unused modules to reduce currents.
[size=12.142857551574707px]• Time of Day (TOD) — Ultra low-power 1/4 sec counter with up to 64 sec timeout.
[size=12.142857551574707px]• Ultra-low power external oscillator that can be used in stop modes to provide accurate clock source to the TOD. 6 μs typical wake up time from stop3 mode.
[size=12.142857551574707px]Clock Source Options
[size=12.142857551574707px]• Oscillator (XOSC1) — Loop-control Pierce oscillator; 32.768 kHz crystal or ceramic resonator dedicated for TOD operation.
[size=12.142857551574707px]• Oscillator (XOSC2) for high frequency crystal input for MCG reference to be used for system clock and USB operations.
[size=12.142857551574707px]• Multipurpose Clock Generator (MCG) — PLL and FLL; precision trimming of internal reference allows 0.2% resolution and typical +0.5% to -1% deviation over temperature and voltage; supports CPU frequencies from 4 kHz to 50 MHz.
[size=12.142857551574707px]System Protection
[size=12.142857551574707px]• Watchdog computer operating properly (COP) reset with option to run from dedicated 1 kHz internal clock source or bus clock.
[size=12.142857551574707px]• Low-voltage detection with reset or interrupt; selectable trip points; separate low voltage warning with optional interrupt; selectable trip points.
[size=12.142857551574707px]• Illegal opcode and illegal address detection with reset.
[size=12.142857551574707px]• Flash block protection for each array to prevent accidental write /erasure.
[size=12.142857551574707px]• Hardware CRC to support fast cyclic redundancy checks.
[size=12.142857551574707px]Development Support
[size=12.142857551574707px]• Integrated ColdFire DEBUG_Rev_B+ interface with single wire BDM connection supports same electrical interface used by the S08 family debug modules.
[size=12.142857551574707px]• Real-time debug with 6 hardware breakpoints (4 PC, 1 address and 1 data).
[size=12.142857551574707px]• On-chip trace buffer provides programmable start/stop recording conditions.
[size=12.142857551574707px]Peripherals
[size=12.142857551574707px]• USB — Dual-role USB On-The-Go (OTG) device, supports USB in either device, host or OTG configuration. On-chip transceiver and 3.3V regulator help save system cost, fully compliant with USB Specification 2.0. Allows control, bulk, interrupt and isochronous transfers.
[size=12.142857551574707px]• SCIx — Two serial communications interfaces with optional 13-bit break; option to connect Rx input to PRACMP output on SCI1 and SCI2; High current drive on Tx on SCI1 and SCI2; wake-up from stop3 on Rx edge.
[size=12.142857551574707px]• SPI1 — Serial peripheral interface with 32-bit FIFO buffer; 16-bit or 8-bit data transfers; full-duplex or single-wire bidirectional; double-buffered transmit and receive; master or slave mode; MSB-first or LSB-first shifting.
[size=12.142857551574707px]• SPI2 — Serial peripheral interface with full-duplex or single-wire bidirectional; Double-buffered transmit and receive; Master or Slave mode; MSB-first or LSB-first shifting.
[size=12.142857551574707px]• IIC — Up to 100 kbps with maximum bus loading; Multi-master operation; Programmable slave address; Interrupt driven byte-by-byte data transfer; supports broadcast mode and 11-bit addressing.
[size=12.142857551574707px]• CMT — Carrier Modulator timer for remote control communications. Carrier generator, modulator and driver for dedicated infrared out (IRO). Can be used as an output compare timer.
[size=12.142857551574707px]• TPMx — Two 4-channel Timer/PWM Module; Selectable input capture, output compare, or buffered edge- or center-aligned PWM on each channel; external clock input/pulse accumulator.
[size=12.142857551574707px]• Mini-FlexBus — Multi-function external bus interface with user programmable chip selects and the option to multiplex address and data lines.
[size=12.142857551574707px]• PRACMP — Analog comparator with selectable interrupt; compare option to programmable internal reference voltage; operation in stop3.
[size=12.142857551574707px]Measurement Engine
[size=12.142857551574707px]• ADC16 — 16-bit successive approximation ADC with up to 4 dedicated differential channels and 8 single-ended channels; range compare function; 1.7 mV/×C temperature sensor; internal bandgap reference channel; operation in stop3; fully functional from 3.6 V to 1.8 V, Configurable hardware trigger for 8 Channel select and result registers.
[size=12.142857551574707px]• PDB — Programmable delay block with 16-bit counter and modulus and prescale to set reference clock to bus divided by 1 to bus divided by 2048; 8 trigger outputs for ADC module provides periodic coordination of ADC sampling sequence with sequence completion interrupt; Back-to-Back mode and Timed mode.
[size=12.142857551574707px]• DAC — 12-bit resolution DAC; configurable settling time.
[size=12.142857551574707px]• OPAMPx — 2 flexible operational amplifiers configurable for general operations; Low offset and temperature drift.
[size=12.142857551574707px]• TRIAMPx — 2 trans-impedance amplifiers dedicated for converting current inputs into voltages.
[size=12.142857551574707px]Input/Output
[size=12.142857551574707px]• Up to 68 GPIOs and 1 output-only pin.
[size=12.142857551574707px]• Voltage Reference output (VREFO).
[size=12.142857551574707px]• Dedicated infrared output pin (IRO)with high current sink capability.
[size=12.142857551574707px]• Up to 16 KBI pins with selectable polarity.
[size=12.142857551574707px]• Up to 16 pins of rapid general purpose I/O (RGPIO).
[size=12.142857551574707px]图1. MCF51MM256框图
[size=12.142857551574707px]人体活动监视器参考设计RDACTIVITYMONITOR
[size=12.142857551574707px]An activity monitor is a small device that records information about user’s physical activity patterns. The device should normally run continuously for long periods of time. Activity monitors can frequently interpret and summarize the recorded data. This instrument is a noninvasive acquisition system and the basic module that it must include is a pedometer, which measures vertical acceleration to count steps and accumulate total time spent at certain activity intensity. When positioned correctly, this device could record each step and can also measure common activities like going up and down the stairs, bending to tie your shoes, etc. They are normally worn on the user’s hips or on the wrist.
[size=12.142857551574707px]Besides including a pedometer module an activity monitor can integrate several functionalities. This will help going further on with the body measurements, making the results even more accurate. This is the case of Freescale’s Activity Monitor reference design, which besides the pedometer features a Heart-Rate detection module that helps monitoring physical activity intensity.
[size=12.142857551574707px]As normally expected, age is a key factor while measuring physical activity, and not only age but the user’s height, weight, and gender are also very important elements when trying to be accurate. So, it is very convenient to include a personal data acquisition system in the activity monitors. This way all of the user’s biometrics are variables incorporated in the physical activity algorithms.
[size=12.142857551574707px]As an example, the Journal of Sports Sciences provided the following calorie expenditure formulas for each gender:
[size=12.142857551574707px]Men:
[size=12.142857551574707px]Calories Burned = [(Age x 0.2017) - (Weight x 0.09036) + (Heart Rate x 0.6309) - 55.0969] x
[size=12.142857551574707px]Time/4.184
[size=12.142857551574707px]Women:
[size=12.142857551574707px]Calories Burned = [(Age x 0.074) - (Weight x 0.05741) + (Heart Rate x 0.4472) - 20.4022] x Time/4.184
[size=12.142857551574707px]All of these information collected help people get a real measurement of their physical activity. Whether they want to get fitter or even if they want to see improvement in their preferred sport the more you can know about your body, the better.
[size=12.142857551574707px]The Activity Monitor board is a highly integrated design compounded by several modules which include a TFT display, touch sensing interface, accelerometer, and USB connectivity, among other characteristics.
[size=12.142857551574707px]The major features of the Activity Monitor include:
[size=12.142857551574707px]• Freescale’s MCF51MM256 Flexis™ 32-bit ColdFire® V1 Microcontroller
[size=12.142857551574707px]• Freescale’s MMA7660 Three-axis Low-g Digital Output Accelerometer
[size=12.142857551574707px]• Freescale’s MC13202 2.4 GHz Low Power Transceiver for ZigBee® Applications
[size=12.142857551574707px]• Freescale’s MC34673 Li-Ion or Li-Polymer Battery Charger (Through USB)
[size=12.142857551574707px]• Fingertip acquired Heart Rate detection module
[size=12.142857551574707px]• USB Connectivity (Freescale’s CMX USB Stack)
[size=12.142857551574707px]• Touch Sensing Interface (Freescale’s Xtrinsic Touch Sensing Software)
[size=12.142857551574707px]• 1.8" TFT Display - 128 x 160 pixels
[size=12.142857551574707px]• Micro SD card slot
[size=12.142857551574707px]• Magnetic Buzzer
[size=12.142857551574707px]图2. 人体活动监视器参考设计框图
[size=12.142857551574707px]图3. 人体活动监视器参考设计外形图
[size=12.142857551574707px]图4. 人体活动监视器参考设计编程连接图
[size=12.142857551574707px]The activity monitor is meant to improve health performance, so users can have a better management of their fitness and health activities. It is meant to promote the use of low-power medical applications or any other application requiring precision analog instrumentation to develop highly-integrated portable devices that can assist users in taking care of their health.
[size=12.142857551574707px]The device measures user’s burned calories in their daily activity, keeps record of the food and calories ingested during the day, and can monitor their heart rate which is a very useful tool while exercising. This device exhibits the features and potential of Freescale’s MCF51MM Flexis™ 32-bit ColdFire® V1 Microcontroller.
[size=12.142857551574707px]图5. 人体活动监视器参考设计应用示意图
[size=12.142857551574707px]图6. 人体活动监视器参考设计电路图(1)
[size=12.142857551574707px]图7. 人体活动监视器参考设计电路图(2)
[size=12.142857551574707px]图8. 人体活动监视器参考设计PCB外形图:顶视图
[size=12.142857551574707px]图9. 人体活动监视器参考设计PCB外形图:底视图
[size=12.142857551574707px]人体活动监视器参考设计材料清单:
[size=12.142857551574707px]详情请见:
[size=12.142857551574707px]http://cache.freescale.com/files/32bit/doc/data_sheet/MCF51MM256.pdf?pspll=1&Parent_nodeId=1266360847079693137271&Parent_pageType=product
[size=12.142857551574707px]和
[size=12.142857551574707px]http://cache.freescale.com/files/microcontrollers/doc/ref_manual/DRM125.pdf?fpsp=1&Parent_nodeId=1316637941428717244434&Parent_pageType=product
|
|