Operation
Home Up Assembly Connections Operation Testing Documents

This page will describe the basic operation of your 912D60 board, and how the boards configuration options can be used.

Basic Operation

Once you have assembled your board, you need to know how to connect power, then set it up for programming. The MC68HC912D60 part comes from the factory completely blank. Therefore, you must program it before it can do anything.

To program this part, you will need a BDM12 interface pod,  or an equivalent board from another manufacturer. My instructions are going to assume you are using a BDM12 interface pod.

Setup for Programming and Debugging

For the 68HC912D60

Here is a list of things to do in setting up the board for programming using the 912D60 version of the chip. If you are using the 912D60A, see below.

  1. Connect a 5 volt power supply to the POWER pins
  2. Connect a well REGULATED +12v power supply to VPROG
  3. Connect a BDM12 to the BDM12 port. Be sure you understand where pin 1 is on the cable and on the board.
  4. Slide SW1 into the PROG position. The switch will be moved towards the LED
  5. Using your BDM12 download software, issue a reset command, then use the fload command to download your .S19 file.
  6. Once the programming is done, you can set SW1 to the Run position. The switch will be moved towards the DB9 connector.
  7. If needed, you can run your debugger software to single step and otherwise debug your code.

These steps should get you setup to program your board.

For the 68HC912D60A

Here is a list of things to do in setting up the board for programming using the 912D60A version of the chip. If you are using the 912D60, see above

  1. Connect a 5 volt power supply to the POWER pins
  2. Connect a BDM12 to the BDM12 port. Be sure you understand where pin 1 is on the cable and on the board.
  3. Using your BDM12 download software, issue a reset command, then use the fload command to download your .S19 file.
  4. If needed, you can run your debugger software to single step and otherwise debug your code.

These steps should get you setup to program your board.

Normal Operation

For normal operation, it is recommended that you do the following:

  1. If you have the 912D60, place SW1 into the RUN position. This disables the VPROG voltage from reaching the part.
  2. Connect +5 volts to POWER

On powerup, the chip will enter normal single chip operation mode, and execute whatever software you have previously loaded.

Optional changes to the board

I have configured this board to run just fine in stand alone mode. I have also added a few options via cut jumpers in the event that you wish to change the configuration on the board. The following describe what each of the cut jumpers on the board do. I have organized them according to functionality.

jumpcut.gif (7313 bytes)

The cut jumpers are made up of three surface mount pads. To cut a jumper, you need to remove the pad that connects the outer two pads. This creates a break in the surface. You can now use the outer pads to solder on a jumper wire to connect the circuit to some other connection point.

912d60-jmpcut6.gif (12128 bytes)

JP6 is the only cut jumper on the component or top side of the board.

912d60-jmpcuts.gif (20056 bytes)

Most of the cut jumpers are in the center of the solder or bottom side of the board.

912d60-jmpcut5.gif (4805 bytes)

JP5 is on the bottom, in the top right corner.

The following table is a summary of the cut jumpers on the 912D60 board.

Label Function / Pin Description Connects to
JP1 Vrh0 / IC1:67 Reference high for AD0 Vdd
JP2 Vrl0 / IC1:68 Reference low for AD0 Vss
JP3 Vrh1 / IC1:86 Reference high for AD1 Vdd
JP4 Vrl1 / IC1:87 Reference low for AD1 Vss
JP5 IOCx / IOCx VDD on the IOCx pins Vdd
JP6 VDDPLL / IC1:43 VDD for onboard PLL Vss
JP7 CS / IC4:1 Chip select for SPI EEPROM IC1:96 / SPI Port SS / PS7
JP8 WP / IC4:7 HOLD for SPI EEPROM Vdd
JP9 WP / IC4:3 Write protect for SPI EEPROM Vdd

A/D Conversion Voltages

The A/D converters come by default using Vdd and Vss as the reference voltages. If you would like to connect your own reference voltages, you will need to cut jumpers. There are two sets of jumpers, one for AD0 and the other for AD1.

To replace the Vrh and Vrl for AD0, cut JP1 and/or JP2 on the bottom of the board. JP1 is connected to the Vrh pin and to Vdd. If you cut JP1, you can replace Vrh with your own signal by either soldering a jumper to the appropriate pad on JP1, or connecting to pin 67 of the CPU. Likewise, JP2 is connected to pin 68 which is Vrl.

To replace the Vrh and Vrl for AD1, cut JP3 and/or JP4 on the bottom of the board. JP3 is connected to the Vrh pin and to Vdd. If you cut JP3, you can replace Vrh with your own signal by either soldering a jumper to the appropriate pad on JP3, or connecting to pin 86 of the CPU. Likewise, JP4 is connected to pin 87 which is Vrl.

RS232/TTL Conversion

One of the larger optional sections is the RS232/TTL conversion section. This section uses a MAX3221CAE part, which is a low power converter. The nice thing about this converter is it uses extremely little power in its shutdown state (approximately 5 uA). Thus, if you wish, you can install the part and practically ignore it. Otherwise, you can leave off IC2, C5, C6, C7, and C8 and the board will function without it.

912d60-invalidpin.gif (10735 bytes)

The MAX3221 part will stay in shutdown until it finds a valid signal on the RX line of the SERIAL0 connector. When this happens, the part will resume operation by starting the charge pump. If you wish, there is an additional connection that isn't implemented on this part called the INVALID/ pin. I have brought this connection out to an unmarked pad on the bottom side of the board. It is called the INVALID pad, and can be seen in the above diagram.

Serial EEPROM

The Serial EEPROM used on the 912D60 board is a Microchip 25LC640, which is an 8k x 8 serial EEPROM that is SPI compatible. I have wired this part directly to the SPI port on the board, and it uses the SS pin of the SPI port as the chip select. If you wish, you can omit the serial EEPROM if you don't plan to use it. If you do install the EEPROM, there are several cut jumpers that you can use to change the configuration. The default wiring works great when this device is the only thing on the SPI bus.

The default wiring has the IC4's chip select connected to the SS pin on the SPI port. To change this, you will need to cut jumper JP1, and rewire a different chip select via an I/O output pin.

Two other pins are connected to defaults through cut jumpers. JP8 defaults the HOLD\ pin to high, and JP9 disables the write protect mechanism. You need to understand how the serial EEPROM works before changing these defaults.

Empty SMT layouts

I also included a few empty SMT layouts in some spare room I found on the backside of the board. These parts are labeled EMPTY1-5, and are available for your use.

912d60-Empty.gif (52893 bytes)

Empty Holes

Looking at the topside of the board, you will notice all of the through hole parts have outlines around their holes. You may also notice a large number of holes that are 'extra'. These are put on for your use. For example, if you need to add a pullup or pulldown resistor, or perhaps add an additional connector to interface with the EMPTY SMT layouts, you are free to use these extra holes. They are aligned on a .100" grid, and can be stuffed with any part you see fit.

912d60-extraholes.gif (15387 bytes)