------------------------------------------------------------------------------ The ACTIface "user interface" ------------------------------------------------------------------------------ Four LEDs are available for displaying status information: LED1 <- MSP430 port 3.0 LED2 <- MSP430 port 3.1 LED3 <- MSP430 port 3.2 LED4 <- MSP430 port 3.3 A dual DIP switch and two momentary pushbutton switches (normally open) can provide user input to the microcontroller program: SW1.1 -> MSP430 port 2.0 SW1.2 -> MSP430 port 2.1 PB1 -> MSP430 port 2.2 PB2 -> MSP430 port 2.3 I/O port directions on the MSP430 must be configured appropriately ("Out" for LEDs, "In" for switches and pushbuttons). Current through the switches/buttons is limited (resistor R13) to prevent damage in case these pins are configured as outputs. There is no special hardware debouncing. The application firmware supplied in this package uses SW1 to set the type of end-of-packet signalisation (positions of SW1.1 and SW1.2 identical: UART break signal, positions different: escape sequence) and the LEDs to display the number of times the PC (host) failed to send the U_AckInformation service in time. ------------------------------------------------------------------------------ Jumpers and connectors on ACTIface ------------------------------------------------------------------------------ - Overview - JP1 | TP-UART mode | 4-6/3-5: Normal, 1-3/2-4: Analog JP2 | TP-UART breakout | RxD, TxD, TEMP, RESn, SAVE JP3 | CTS select | 1-2: SAVE, 3-4: TEMP, 5-6: MSP430 port 1.1 JP4 | RTS select | 1-2: RESET, 2-3: MSP430 port 1.0 JP5 | RTS select | 1-2: use RTS for power, 2-3: use RTS for data EXT PWR | External supply | 1: +9 V, 2: GND, 3: -9 V X1 | KNX TP1 connector | 1: TP1 -, 2: TP1 + X2 | Ground pin | Signal common for test purposes X3 | Serial interface | Standard RS-232 pinout on DB9 female BP1, BP2 | MCU bypass | Must be connected if no MSP430 is placed - To use the board without a microcontroller - If BP1 and BP2 are closed, they connect the TP-UART RxD and TxD pins to the TxD and RxD pins of the galvanic isolation and level conversion block (RS-232 side). These connections need to be made if no microcontroller is installed on the board. - Connecting the TP1 cable - A dual connector footprint is provided: Either fit spring terminals on the inner pads to directly connect the TP1 wire pair, or solder two pins (1 mm diameter, 7 mm long) to the outer pads for using standard KNX connector blocks. - TP-UART operation mode - JP1 is used to determine the operation mode of the TP-UART IC. For normal mode, place one jumper over pins 4 and 6; in addition, place another over pins 5 and 6. For analog mode, connect pins 1-3 and 2-4. This is also illustrated on the silkscreen layer. In analog mode, the microcontroller has full control over the data link layer (a simple example for sending a frame in this mode is included in this package). - Connecting an external power supply - Usually, ACTIface is powered from the TP1 network and the RS-232 port (DTR and RTS, JP5 set to position 1-2). If no power is available from the RS-232 port (either if the host device does not provide status lines or if RTS is used as an asynchronous input to ACTIface), an external symmetric power supply (+/-9 to +/-12 V) must be connected to EXT PWR and JP5 must be set to position 2-3 (no harm should be done if JP5 is accidentally left in position 1-2 since RS-232 drivers and receivers should be able to withstand indefinite short circuit to any voltage level up to +/-25 volts). The design for a suitable power supply board is included in this package. - Asynchronous signals from/to ACTIface - If the need arises to exchange signals between ACTIface and host (PC) outside the UART data stream, CTS and RTS can be used. The RS-232 CTS status line is connected to the right column of pins on JP3 and can be fed with one of the following signals: SAVE (JP3 position 1-2), TEMP (JP3 position 3-4) and microcontroller port 1.1 (JP3 position 5-6), which has to be configured as an output in this case. The RS-232 RTS status line can be used to reset the microcontroller and the TP-UART (JP4 position 1-2), or it can be connected as an input to port 1.0 of the MSP430 (JP4 position 2-3). In both cases, RTS cannot be used to supply the level conversion/optoisolation part of ACTIface with power: JP5 is set to position 2-3, and an external power supply must be connected to EXT PWR. - Accessing TP-UART I/O signals for test purposes - JP2 provides access to RxD, TxD, TEMP, RESn and SAVE, e.g., for connecting a logic analyzer. Signal ground is available on X2 (connected to the TP1 ground wire). ------------------------------------------------------------------------------