Hi all,

The way that UART baudrates is configured on atm128 chips makes it
impossible to use different baud-rates on different UARTs (eg UART0
and UART1).

ubrr0 = call Atm128Calibrate.baudrateRegister(PLATFORM_BAUDRATE);
...
ubrr1 = call Atm128Calibrate.baudrateRegister(PLATFORM_BAUDRATE);

At the moment, the only way to override this is to shadow
HplAtm128UartP in our platform's implementation, change the function
arguments UART0_BAUDRATE and UART1_BAUDRATE, then #define them in the
platform's hardware header or makefile settings.

Can anyone think of a better way to do this? Does anyone else have a
genuine need for different baud-rates on different UARTs?

cheers

-Mark
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to