Smart Star
User's Manual
PREV INDEX NEXT


3. Hardware Features

Chapter 3 describes the principal features for the Smart Star backplanes and CPU cards.

· Power Distribution
- Power Distribution
- I/O Card Slots

· Smart Star CPU Card Features
- Serial Communication
- Memory
- Other Connectors

3.1 Backplane Features

3.1.1 Power Distribution

Power is supplied to the Smart Star control system from an external source through header J1 on the backplane. The +5 V circuitry on the Smart Star control system is protected against reverse polarity by a Schottky diode as shown in Figure 6.


Figure 6. Smart Star Control System Power Supply Schematic

A capacitor provides surge current protection for the voltage regulator, and allows the external power supply to be located some distance away from the Smart Star control system. A switching power regulator is used. The +RAW input voltage may range from 9 V to 30 V (15 V to 30 V you plan to use a D/A Converter Card).

The backplane has inputs for two separate power supplies on header J1, +RAW and V_USER. The +RAW power supply goes to the switching power regulator, which outputs the +5 V DC used by the CPU Card and by the I/O cards plugged into the backplane. The V_USER connection allows a different voltage to be available on the I/O cards for future development.

NOTE Always connect V_USER to +RAW with a jumper wire between terminals 1 and 2 on header J1 for the development activities described in the Smart Star manuals.

Figure 7 shows how the power supplies are distributed on the backplane and on the CPU Card.


Figure 7. Smart Star Power Supplies--Backplane and CPU Card

Figure 8 shows how the power supplies are distributed on the I/O cards.


Figure 8. Smart Star Power Distribution on I/O Cards

NOTE Note that Rabbit Semiconductor recommends tying +RAW to +V_USER as explained in Section 2.2, "Connect the Power Supply."

The user has the option of using a separate power supply to K when configuring the high-power outputs for the digital I/O cards. The connection to K is through the user interface on the digital I/O card. Further details are provided in Chapter 7, "Digital I/O Cards."

3.1.2 I/O Card Slots

The backplane serves to make the CPU Card accessible to up to seven I/O cards plugged in to SLOT 0 through SLOT 6 on the backplane. Figure 9 shows the pinout for SLOT 0 through SLOT 6 (headers J3-J9) on the backplane.


Figure 9. Pinout for SLOT 0 Through SLOT 6
(Headers J3-J9) on the Backplane

NOTE The SR9050 backplane can accommodate up to three I/O cards plugged in to SLOT 0 through SLOT 2 (headers J3-J5).

3.2 Smart Star CPU Card Features

3.2.1 Serial Communication

The CPU Card has one screw terminal header for RS-232/RS-485 serial communication (J3) and one RJ-45 Ethernet jack (J7, SR9150 only). The RJ-12 jack, J6, is reserved for future use and therefore has no signals. The pinouts are shown in Figure 10.


Figure 10. Smart Star CPU Card Serial Pinout

The factory default for the CPU Card is one RS-232 (3-wire) and one RS-485 serial channel, corresponding to Mode 0 in Figure 10. The other modes shown in Figure 10 are set in software via the Dynamic C serMode function call (see Section 4.5, "Serial Communication Calls").

3.2.1.1 RS-232

The CPU Card's RS-232 serial channel is connected to an RS-232 transceiver. The transceiver provides the voltage output, slew rate, and input voltage immunity required to meet the RS-232 serial communication protocol. Basically, the chip translates the Rabbit 2000's 0 V to +Vcc signals to RS-232 signal levels. Note that the polarity is reversed in an RS-232 circuit so that +5 V is output as approximately -10 V and 0 V is output as approximately +10 V. The transceiver also provides the proper line loading for reliable communication.

The maximum baud rate is 115,200 bps. RS-232 can be used effectively at this baud rate for distances up to 15 m.

The Rabbit 2000 serial port C TXD and RXD signals are presented either as RS-232 TX and RX or as RTS/CTS handshaking, depending on the mode selected with the Dynamic C function serMode. The RS-232 signals are available on screw terminal header J3.

3.2.1.2 RS-485

The CPU Card has one RS-485 serial channel, which is connected to the Rabbit 2000 serial port C through an RS-485 transceiver. The chip's slew rate limiters provide for a maximum baud rate of 250,000 bps, and allows networking over a distance of up to 300 m (or 1000 ft.). The half-duplex communication uses the Rabbit 2000's PD4 pin to control the data enable on the communication line.

The RS-485 signals are available on the CPU Card through screw terminal header J3.

