The Schematic and the PCB


Schematics

This is the schematic (PROTEL file) of our Embedded Ethernet Device board.

The brain of this system is the SCENIX SX52 microcontroller. This one can run at 50mhz (even 100Mhz). To program this device is a real pleasure, since it has a Flash EEPROM program memory, and can be erased in 5 seconds, programmed in 10 seconds. This microcontrollers has a very nice debugger attached to a PC by the RS232 link that can allows to trace all the code instructions : no need of emulator and logical analyser to debug it.It's a very affordable solution. SX52 can run in a standalone mode with a 50Mhz oscillator, or be run by the SX Key clock (JP5 and JP6).

We add to the SX52, 2K of SRAM to store the ethernet frame, because the SX52's memory is not so huge, and sometime one need to send again back the ethernet frame if it has not reached the PC.

The ethernet controller is the Cirrus Logic CS8900, a very powerfull IC which does all the work for you. This kind of circuit is generally installed in PC/ISA board network adapters. The CS8900 can use DMA, has a 20 bit adress bus, 16 Data bus, etc etc... In our case, we use this circuit in a straigthforward mode : using 8 bit data in IO mode. IO mode means that we address the device at $300 with a 4 bit bus, meanning that we can read/write addresses from $300, $301 ... to $30F.

Two FIFOs have been installed, the first one is used to send commands to the slave microcontroller, SX52 can write a batch of commands, the FIFO size could be limited to 512 bytes for that purpose. The other FIFO allows the slave microcontroller to send to the SX52 hand shake and datas.

In the case of the use of a slave microcontroller for reading out CCDs camera, this FIFO must be more than 5K. We choose 16K, to allow continous/in-interrupted CCD readout. It lets time to the SX52 to send data over the LAN, even allowing to re-send data in the case of frame loss/colision without having to stop to readout the CCD : that's a big advantage ! It also makes possible to use Time Delay Integration mode with very accurate pixel readout timming.

 

The PCB

PCB has been done using PROTEL software, it ended up to a two layer PCB of 101x68mm. The PCB has been manufactured here. SMD parts have been used, and concerning resistor and caps, those are really easy to solder, evne with a . The SX52 is still OK to solder. Nevertheless, the CS8900 has 100 0.5mm spaced pins and is the most difficult part to solder: it requires special tools. So, I strongly recommand you to read this document.

 

EED 2 layer PCB

 

 

Part list

RS= RadioSpare GERMANY

Part Type
Designator
Footprint
Price (DM)
Provider
Description
22K
R17
805
RS
SMD resistor
22K
R18
805
RS
SMD resistor
24.3R 1%
R11
1206
RS
SMD resistor
24.3R 1%
R10
1206
RS
SMD resistor
4.7K
R16
1206
RS
SMD resistor
4.99K 1%
R15
805
RS
SMD resistor
680R
R12
1206
RS
SMD resistor
680R
R13
1206
RS
SMD resistor
1MR
R14
805
RS
SMD resistor
100R
R19
1206
RS
SMD resistor
5-10K
R23
SIP9
RS
Network resistors
5-10K
R22
SIP9
RS
Network resistors
5-10K
R21
SIP9
RS
Network resistors
20 Mhz
X2
XTAL1
RS
Quartz 20 Mhz
50Mhz
Q1
QUARTZGEN
RS
Oscillator 50 Mhz
100nF
C24
805
RS
SMD capacitor
100nF
C23
805
RS
SMD capacitor
100nF
C22
805
RS
SMD capacitor
100nF
C25
805
RS
SMD capacitor
100nF
C32
805
RS
SMD capacitor
100nF
C31
805
RS
SMD capacitor
100nF
C29
805
RS
SMD capacitor
100nF
C30
805
RS
SMD capacitor
100nF
C34
1206
RS
SMD capacitor
100nF
C39
1206
RS
SMD capacitor
100nF
C38
1206
RS
SMD capacitor
100nF
C33
805
RS
SMD capacitor
100nF
C37
805
RS
SMD capacitor
100nF
C35
1206
RS
SMD capacitor
100nF
C36
805
RS
SMD capacitor
100nF
C40
1206
RS
SMD capacitor
100uF
C28
RAD0.2
RS
Capacitor
15pF
C21
805
RS
SMD capacitor
15pF
C20
805
RS
SMD capacitor
68pf
C41
805
RS
SMD capacitor
CON10
J1
SIP10
RS
Connector
CON14
J4
SIP14
RS
Connector
CS8900A
A6
quad100
28
ATLANTIK ELEKTRONIK
Ethernet controller
CY128A
A5
DIP24
12
RS
SRAM 2K CY7C128A-20PC DIL24
CY7C433
A7
PLCC32-grid
22
RS
FIFO CY7C421-25JC CYP 4608 512x9 PLCC32
CY7C460
A4
PLCC32-grid
22 / 57
SASCO Fifo 16K RS Fifo 512o
FIFO CY7C462A 16Kx9 (512x9) can be used for small applications
INS.
J5
SOP16
5
RUTRONIX
Ethernet insolator ST7010T VALOR
JUMPER
JP6
RAD0.1
RS
Jumper
JUMPER
JP5
RAD0.1
RS
Jumper
LED
D4
RAD0.1
RS
Green LED
LED
D3
RAD0.1
RS
Red LED
RESET
J3
RAD0.1
RS
2 pin connector
RJ45 CON
J6
RJ45 RS
6.15
RS
RJ45 connector
SX52BD
A3
SX52QUAD
25
SCANTEC
Microcontroller
PCB
-
-
64
PCB POOL
Board
SXKey
JP4
SIP-4
RS
4 Pin Header
TOTAL
200 (*)
 

(*) figure rounded to 200 Dm because of the price SMD cap and resistor part is not mentionned here.

 


By C.CAVADORE and B.GAILLARD, ESO, Aug 2000.