home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / robotics / 2639 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  5.8 KB

  1. Xref: sparky comp.robotics:2639 sci.electronics:20714
  2. Newsgroups: comp.robotics,sci.electronics
  3. Path: sparky!uunet!timbuk.cray.com!hemlock.cray.com!kilian
  4. From: kilian@cray.com (Alan Kilian)
  5. Subject: MC68HC16 Primer Rev 0.1
  6. Message-ID: <1992Dec14.165444.1346@hemlock.cray.com>
  7. Lines: 136
  8. Nntp-Posting-Host: gopher
  9. Organization: Cray Research, Inc.
  10. Date: 14 Dec 92 16:54:43 CST
  11.  
  12. Here's my attempt at a Motorola MC68HC16 primer.
  13. More versions will be posted as I get time to fill things out.
  14. If you can fill out a section please Email it to me.
  15.  
  16. 1) What are the part numbers and variants?
  17.       XC16Z1CFC16     16.78 mHz 132 pin plastic surface mount 32 per tray.
  18.   SPAKXC16Z1CFC16     16.78 mHz 132 pin plastic surface mount  2 per tray.
  19.       XC16Z1CFC20    20.00 mHz 132 pin plastic surface mount 32 per tray.
  20.   SPAKXC16Z1CFC20     20.00 mHz 132 pin plastic surface mount  2 per tray.
  21.       XC16Z1CFC25     25.00 mHz 132 pin plastic surface mount 32 per tray.
  22.   SPAKXC16Z1CFC25     25.00 mHz 132 pin plastic surface mount  2 per tray.
  23.   
  24.       XC16Z1CFD16     16.78 mHz 132 pin molded carrier ring   10 per tube.
  25.       XC16Z1CFD20     20.00 mHz 132 pin molded carrier ring   10 per tube.
  26.       XC16Z1CFD25     25.00 mHz 132 pin molded carrier ring   10 per tube.
  27.   
  28.       XC16Z1CFV16     16.78 mHz 144 pin plastic surface mount 44 per tray.
  29.   SPAKXC16Z1CFV16     16.78 mHz 144 pin plastic surface mount  2 per tray.
  30.       XC16Z1CFV20    20.00 mHz 144 pin plastic surface mount 44 per tray.
  31.   SPAKXC16Z1CFV20     20.00 mHz 144 pin plastic surface mount  2 per tray.
  32.       XC16Z1CFV25     25.00 mHz 144 pin plastic surface mount 44 per tray.
  33.   SPAKXC16Z1CFV25     25.00 mHz 144 pin plastic surface mount  2 per tray.
  34.   
  35.       XC16Z1CFM16     16.78 mHz 144 pin molded carrier ring   13 per tube.
  36.       XC16Z1CFM20     20.00 mHz 144 pin molded carrier ring   13 per tube.
  37.       XC16Z1CFM25     25.00 mHz 144 pin molded carrier ring   13 per tube.
  38.   
  39.   The XC means that it is still in the eXperimental production run.
  40.   They still have some strange actions that will not be in the production
  41.   parts. From the errata sheets I have there aren't any showstoppers.
  42.   
  43.   One XC16Z1CFC16 will run about $22.00 and take 16 weeks to get to you.
  44.   Although I don't believe the 16 week lead time.
  45.  
  46. 2) What is it?
  47.    The MC68HC16Z1 is a high-speed 16-bit control unit that is upwardly code 
  48.    compatible with MC68HC11 controllers. 
  49.  
  50.    M68HC16 controllers are built up from standard modules that interface 
  51.    through a common internal bus.
  52.  
  53.    The 'HC16Z1 incorporates the following modules:
  54.    a true 16-bit CPU (CPU16),
  55.    a system integration module (SIM),
  56.    an 8/10-bit analog-to-digital convertor (ADC),
  57.    a queued serial module (QSM),
  58.    a general purpose timer (GPT),
  59.    and a 1024 byte syandby ram (SRAM).
  60.    These modules are interconnected by the intermodule bus (IMB).
  61.  
  62. 3) Features:
  63.    CPU16:
  64.     16-bit architecture
  65.     Full set of 16-bit instructions
  66.     Three 16-bit index registers
  67.     Two 16-bit accumulators
  68.     Control-oriented digital signal processing capability
  69.     1 Megabyte of program memory and 1 Megabyte of data memory
  70.         This means you have 20 bits of effective address which
  71.         consists of a 16 bit page address and a 4 bit extension. 
  72.     High-level language support
  73.         Like what?
  74.     Fast interrupt response time
  75.         Somewhere around 25 clocks. (1.5 microSeconds @16.78 mHz)
  76.            I can't get the numbers exactly from the million pages of manuals.
  77.     Background debugging mode
  78.         Wow! This is cool. More later.
  79.     Fully static operation. 
  80.         This means you can use whatever clock you like. All the way
  81.         down to zero. And you can vary the clock during execution.
  82.    SIM:
  83.     External bus support.
  84.         What a surprise
  85.     Programmable chip select outputs.
  86.         Cool way to map external devices into your data space.
  87.     System protection logic
  88.         Who knows what this is.
  89.     Watchdog timer, Clock monitor and bus monitor.
  90.         I never use these types of things.
  91.     Two 8-bit dual function ports.
  92.     One 7-bit dual function port.
  93.     Phase-Locked-Loop (PLL) Clock system.
  94.         You don't need a 16.78 mHz crystal. Just use a 32,768 Hz crystal.
  95.         (Yup, 32.768 kHz. Apparently its a watch crystal.)
  96.    8/10-bit A/D:
  97.     Select 8 or 10 bit precision.
  98.     Eight channels, Eight result registers.
  99.         The HC11 has 4 result registers.
  100.     Eight automated modes.
  101.         One bit for each of three modes:
  102.         SCAN: continuous or single conversion
  103.         MULT: Multiple or single channel
  104.         S8CM: 8-conversions or 4-conversions
  105.         You can set as many bits as you like. 2^3 = 8 modes.
  106.     Three result alignment modes
  107.         Unsigned Right-justified format
  108.         Unsigned Left-justified format
  109.         Signed Left-justified format
  110.     One 8-bit digital input port.
  111.         If you don't use it as an analog input port.
  112.    QSM:
  113.     Queued serial preipheral interface
  114.         Like the HC11's SPI but has a 32 byte input and output queue
  115.         so you don't have to fiddle with each byte.
  116.     One 8-bit Dual function port
  117.         If you don't use it as a serial port.
  118.    GPT:
  119.     Two 16-bit free-running counters with prescaler
  120.     Three input capture channels
  121.     Four output compare channels
  122.     One input capture/output compare channel
  123.     One pulse accumulator channel
  124.     Two pulse width modulation outputs (PWM)
  125.     One 8-bit Dual function port
  126.     Two optional discrete inputs
  127.     Optional external clock input.
  128.    SRAM:
  129.     1024 byte static ram
  130.         And its only 2 clocks away!!!
  131.     External standby voltage supply input
  132.         For a lithium battery or Whopping-big capacitor.
  133.  
  134. 4) How does it compare to the HC11?
  135. 5) How does the Background Debugging Mode (BDM) work?
  136. 6) Tell us about the Two 16-bit free-running counters.
  137. 7) What about power-down modes?
  138. 8) How do those PWM outputs work?
  139.    You'll just have to wait
  140.  
  141.                                   -Alan Kilian
  142.  
  143.  
  144. -- 
  145.  -Alan Kilian           kilian@cray.com 612.683.5499 (Work) 612.721.3990 (Home)
  146.   "Our friend Dirac has his own philosophy. It is:"
  147.   "There is no God and Dirac is His prophet" - Some Physicist
  148.