The Smart Star control system can be used in an RS-485 multidrop network. Connect the 485+ to 485+ and 485- to 485- using single twisted-pair wires on the CPU Card's header J4 as shown in Figure 11. Note that a common ground is recommended.


Figure 11. Multidrop Smart Star Network

The CPU Card comes with a 220 W termination resistor and 681 W bias resistors already installed and enabled with jumpers across pins 1-2 and 5-6 on header JP1, as shown in Figure 12.


Figure 12. RS-485 Termination and Bias Resistors

For best performance, the bias and termination resistors in a multidrop network should only be enabled on both end nodes of the network. Disable the termination and bias resistors on any intervening Smart Star units in the network by removing both jumpers from header JP1.

NOTE Save the jumpers for possible future use by "parking" them across pins 1-3 and 4-6 of header JP1. Pins 3 and 4 are not otherwise connected to the CPU Card.

3.2.1.3 Programming Port

The CPU Card has a 10-pin programming header labeled J2. The programming port uses the Rabbit 2000's Serial Port A for communication. Dynamic C uses the programming port to download and debug programs.

The programming port is also used for the following operations.

Alternate Uses of the Serial Programming Port

All three clocked Serial Port A signals are available as

The serial programming port may also be used as a serial port via the DIAG connector on the serial programming cable.

In addition to Serial Port A, the Rabbit 2000 startup-mode (SMODE0, SMODE1), status, and reset pins are available on the serial programming port.

The two startup mode pins determine what happens after a reset--the Rabbit 2000 is either cold-booted or the program begins executing at address 0x0000.

The status pin is used by Dynamic C to determine whether a Rabbit microprocessor is present. The status output has three different programmable functions:

  1. It can be driven low on the first op code fetch cycle.

  2. It can be driven low during an interrupt acknowledge cycle.

  3. It can also serve as a general-purpose CMOS output.

The /RESET_IN pin is an external input that is used to reset the Rabbit 2000 and the onboard peripheral circuits on the Smart Star. The serial programming port can be used to force a hard reset on the Smart Star by asserting the /RESET_IN signal.

Refer to the Rabbit 2000 Microprocessor User's Manual for more information.

3.2.1.4 Ethernet Port (SR9150 only)

Figure 13 shows the pinout for the Ethernet port (J2 on the CPU Card). Note that there are two standards for numbering the pins on this connector--the convention used here, and numbering in reverse to that shown. Regardless of the numbering convention followed, the pin positions relative to the spring tab position (located at the bottom of the RJ-45 jack in Figure 13) are always absolute, and the RJ-45 connector will work properly with off-the-shelf Ethernet cables.


Figure 13. RJ-45 Ethernet Port Pinout

RJ-45 pinouts are sometimes numbered opposite to the way shown in Figure 13.

Two LEDs are placed behind the RJ-45 Ethernet jack, one to indicate an Ethernet link (LNK) and one to indicate Ethernet activity (ACT). Only the CPU LEDs are functional at this time since the RCM LEDs were added for future enhancements to the CPU Card.

The transformer/connector assembly ground is connected to the CPU Card digital ground via a 0 W resistor "jumper," R43, as shown in Figure 14.


Figure 14. Isolation Resistor R43

The factory default is for the 0 W resistor "jumper" at R43 to be installed. In high-noise environments, remove R43 and ground the transformer/connector assembly directly through the chassis ground. This will be especially helpful to minimize ESD and/or EMI problems.

3.3 Programming Cable

The programming cable is used to connect the programming port of the Smart Star CPU Card to a PC serial COM port. The programming cable converts the RS-232 voltage levels used by the PC serial port to the TTL voltage levels used by the Rabbit 2000.

When the PROG connector on the programming cable is connected to the CPU Card's programming header, programs can be downloaded and debugged over the serial interface.

The DIAG connector of the programming cable may be used on the CPU Card's programming header with the Smart Star operating in the Run Mode. This allows the programming port to be used as a regular serial port.

3.3.1 Changing Between Program Mode and Run Mode

The Smart Star is automatically in Program Mode when the PROG connector on the programming cable is attached to the CPU Card, and is automatically in Run Mode when no programming cable is attached. When the Rabbit 2000 is reset, the operating mode is determined by the status of the SMODE pins. When the programming cable's PROG connector is attached, the SMODE pins are pulled high, placing the Rabbit 2000 in the Program Mode. When the programming cable's PROG connector is not attached, the SMODE pins are pulled low, causing the Rabbit 2000 to operate in the Run Mode.


