Home
Search | Imprint | Deutsch

Coconut


The Coconut board is an advanced communication controller for up to six RS232 ports. It is equipped with three ATmega128 CPUs, which are interconnected by an I2C bus. All CPUs are independently running NutOS. Allthough the Coconut board may be useful on its own, it has been mainly designed to plug on top of an Ethernut board. In this case the two RS232 ports from the Ethernut are also routed to the Coconut's RS232 port connector, providing a total of eight serial ports.

A second connector offers freely programmable LED indicator outputs as well as shift register signals to add a large number of low speed digital I/O ports. The shift register are only available when Coconut has been connected to an Ethernut board.

Coconut Overview

Two additional boards are available to easily build up a complete system. The Coconect board can be connected to the Coconut RS232 connector and provides 8 DB-9 connectors. It may be equipped with female (DCE) or male (DTE) connectors.

The second board, IONut, will be connected to Coconut's digital I/O port. It offers 16 opto isolated inputs and 8 relay outputs. All contacts are available at plugable screw terminals.



RS232 I/O Port

All RS232 signals are available on a 34 pin connector. The Coconect board can be directly plugged in with a 1:1 flat ribbon cable.

Each port offers RTS/CTS hardware handshaking. If full modem handshaking is required, then two ports may be combined to a single one, using a different Coconect board.

PinSignalDescription
1TD1Ethernut PE1
Serial port 2 data output
3RD1Ethernut PE0
Serial port 2 data input
5TD0Ethernut PD3
Serial port 1 data output
7RD0Ethernut PD2, if JP8 set
Serial port 1 data input
9TD3Coconut CPU1 PE1
Serial port 4 data output
11RD3Coconut CPU1 PE0
Serial port 4 data input
13TD2Coconut CPU1 PD3
Serial port 3 data output
15RD2Coconut CPU1 PD2
Serial port 3 data input
17GNDSignal ground
19TD5Coconut CPU2 PE1
Serial port 6 data output
21RD5Coconut CPU2 PE0
Serial port 6 data input
23TD4Coconut CPU2 PD3
Serial port 5 data output
25RD4Coconut CPU2 PD2
Serial port 5 data input
27TD7Coconut CPU3 PE1
Serial port 8 data output
29RD7Coconut CPU3 PE0
Serial port 8 data input
31TD6Coconut CPU3 PD3
Serial port 7 data output
33RD6Coconut CPU3 PD2
Serial port 7 data input
PinSignalDescription
2CTS1Ethernut PD4
Serial port 2 handshake output
4RTS1Ethernut PE7
Serial port 2 handshake input
6CTS0Ethernut PE1
Serial port 1 handshake output
8RTS0Ethernut PE3
Serial port 1 handshake input
10CTS3Coconut CPU1 PD4
Serial port 4 handshake output
12RTS3Coconut CPU1 PE7
Serial port 4 handshake input
14CTS2Coconut CPU1 PE2
Serial port 3 handshake output
16RTS2Coconut CPU1 PE3/PE6
Serial port 3 handshake input
18GNDSignal ground
20CTS5Coconut CPU2 PD4
Serial port 6 handshake output
22RTS5Coconut CPU2 PE7
Serial port 6 handshake input
24CTS4Coconut CPU2 PE2
Serial port 5 handshake output
26RTS4Coconut CPU2 PE3/PE6
Serial port 5 handshake input
28CTS7Coconut CPU3 PD4
Serial port 8 handshake output
30RTS7Coconut CPU3 PE7
Serial port 8 handshake input
32CTS6Coconut CPU3 PE2
Serial port 7 handshake output
34RTS6Coconut CPU3 PE3/PE6
Serial port 7 handshake input


Digital I/O Port

A 26 pin connector contains all digital signals for 10 LED outputs and 5 shift register signals.

2 LED outputs are controlled by each Coconut CPU, typically used to indicate serial I/O activity. The remaining 4 LED outputs can be used by an Ethernut board, if one is attached. Two of them may be used as serial I/O indicators and the other two can show Ethernet link and activity. However, all LEDs are under full software control and may serve other purposes.

The number of digital inputs and outputs, that can be attached to the shift register I/O is theoretically unlimited, But the scan and update time increases with its number. Please note, that the shift register I/O is only available when the Coconut is attached to an Ethernut board.

PinSignalDescription
1DCUnregulated supply
3DCUnregulated supply
5ICOM8Coconut CPU3 PB6
Serial port 8 LED
7ICOM6Coconut CPU2 PB6
Serial port 6 LED
9ICOM4Coconut CPU1 PB6
Serial port 4 LED
11ICOM2Ethernut PB6
Serial port 2 LED
13GNDSignal
ground
15GNDSignal
ground
17GNDSignal
ground
19GNDSignal
ground
21GNDSignal
ground
23GNDSignal
ground
25GNDSignal
ground
PinSignalDescription
2DCUnregulated supply
4DCUnregulated supply
6ICOM7Coconut CPU3 PB4
Serial port 7 LED
8ICOM5Coconut CPU2 PB4
Serial port 5 LED
10ICOM3Coconut CPU1 PB4
Serial port 3 LED
12ICOM1Ethernut PB4
Serial port 1 LED
14IACTEthernut PE6
Activity LED
16ILINKEthernut PE4
Link LED
18LDOUTEthernut PB5
Digital output latch
20LDINEthernut PB7
Digital input latch
22SERCLKEthernut PD7
Digital data clock
24SEROUTEthernut PD6
Digital data output
26SERINEthernut PD5
Digital data input


Ethernut Expansion Port

As mentioned before, the main purpose of the Coconut board is to serve as an Ethernut Add-On.

The following table shows, which Ethernut expansion signals are used by the Coconut board. Pins not shown are not connected.

PinSignalCoconut Usage
3VCC5+5V, if JP6 closed
5GNDSignal ground
7GNDSignal ground
9RESETNot connected
39PE0Serial port 2 data input
41PE2Serial port 1 handshake output
43PE4Link LED
45PE6Activity LED
47PB0Reset CPU1
49PB2Reset CPU3
51PB4Serial port 1 LED
53PB6Serial port 2 LED
55PD0TWI bus clock
57PD2Serial port 1 data input, if JP8 closed
59PD4Serial port 2 handshake output
61PD6Digital data output
PinSignalCoconut Usage
4VCC5+5V, if JP6 closed
6GNDSignal ground
8GNDSignal ground
10DCUnregulated supply, if JP7 closed
40PE1Serial port 2 data output
42PE3Serial port 1 handshake input
44PE5Not connected
46PE7Serial port 2 handshake input
48PB1Reset CPU2
50PB3Not connected
52PB5Digital output latch
54PB7Digital input latch
56PD1TWI bus data
58PD3Serial port 1 data output
60PD5Digital data input
62PD7Digital data clock


Power Supply Options

An external power supply can be connected to either the Ethernut board, the Coconut board or both.

JP6JP7IC12Supply Input
OpenOpenMountedBoth required, Ethernut and Coconut
CloseOpenNot mountedEthernut only
OpenCloseMountedEthernut or Coconut
CloseCloseNot mountedEthernut or Coconut


Schematics

cnut10b-s1.pdf Page 1: Ethernut Interface

cnut10b-s2.pdf Page 2: Coconut CPU 1

cnut10b-s3.pdf Page 3: Coconut CPU 2

cnut10b-s4.pdf Page 4: Coconut CPU 3

cnut10b-s5.pdf Page 5: Digital Interface And Power Supply