Re: 2313 output pin problem
Robert Baruch <[email protected]> Tue, 23 Dec 2003 18:11:33 -0500
| Newsgroups | gmane.comp.hardware.avr.general |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Anderas Strodl wrote: | I've connected the data lines of a lcd-module to the upper 4 pins of | PORTB using | DDRB = 0xFF; | | There were no problems at all. Hmm... In that case, I'm completely stumped. And I think there has to be an error in the logic diagrams of PB5 and PB7 (Figures 41 and 43) because they seem to show that the output buffer will only be enabled if DDBn is 0 or SPIEN is 1, which can't be right, because DDBn=0 configures a pin as an input. All the other diagrams show the output buffer being enabled when DDBn is 1. - --Rob -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/6Muk3n80I35hhEsRAhCwAJ9xmt7TZtNp+FAuPgzfKK8mLdI7oACgkmVV 2orG+DtGWsFRr5/rjcuwahE= =LcNz -----END PGP SIGNATURE-----