Dangerous Prototypes

Dangerous Prototypes => Bus Pirate Support => Topic started by: wscrsurfdude on August 11, 2009, 04:35:18 pm

Title: UART on the bus pirate
Post by: wscrsurfdude on August 11, 2009, 04:35:18 pm
I have a problem with the option:
Output type:
 1. High-Z outputs (H=input, L=GND)
 2. Normal outputs (H=Vcc, L=GND)

If I choose 2 I get signal levels at 3.3V, OK this is working. If I choose 1, which pin is the input?
Title: Re: UART on the bus pirate
Post by: ian on August 11, 2009, 06:00:32 pm
Pinout is the same, see this diagram:
http://dangerousprototypes.com/2009/08/ ... tax-guide/ (http://dangerousprototypes.com/2009/08/08/bus-pirate-menu-protocol-and-syntax-guide/)

Mode 1 (Hi-Z or open drain mode) is for interfacing at something other than 3.3volts, it could be higher (5volts) or lower (1.8volts):
http://hackaday.com/2009/07/01/mixed-vo ... us-pirate/ (http://hackaday.com/2009/07/01/mixed-voltage-interfacing-with-the-bus-pirate/)

Hi-Z mode requires pull-up resistors:
http://dangerousprototypes.com/2009/07/ ... resistors/ (http://dangerousprototypes.com/2009/07/27/bus-pirate-practical-guide-to-pull-up-resistors/)

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00892052608session_write_close ( )...(null):0
20.00922184192ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.00922184968Database_MySQL->query( ).../DatabaseHandler.php:119
40.05272323696Database_MySQL->error( ).../Db-mysql.class.php:273