From e2224b21ddbd9195bf0ca2bf940eb4478735cc30 Mon Sep 17 00:00:00 2001 From: zacharytomlinson Date: Tue, 26 Nov 2024 14:09:22 -0600 Subject: [PATCH] Change info on RS232 circuit wiki page --- ...Raspberry-Limitation-&-How-to-solve-it.rst | 36 +++++-------------- 1 file changed, 9 insertions(+), 27 deletions(-) diff --git a/docs/wiki/pages/1.-Raspberry-Limitation-&-How-to-solve-it.rst b/docs/wiki/pages/1.-Raspberry-Limitation-&-How-to-solve-it.rst index db7feae..5481a6c 100644 --- a/docs/wiki/pages/1.-Raspberry-Limitation-&-How-to-solve-it.rst +++ b/docs/wiki/pages/1.-Raspberry-Limitation-&-How-to-solve-it.rst @@ -2,37 +2,19 @@ Raspberry Limitation & How To Solve =================================== -The Raspberry present some challenges when comes to UART and Serial connections. In the specific: - - - - The mini UART is a secondary low throughput UART intended to be used as a console. The mini Uart has the following features: - - * 7 or 8 bit operation. - * 1 start and 1 stop bit. - * No parities. - * Break generation. - * 8 symbols deep FIFOs for receive and transmit. - * SW controlled RTS, SW readable CTS. - * Auto flow control with programmable FIFO level. - * 16550 like registers. - * Baudrate derived from system clock. - - -As per SAS documentation, for the connection, you need: - - 19.2 KBaud in a "wakeup" mode. The 11-bit data packet consists of one start bit, eight data bits, a - ninth ‘wakeup’ bit, and one stop bit. - - -As you can see, you will never be able to connect successfully to a machine using ONLY the Raspberry. Here how to solve this pickle. +Whether using your computer or a microcomputer, you will need a logic level shifter in order to communicate safely over +an RS-232 connection. There are two ways to go about setting up your system to reliably communicate with the SAS interface: Solution 1 ---------- -Use an RS-232 to TTL logic level converter. We tested the `MAX3323 `_ +Use an RS-232 to TTL logic level converter. We tested the + 1) `MAX3323 `_ + 2) `TRS3237EIDBR `_ + 3) `TRS3232EIDR `_ + +If you decide to create a custom circuit to work with a raspberry pi, remember to: -In case you decide to buy and use the MAX3323 remember to: 1) Update your machine: .. code-block:: @@ -77,4 +59,4 @@ In case you decide to buy and use the MAX3323 remember to: Solution 2 ---------- -Buy and use an USB to serial adapter, we tested this `one from Prolific `_ and works like a charm and nothing has to be done on raspberry. +Buy and use an USB to serial adapter, we tested this `one from Prolific `_ and works like a charm and no modifications required on RPi.