[En-Nut-Discussion] I want to add RS485 to ethernut13h, how can I do ?

Ulrich Prinz uprinz2 at netscape.net
Wed Jan 6 21:40:13 CET 2010


Hi!

If you use one of the newer Nut/OS versions you'll find "USART Driver 
Framework" in the "Device Drivers" section. Here you find some "USARTx 
Half Duplex" options you only have to define. As the ATmega128 does not 
support Hardware-DE/RE any port pin can be configured and used as it is 
software-emulated.

Best regards
Ulrich

DreamCat schrieb:
> I want to add RS485 to ethernut13h boar for a little application, as we
> known, it should use one of  ATMEGA128's UART, but how can I operate /RE and
> DE? these two pin connect together and controll by one pin of mega128,
> anyone can provide sample code and configfile?
> 
> best reguard !
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion



More information about the En-Nut-Discussion mailing list