Paul,

Thankyou for the quick response.
If I'm reading these files right, they configure both USART ports to be 
asynchronous... which I find confusing ! HplAt45dbIOP.nc uses the USART in 
synchronous mode, but the underlying HplAtm128UartP.nc sets it up as 
asynchronous...
Any ideas what I'm missing ???

Regards,
Matt

Date: Tue, 10 Nov 2009 10:49:31 -0600
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [Tinyos-help] USART1 on Atm128






  


Matt,



Take a look in this directory:



tinyos-2.1.0/tos/chips/atm128/



Files: 



HplAtm128Uart.nc

HplAtm128UartP.nc

HplAtm128UartC.nc



These are the components that control the UART interfaces.  Look for
UART1 in those files. You might also want to look at



tinyos-2.1.0/tos/platforms/micaz/MotePlatformC.nc 



which defines the pin used for serial input/output(UART0 i believe)



-Paul



Matthew Bygo wrote:

  
  
  
  
Hi all,

  

I want to reuse the USART1 for my own peripheral on a micaz, and I'm
struggling to find the USART hpl in the TinyOS code.

  

My understanding is that the USART is used only for the flash chip and
I can find the SPI bit banging code (HplAt45dbIOP.nc) which operates
over the USART, but I can't find the actual USART config code. 

  

Presumably this is somewhere in the Atm128 folder... can anyone clarify
? 

  

Many thanks,

Matt

  

  Add other email accounts to Hotmail in 3 easy steps. Find out how.
  
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
                                          
_________________________________________________________________
Have more than one Hotmail account? Link them together to easily access both
 http://clk.atdmt.com/UKM/go/186394591/direct/01/
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to