[Tinyos-2.0wg] msp430 usart configure

Philip Levis pal at cs.stanford.edu
Sun Aug 6 08:10:24 PDT 2006


On Aug 6, 2006, at 12:27 AM, Jonathan Hui wrote:

>
>> It is hard for me to say which solution has the best cost/benefit  
>> ratio because there is no alternative implementation that has the  
>> same functionality as 1. The overhead of 1 can be somewhat reduced  
>> by removing some unnecessary reads if we don't care about  
>> disturbing the bits in the registers that belong to the other  
>> modes (since they will be re-configured anyhow). Unfortunately, I  
>> don't have the time to do any of these modifications/comparisons.  
>> If someone wants to take on the task I will try to help as much as  
>> I can, but I can not make any promises.
>
> I fully understand why you took the quicker way out. If we had  
> infinite time, I would definitely like to see how the current  
> implementation would compare to one that provided a full set of  
> SCs. Maybe I can find some time to work on this a little more.

Sounds good. If we don't have time for it, we don't have time. It's  
an HPL, so it is much easier to improve later than, say, the HIL. I  
just through it's important to understand whether it's a place  
someone could optimize in the future. Unfortunately, it's not nearly  
as contained a piece of code as the task queue, so is harder to  
optimize and evaluate, but such is life.

Phil



More information about the Tinyos-2.0wg mailing list