]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
after some extensive measurements: this seems to be the best compromise
authorandreaskoepke <andreaskoepke>
Thu, 13 Mar 2008 17:09:07 +0000 (17:09 +0000)
committerandreaskoepke <andreaskoepke>
Thu, 13 Mar 2008 17:09:07 +0000 (17:09 +0000)
tos/platforms/eyesIFX/chips/tda5250/tda5250BusResourceSettings.h
tos/platforms/eyesIFX/chips/tda5250/tda5250RegDefaultSettings.h

index 7826d2b7c465cfa2570dcb4f9f0f4e3ea6e5299a..327c0ea002068fb352b12818b4cea9a2ffbeff18 100644 (file)
@@ -44,13 +44,10 @@ enum {
    divide by 18 -> 1004976 Hz */
 
 #ifndef TDA5250_UART_BAUDRATE
-#define TDA5250_UART_BAUDRATE 32768U
+#define TDA5250_UART_BAUDRATE 23405U
 #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
     UBR_1MHZ_10922=0x005C,  UMCTL_1MHZ_10922=0x00, // 10922 bit/s
@@ -64,9 +61,7 @@ enum {
     UBR_1MHZ_23405=0x002A,  UMCTL_1MHZ_23405=0x7F, // 23405 bit/s
     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
-*/
 };
 
 #include "eyesIFXBaudrates.h"
index 561ecb5c47901791046484d2d7f8c5786bcdad95..9559e779ed05bdb513a5a2bdb079af56b2c51d13 100644 (file)
 
 /** regulate distance by switching the amplifiers */
 // longest distance
-#define FULL_RANGE                                   0x84F9
+#define FULL_RANGE                                   0x04F9
 // shorter distance; low gain, high tx energy consumption (30m)
-#define MED_RANGE_HP                                 0x84E9
+#define MED_RANGE_HP                                 0x04E9
 // shorter distance; high gain, low tx energy consumption (25m)
-#define MED_RANGE_LP                                 0x84F8
+#define MED_RANGE_LP                                 0x04F8
 // shortest: low gain; low tx energy consumption (1m to 3m range)
-#define TABLE_TOP                                    0x84E8
+#define TABLE_TOP                                    0x04E8
 
 /** regulate distance using variable resistor, values for high tx power */
 #define RF_HITX_DAMPING_0dB  255