[En-Nut-Discussion] UART1 RTS/CTS

Harald Kipp harald.kipp at egnite.de
Fri Dec 30 12:27:31 CET 2005


Szabolcs,

At 01:46 30.12.2005 +0100, you wrote:

>What should I do, to ask AVR use CTS, RTS pins? I don't know if I'm on a 
>good way, but I modified nut/include/arch/avr.h and added the following lines:

Difficult topic, but as a general rule: If you are using the
Configurator for building the system, then better use it
also for setting these parameters.

Load ethernut13g.conf and open
  Architecture -> AVR -> USART0 Driver

in the component tree. Enable
   RTS Bit
   CTS Interrupt

and klick on the right column of the tree view to specify
   RTS Bit
   RTS Port
   CTS Interrupt

Save this new configuration under ethernut13g_hs.conf or
any other meaningful name.

Now recreate and rebuild the build tree.

Harald




More information about the En-Nut-Discussion mailing list