[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/eyesIFX/chips/tda5250 tda5250RegDefaultSettings.h, 1.11, 1.12 tda5250BusResourceSettings.h, 1.10, 1.11

akoepke andreaskoepke at users.sourceforge.net
Thu Mar 13 10:09:10 PDT 2008


Update of /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/chips/tda5250
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv753

Modified Files:
	tda5250RegDefaultSettings.h tda5250BusResourceSettings.h 
Log Message:
after some extensive measurements: this seems to be the best compromise


Index: tda5250RegDefaultSettings.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/chips/tda5250/tda5250RegDefaultSettings.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** tda5250RegDefaultSettings.h	5 Mar 2008 11:24:51 -0000	1.11
--- tda5250RegDefaultSettings.h	13 Mar 2008 17:09:07 -0000	1.12
***************
*** 46,56 ****
  /** regulate distance by switching the amplifiers */
  // longest distance
! #define FULL_RANGE                                   0x84F9
  // shorter distance; low gain, high tx energy consumption (30m)
! #define MED_RANGE_HP                                 0x84E9
  // shorter distance; high gain, low tx energy consumption (25m)
! #define MED_RANGE_LP                                 0x84F8
  // shortest: low gain; low tx energy consumption (1m to 3m range)
! #define TABLE_TOP                                    0x84E8
  
  /** regulate distance using variable resistor, values for high tx power */
--- 46,56 ----
  /** regulate distance by switching the amplifiers */
  // longest distance
! #define FULL_RANGE                                   0x04F9
  // shorter distance; low gain, high tx energy consumption (30m)
! #define MED_RANGE_HP                                 0x04E9
  // shorter distance; high gain, low tx energy consumption (25m)
! #define MED_RANGE_LP                                 0x04F8
  // shortest: low gain; low tx energy consumption (1m to 3m range)
! #define TABLE_TOP                                    0x04E8
  
  /** regulate distance using variable resistor, values for high tx power */

Index: tda5250BusResourceSettings.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/chips/tda5250/tda5250BusResourceSettings.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** tda5250BusResourceSettings.h	10 Mar 2008 13:59:58 -0000	1.10
--- tda5250BusResourceSettings.h	13 Mar 2008 17:09:07 -0000	1.11
***************
*** 45,55 ****
  
  #ifndef TDA5250_UART_BAUDRATE
! #define TDA5250_UART_BAUDRATE 32768U
  #endif
  
  enum {
-     /** for reference, not recommended for new experiments */
-     UBR_1MHZ_35108=0x001C,  UMCTL_1MHZ_35108=0xAA, // 35108 bit/s
- 
      /** use real frequency, use only settings that result in an even byte time */
      UBR_1MHZ_10240=0x0062,  UMCTL_1MHZ_10240=0x08, // 10240 bit/s
--- 45,52 ----
  
  #ifndef TDA5250_UART_BAUDRATE
! #define TDA5250_UART_BAUDRATE 23405U
  #endif
  
  enum {
      /** use real frequency, use only settings that result in an even byte time */
      UBR_1MHZ_10240=0x0062,  UMCTL_1MHZ_10240=0x08, // 10240 bit/s
***************
*** 65,71 ****
      UBR_1MHZ_27306=0x0024,  UMCTL_1MHZ_27306=0x7B, // 27306 bit/s
      UBR_1MHZ_32768=0x001E,  UMCTL_1MHZ_32768=0x5B, // 32768 bit/s
- /** too much for only 50kHz frequency hub
      UBR_1MHZ_40960=0x0018,  UMCTL_1MHZ_40960=0x55, // 40960 bit/s
- */
  };
  
--- 62,66 ----



More information about the Tinyos-2-commits mailing list