Figure 15. Smart Star Program Mode and Run Mode Set-Up

A program "runs" in either mode, but can only be downloaded and debugged when the Smart Star is in the Program Mode.

Refer to the Rabbit 2000 Microprocessor User's Manual for more information on the programming port and the programming cable.

3.3.2 Memory

3.3.2.1 SRAM

The Smart Star CPU Cards are designed to accept 128K or 512K of static RAM packaged in an SOIC case. Standard CPU Cards come with 128K of SRAM.

3.3.2.2 Flash EPROM

The Smart Star CPU Card are also designed to accept 128K to a total of 512K of flash memory packaged in a TSOP case. The CPU cards come with two 256K flash memory chips.

NOTE Rabbit Semiconductor recommends that any customer applications should not be constrained by the sector size of the flash memory since it may be necessary to change the sector size in the future.

A Flash Memory Bank Select jumper configuration option based on 0 W surface-mounted resistors exists at header JP5 on the CPU Card. This option, used in conjunction with some configuration macros, allows Dynamic C to compile two different co-resident programs for the upper and lower halves of the 256K flash in such a way that both programs start at logical address 0000. This is useful for applications that require a resident download manager and a separate downloaded program. See Technical Note 218, Implementing a Serial Download Manager for a 256K Flash, for details.

3.3.3 Other Connectors

The connectors labeled J4 and J5 in Figure 16 are reserved for future use and should not be used in customer applications at this time.


Figure 16. CPU Card Connectors J4 and J5

Jumpers across pins 9-10 and 13-14 on header JP1 on the backplane are used to bring out the ACT and LNK LED signals to header J6, which is used to connect the optional LCD/keypad module. Remove these jumpers (you may park them across pins 7-8 and 11-12 on header JP1) if you do not wish to use the ACT and LNK signals on the LCD/keypad module.


Figure 17. Header JP1 Configurations for ACT and LNK Signals

NOTE The RCM positions for pins 1-2 and 5-6 on header JP1 are reserved for future use and should not be used in customer applications at this time.

3.4 Other Hardware

3.4.1 Clock Doubler

The Smart Star CPU cards take advantage of the Rabbit 2000 microprocessor's internal clock doubler. A built-in clock doubler allows half-frequency crystals to be used to reduce radiated emissions. The 22.1 MHz frequency is generated using an 11.0592 MHz crystal. The clock doubler is disabled automatically in the BIOS for crystals with a frequency above 12.9 MHz.

The clock doubler may be disabled if 22.1 MHz clock speeds are not required. Disabling the Rabbit 2000 microprocessor's internal clock doubler will reduce power consumption and further reduce radiated emissions. The clock doubler is disabled with a simple global macro as shown below.

  1. Select the "Defines" tab from the Dynamic C Options > Project Options menu.

  2. Add the line CLOCK_DOUBLED=0 to always disable the clock doubler.

    The clock doubler is enabled by default, and usually no entry is needed. If you need to specify that the clock doubler is always enabled, add the line CLOCK_DOUBLED=1 to always enable the clock doubler. The clock speed will be doubled as long as the crystal frequency is less than or equal to 26.7264 MHz.

  3. Click OK to save the macro. The clock doubler will now remain off whenever you are in the project file where you defined the macro.


3.4.2 Spectrum Spreader

Smart Star CPU cards that carry the CE mark have a Rabbit 2000 microprocessor that features a spectrum spreader, which helps to mitigate EMI problems. By default, the spectrum spreader is on automatically for CPU cards that carry the CE mark when used with Dynamic C 7.32 or later versions, but the spectrum spreader may also be turned off or set to a stronger setting. The means for doing so is through a simple global macro as shown below.

  1. Select the "Defines" tab from the Dynamic C Options > Project Options menu.

  2. Normal spreading is the default, and usually no entry is needed. If you need to specify normal spreading, add the line

    ENABLE_SPREADER=1

For strong spreading, add the line

    ENABLE_SPREADER=2

To disable the spectrum spreader, add the line

    ENABLE_SPREADER=0

NOTE The strong spectrum-spreading setting is unnecessary for the Smart Star.

  1. Click OK to save the macro. The spectrum spreader will now remain off whenever you are in the project file where you defined the macro.

.

There is no spectrum spreader functionality for Smart Star CPU cards that do not carry the CE mark or when using any CPU card with a version of Dynamic C prior to 7.30.


Rabbit Semiconductor
www.rabbit.com
PREV INDEX NEXT