[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/msp430/adc12 Msp430RefVoltGenerator.h, 1.4, 1.5 README.txt, 1.4, 1.5

Jan-Hinrich Hauer janhauer at users.sourceforge.net
Wed Mar 14 11:14:08 PDT 2007


Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/adc12
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv25058

Modified Files:
	Msp430RefVoltGenerator.h README.txt 
Log Message:
Changed default power-down delay to 20ms and added a note to the README as agreed on the telconf.


Index: Msp430RefVoltGenerator.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/adc12/Msp430RefVoltGenerator.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Msp430RefVoltGenerator.h	12 Dec 2006 18:23:07 -0000	1.4
--- Msp430RefVoltGenerator.h	14 Mar 2007 18:14:06 -0000	1.5
***************
*** 43,47 ****
  // This avoids having to wait the 17ms in case the generator is needed again
  // shortly after it has been stopped (value may be modified).
! #define SWITCHOFF_INTERVAL 100
  
  #endif
--- 43,47 ----
  // This avoids having to wait the 17ms in case the generator is needed again
  // shortly after it has been stopped (value may be modified).
! #define SWITCHOFF_INTERVAL 20
  
  #endif

Index: README.txt
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/adc12/README.txt,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** README.txt	12 Dec 2006 18:23:07 -0000	1.4
--- README.txt	14 Mar 2007 18:14:06 -0000	1.5
***************
*** 36,42 ****
  high-frequency sampling through the Msp430Adc12SingleChannel interface. On the
  MSP430 two additional hardware modules may become relevant when the ADC12 is
! used: the internal reference voltage generator and the DMA controller. The
! voltage generator outputs stabilized voltage of 1.5 V or 2.5 V, which may be
! used as reference voltage in the conversion process. Whether the internal
  reference voltage generator should be enabled during the conversion is
  platform-specific (e.g. the light sensor on the 'eyesIFX' requires a stable
--- 36,43 ----
  high-frequency sampling through the Msp430Adc12SingleChannel interface. On the
  MSP430 two additional hardware modules may become relevant when the ADC12 is
! used: the internal reference voltage generator and the DMA controller. 
! 
! The voltage generator outputs stabilized voltage of 1.5 V or 2.5 V, which may
! be used as reference voltage in the conversion process. Whether the internal
  reference voltage generator should be enabled during the conversion is
  platform-specific (e.g. the light sensor on the 'eyesIFX' requires a stable
***************
*** 45,57 ****
  component. This assures that when the app is signalled the Resource.granted()
  event the reference voltage generator outputs a stable voltage (the level is
! defined in the configuration data supplied by the application). The DMA
! controller can be used to efficiently copy conversion data from ADC data
! registers to the application buffer. DMA is only present on MSP430x15x and
! MSP430x16x devices. When an application wants to use the DMA it can wire to
! the Msp430Adc12ClientAutoDMAC component and then conversion results are
! transferred using DMA. Both, enabling the reference generator and using the
! DMA, therefore happens transparent to the app. There are four possible
! combinations reflected by the following components that an MSP430-based
! application may wire to:
  
    * Msp430Adc12ClientC: no DMA, no automatic reference voltage
--- 46,65 ----
  component. This assures that when the app is signalled the Resource.granted()
  event the reference voltage generator outputs a stable voltage (the level is
! defined in the configuration data supplied by the application). There are two
! more things to note: first, the generator is not switched off immediately, when
! the client calls Resource.release(), but only after some pre-defined interval
! (see Msp430RefVoltGenerator.h). This can avoid a power-up delay when multiple
! clients are present. Second, one must not forget to wire the AdcConfigure
! interface to the Msp430Adc12ClientAutoRVGC or Msp430Adc12ClientAutoDMA_RVGC
! component in addition to configuring the ADC through the
! Msp430Adc12SingleChannel interface (no nesC warning will be signalled).
!   
! The DMA controller can be used to copy conversion data from the ADC registers
! to the application buffer. DMA is only present on MSP430x15x and MSP430x16x
! devices. When an application wants to use the DMA it can wire to the
! Msp430Adc12ClientAutoDMAC component and then conversion results are transferred
! using DMA. Both, enabling the reference generator and using the DMA, therefore
! happens transparent to the app. There are four possible combinations reflected
! by the following components that an MSP430-based application may wire to:
  
    * Msp430Adc12ClientC: no DMA, no automatic reference voltage
***************
*** 61,65 ****
  
  
! PINs
  --------------------------------------------------------------------
  
--- 69,73 ----
  
  
! I/O PINs
  --------------------------------------------------------------------
  



More information about the Tinyos-2-commits mailing list