Dangerous Prototypes

Other projects => Past projects => USB serial LCD backpack => Topic started by: Grapsus on November 17, 2012, 03:20:19 pm

Title: Using universal USB LCD backpack as FT232 breakout
Post by: Grapsus on November 17, 2012, 03:20:19 pm
Hi there !

I noticed that the documentation for the FT232 backpack says, it can be used as FT232 breakout :
http://dangerousprototypes.com/docs/USB ... D_backpack (http://dangerousprototypes.com/docs/USB_Universal_LCD_backpack)
The problem is that RXD input is driven by a shift register output, and there seems to be no way to disable it.
Do I have to desolder the shift registers to use the PCB as FT232 breakout, or is there a smarter way to do it ?

Thank you in advance
Title: Re: Using universal USB LCD backpack as FT232 breakout
Post by: matseng on November 17, 2012, 04:14:57 pm
Two ideas...

1) Just cut the trace from the second shift register leading into the FT232. There is no compelling reason for it to be there  - why would the computer need to receive the data that it just sent previously?

2) Make the FT232 set its DSR output a high level. This will disable the outputs of the shiftregisters and they will be in high impedance mode so they can't affect the RXD pin of the FT232.
Title: Re: Using universal USB LCD backpack as FT232 breakout
Post by: Grapsus on November 17, 2012, 06:09:42 pm
You're right, those shift registers are output only, so there no use in reading data back.

I thought about your 2) solution, but sadly DSR disables only parallel outputs of the shift registers, and RXD is driven by the "serial output" pin, which doesn't have a high impedence mode. Moreover I'd like to be able to use the DSR signal as I wish.

So I think I will go with your first solution and cut the serial output trace.

Thank you !
Title: Re: Using universal USB LCD backpack as FT232 breakout
Post by: matseng on November 18, 2012, 03:47:44 am
[quote author="Grapsus"]I thought about your 2) solution, but sadly DSR disables only parallel outputs of the shift registers, and RXD is driven by the "serial output" pin, which doesn't have a high impedence mode. ![/quote]
That's true, and it makes sense that the SerialOut-pin would not go into HiZ because that would leave the SerialIn-pin on the next unit in a daisy chain with an undefined level.....

( ! ) 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.01002064416session_write_close ( )...(null):0
20.01032196008ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01032196784Database_MySQL->query( ).../DatabaseHandler.php:119
40.05372335520Database_MySQL->error( ).../Db-mysql.class.php:273