Aspen Garrett Earnshaw Joe Chmura Mieszko Kruger Yoni Mekuria Aspen: Objectives To dynamically control a network of peripheral devices, a network that controls as well as senses with the use of a CAN bus. Garrett Basic Layout Garrett Core Layout Garrett Node Layout Garrett Core Implementation MC68HC908GZ16 Parts and Logic diagram MC33388 MM74C922 4x4 Keypad Optrex LCD Joe Node Implementation MC68HC908GZ16 MC33388 Parts and Logic diagram Joe Node Example Joe MC68HC908GZ16 Specification Sheet High-performance M68HC08 architecture optimized for C-compilers 8-MHz internal bus frequency 16k Flash 1k RAM 408 bytes of ROM MSCAN08 (Motorola scalable controller area network, implementing 2.0b protocol) Mieszko Software processes Core Operational Node Operational Diagram Diagram Mieszko Memory Map Address $0000$003F $0040$0440 $0440$04FF $0500$057F $0580$1BFF $1C00$1D95 $1D96$BFFF $C000$FDFF $FE00 $FE01 $FE02 $FE03 $FE04 $FE05 Description I/O Registers 64 bytes RAM 1024 bytes Unimplemented 192 bytes MSCAN08 Control and Message Buffer 128 bytes Unimplemented 5760 bytes Flash Programming Routines ROM 406 bytes Unimplemented 41,578 bytes Flash Memory 15,872 bytes Break Status Register (BRS) 1 byte SIM Reset Status Register (SRSR) Break Auxiliary Register (BRKAR) Break Flag Control Register (BFCAR) Interrupt Status Register 1 (INT1) Interrupt Status Register 2 (INT2) $FE06 $FE07 $FE08 $FE09 $FE0A $FE0B $FE0C $FE0D$FE0F $FE10$FE1F $FE20$FF7D $FF7E $FF7F$FFD3 $FFD4$FFFF Register 2 (INT2) Interrupt Status Register 3 (INT3) Reserved Flash Control Register (FLCR) Break Address Register High (BRKH) Break Address Register Low (BRKL) Break Status and Control Register (BRKSCR) LVI Status Register (LVISR) Unimplemented 3 bytes Unimplemented 16 bytes Reserved for Compatibility with Monitor Code for A-Family Part Monitor Rom 350 bytes Flash Block Protect Register (FLBPR) Unimplemented 85 bytes Flash Vectors 44 bytes Mieszko Problems Encounter Coldfire development board = overkill. Redesign our core board. Licensing issues with CodeWarrior. Mieszko Cost Sheet Item Quantity Price (per unit) Total per Item(s) Standard AT power supply 1 $26.87 $26.87 RS232 Cable Male-Female 1 $13.49 $13.49 Quad Flat Pack Adapter 48QFS30-D6-SMT-S 2 $24.00 $48.00 MC68HC908GZ16 48 lead QFP MCU 6 Donated Donated MC33388 CAN Physical Layer Interface Chip MONO8 Connectors Simulator or emulator software 16 Key Keypad 8 MHz Crystals Miscelaneous Parts Total Cost Estimated Core Cost Estimated Node Cost 6 2 1 6 as needed Donated Donated Donated Donated Donated Donated $20.82 $0.94 $50.00 $20.82 $5.64 $50.00 $164.82 $50.19 $5-$15 Yoni Schedule Yoni Division of Labor Garrett Mieszko Software Core design and build Software Communication with leaves Documentation Yoni Joe Power Power Leaf implementation Leaf design and build Cabling Yoni Questions