Steve,

Reset, Setup, Activate.

Maybe the issue is `obviously' documented rather than 'well'. Or maybe
I let my hardware cap do the thinking, and the uart is a perfect
example. In many devices reset means putting it into a known state
which can then be modified as desired -- that is, reset is the first
act, not the last, (for example, the reset to the processor).  The last
act is, or should be `activate', and had that been the terminology used
for the uart, I wouldn't have stumbled over it.

But yes, the code examples made it clear that reset was done last so I
can't complain.

Sincerely,

David Smead
www.amplepower.com
www.amplepower.net


On Sat, 12 Aug 2006, Steve Underwood wrote:

David Smead wrote:

Once setup, there is virtually no code to keep it running and I'm
getting 4096 readings per second per channel.  I found that initializing
the hardware is VERY dependent on the order of writes to device
registers - and not just the ADC.


There should be very little sensitivity to the order in which peripheral
registers are set in the MSP430, apart from the things which are well
documented - the USART needs a software reset after initialisation;
ADC10 and DAC12 should have the enable bit set to disable which
configuring the ADC; etc.

Steve


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users


Reply via email to