From 8f518234a9b7b54aaec02810b7d5f5d071702a47 Mon Sep 17 00:00:00 2001 From: andreaskoepke Date: Wed, 13 Feb 2008 10:34:28 +0000 Subject: [PATCH] increase link speed, needs different setting for data filter --- tos/platforms/eyesIFX/chips/msp430/Msp430DcoSpec.h | 2 +- .../eyesIFX/chips/tda5250/tda5250BusResourceSettings.h | 3 ++- .../eyesIFX/chips/tda5250/tda5250RegDefaultSettings.h | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/tos/platforms/eyesIFX/chips/msp430/Msp430DcoSpec.h b/tos/platforms/eyesIFX/chips/msp430/Msp430DcoSpec.h index 89f4ebb9..ae6c97c8 100644 --- a/tos/platforms/eyesIFX/chips/msp430/Msp430DcoSpec.h +++ b/tos/platforms/eyesIFX/chips/msp430/Msp430DcoSpec.h @@ -40,6 +40,6 @@ #ifndef MS430DCOSPEC_H #define MS430DCOSPEC_H -#define TARGET_DCO_KHZ 3904 // the target MCLK clock rate in binary kHz (4 000 000 Hz) +#define TARGET_DCO_KHZ 3906 // the target MCLK clock rate in binary kHz (4 000 000 Hz) #define ACLK_KHZ 32 // the ACLK rate in binary kHz #endif diff --git a/tos/platforms/eyesIFX/chips/tda5250/tda5250BusResourceSettings.h b/tos/platforms/eyesIFX/chips/tda5250/tda5250BusResourceSettings.h index f88c1a36..a4ab9cc1 100644 --- a/tos/platforms/eyesIFX/chips/tda5250/tda5250BusResourceSettings.h +++ b/tos/platforms/eyesIFX/chips/tda5250/tda5250BusResourceSettings.h @@ -43,8 +43,9 @@ enum { enum { // real milli seconds UBR_1MHZ_23405=0x002A, UMCTL_1MHZ_23405=0xDD, // 23405 bit/s + UBR_1MHZ_35108=0x001C, UMCTL_1MHZ_35108=0xAA, // 35108 bit/s }; -msp430_uart_union_config_t tda5250_uart_config = { {ubr: UBR_1MHZ_23405, umctl: UMCTL_1MHZ_23405, ssel: 0x02, pena: 0, pev: 0, spb: 0, clen: 1, listen: 0, mm: 0, ckpl: 0, urxse: 0, urxeie:0, urxwie: 0, urxe: 1, utxe: 0} }; +msp430_uart_union_config_t tda5250_uart_config = { {ubr: UBR_1MHZ_35108, umctl: UMCTL_1MHZ_35108, ssel: 0x02, pena: 0, pev: 0, spb: 0, clen: 1, listen: 0, mm: 0, ckpl: 0, urxse: 0, urxeie:0, urxwie: 0, urxe: 1, utxe: 0} }; #endif diff --git a/tos/platforms/eyesIFX/chips/tda5250/tda5250RegDefaultSettings.h b/tos/platforms/eyesIFX/chips/tda5250/tda5250RegDefaultSettings.h index 6f8c8754..3c13b591 100644 --- a/tos/platforms/eyesIFX/chips/tda5250/tda5250RegDefaultSettings.h +++ b/tos/platforms/eyesIFX/chips/tda5250/tda5250RegDefaultSettings.h @@ -69,12 +69,12 @@ #define RF_LOTX_DAMPING_17dB 30 // choose one -#define INITIAL_RF_POWER RF_HITX_DAMPING_0dB +#define INITIAL_RF_POWER RF_LOTX_DAMPING_0dB #define TDA5250_REG_DEFAULT_SETTING_CONFIG FULL_RANGE #define TDA5250_REG_DEFAULT_SETTING_FSK 0x0A0C #define TDA5250_REG_DEFAULT_SETTING_XTAL_TUNING 0x0012 -#define TDA5250_REG_DEFAULT_SETTING_LPF 0x68 +#define TDA5250_REG_DEFAULT_SETTING_LPF 0x98 #define TDA5250_REG_DEFAULT_SETTING_ON_TIME 0xFEC0 #define TDA5250_REG_DEFAULT_SETTING_OFF_TIME 0xF380 #define TDA5250_REG_DEFAULT_SETTING_COUNT_TH1 0x0000 -- 2.39.2