Difference between revisions of "V.24 Level Shifter Board"

From W9CR
Jump to navigation Jump to search
Line 11: Line 11:
 
<div style="clear: both"></div>
 
<div style="clear: both"></div>
  
I designed this as there OEM boards are hard to find and pricey when they are available.  Other aftermarket boards such as the [Dave NX4Y v.24 Board] have limitations which make it unsuitable for my needs as they do not support clocking other than in a single direction.  My design supports every thing the OEM board does and adds several additional features.  It also lies nearly flat in either port of the Wireline Board.  
+
I designed this as there OEM boards are hard to find and pricey when they are available.  Other aftermarket boards such as the [[Dave NX4Y v.24 Board]] have limitations which make it unsuitable for my needs as they do not support clocking other than in a single direction.  My design supports every thing the OEM board does and adds several additional features.  It also lies nearly flat in either port of the Wireline Board.  
  
 
= Features =
 
= Features =

Revision as of 00:05, 8 July 2024


This is a page about the v.24 level converter I made to be fully drop in replacement for the TTN4010 OEM board.

W9CR v.24 Board v2024-05-22

I designed this as there OEM boards are hard to find and pricey when they are available. Other aftermarket boards such as the Dave NX4Y v.24 Board have limitations which make it unsuitable for my needs as they do not support clocking other than in a single direction. My design supports every thing the OEM board does and adds several additional features. It also lies nearly flat in either port of the Wireline Board.

Features

  • Full OEM Compatibility - This will work in place of the OEM board
    • Includes a relay so that the station can originate clock OR be clocked by DCE.
  • Simple design - Affordable and easy to assemble, only one IC
  • The following can be done via dip switch at the RS232 level
    • CD asserted and tied to MARK or SPACE
    • Tie TXCLK and RXCLK together - this allows a station to connect to another which is set to not send TX clock
    • Tie CTS and RTS together - needed in some cases for certain v24 to DCE connections
  • Built in cross over port to connect two stations with a standard Ethernet patch cable without needing a crossover adapter.
    • This simplifies making the DB25 to RJ-45 dongles for interconnecting with Cisco routers as there is no need for tying signal lines together in the dongle.
  • Internally ESD (10kv) protected design - meets or exceeds the OEM v.24 daughter card or other designs based on the MC145406
  • Fits in the front or back ports of the Wireline board without contacting or putting pressure on other components on the wireline board.
    • using the AMP connector there is about 100 mils extra clearance.
Clerence with amp connector
  • Permits adding v.24 interface to quantars without the need to replace/modify faceplate. Cables can be routed out the back.
  • Builtin v.24 network tap for debugging (both RJ-45's are connected to the lines.)
  • Not a Graham Cracker

Tested Config

  • Quantar/Quantro base station
  • PDR3500 Base station
  • AstroTAC 3000 Comparator [1]

Tested with TRN7477, TRN7667, CLN6955, CLN6956 and CLN7343 wireline boards.

Notes

J1 on the board was designed to take a mating AMP connector for the wireline board. Using this however presents a problem as it needs to be modified. All production boards use a simple 2x25 100 mil pitch connector (as the OEM does) to simplify this.

The Astro-Tac 3000 needs CD active to put the port active.

Connectors

Using an Ethernet patch cable plugged into the straight on one side and plugged into the cross on the other is the preferred way to connect two stations. Both stations can be set to send clock, but in the event one is set to have it's TX provided by the other (quantar's RX clock is always external) the SW1-3 can be set on to loop the clock lines.

CISCO DCE

Connecting to a CISCO router DCE DB25F is easily done with a DB25M to RJ45 adapter using the following pin out. What is nice is the DB25-rj45 adapter requires no internal splicing of logic lines like the prior boards do.

Straight to Cisco DCE
RJ45 Color Function DB25 Male
1 Blue Rx Clock 17
2 Orange CD 20
3 Black Tx Clock 15
4 Red GRND 7
5 Green Rx Data 3
6 Yellow Tx Data 2
7 Brown CTS 5
8 White RTS 4

DB25 wireing

Background info

https://www.ti.com/lit/an/slla544/slla544.pdf

https://www.ti.com/lit/ds/symlink/sn75185.pdf

https://www.analog.com/en/resources/technical-articles/fundamentals-of-rs232-serial-communications.html

https://www.analog.com/en/products/max3185.html

https://www.analog.com/media/en/technical-documentation/data-sheets/MAX3185.pdf

Maxim datasheet has the pin-out wrong on page 5 for the T3IN and T1IN lines. This is being resolved, but T3 is 13 and T1 is 16 with the chips i have. This also matches the SN75185 chip that it's designed as drop in replacement for.

good:

https://electronics.stackexchange.com/a/649122

https://www.ti.com/lit/ds/symlink/tl145406.pdf

Cisco cable pinouts for rs232

https://www.cisco.com/c/en/us/td/docs/routers/access/hardware/notes/marcabl.html#pgfId-43546

Revisions

2024-05-22

Expected to work 100%, in beta testing now. Switched to the SN75185 part and updated the layout.

I did find it much easier to use a solder pot to solder the through the hole parts. This made my idea for untented vias (no solder mask over them) and the name in exposed copper a rather poor choice. I was able to use a cheap vinyl cutter and cut some kapton tape. Next revision will be designed for manufacturing.

Boards ready to be dipped


2024-05-12

Discovered the MAX3185 datasheet has pins 13 and 16 swapped on it. All the CAD models have the same swap. After cutting and fixing this, the board works as expected.

Analog devices confirmed the datasheet is incorrect. Note this is a over 30 year old datasheet. I've decided to move the to the TI part, which functions the same for the most part.

I was able to fix a couple for testing and verify they work as intended once this mod is done. This will need a board re-spin.


2024-05-01

PCB needs to be respun; IO ports are reversed on the IO lines of the level converter.

Change the switch to use RS232 levels vs 5v TTL levels for 2-4.

Production Testing

With Quantar set to originate clock

  • plug in board, relay should activate
  • Verify clock is seen on the TXCLK pin 3 (W/Green) of J2 or pin 1 (W/Orange) of J3.
  • Close SW3 and check for clock on RXCLK (W/Orange) of J2
  • Connect using straight through cable from cross port to astrotac v.24 port set to clock from DCE. Check that it is down, but you see data on the TXD line.
  • close SW1 to enable CTS and check that Pin 42 CTS of J1 is low and that CTS on J2 is RS232 level high (4-10v)
  • close SW2 to tie RTS and CTS and check that RTS and CTS are low on J1 (41 and 42)
  • close SW4 to assert CD and see that the link is up between quantar and astrotac.

This should verify everything other than TXCLK input from DCE.

  1. this needs the CD line asserted