[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/eyesIFX/byte_radio UartManchPhyP.nc, 1.5, 1.6 Uart4b6bPhyP.nc, 1.4, 1.5 Uart4b6bPhyC.nc, 1.2, 1.3

akoepke andreaskoepke at users.sourceforge.net
Wed Apr 4 23:38:47 PDT 2007


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

Modified Files:
	UartManchPhyP.nc Uart4b6bPhyP.nc Uart4b6bPhyC.nc 
Log Message:
switch to metric MHz for SMCLK, adjust constants, include SmclkManager
reduce baud rate for radio -- it can not handle more than 23kBit/s with a
50kHz frequency shift


Index: UartManchPhyP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/byte_radio/UartManchPhyP.nc,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** UartManchPhyP.nc	27 Feb 2007 19:18:24 -0000	1.5
--- UartManchPhyP.nc	5 Apr 2007 06:38:45 -0000	1.6
***************
*** 75,80 ****
      } phyState_t;
  
! #define PREAMBLE_LENGTH   4
! #define BYTE_TIME         9
  #define PREAMBLE_BYTE     0x55
  #define SYNC_BYTE         0xFF
--- 75,80 ----
      } phyState_t;
  
! #define PREAMBLE_LENGTH   2
! #define BYTE_TIME         21
  #define PREAMBLE_BYTE     0x55
  #define SYNC_BYTE         0xFF
***************
*** 199,203 ****
              switch(phyState) {
                  case STATE_PREAMBLE:
!                     if(preambleCount > 0) {
                          preambleCount--;
                      } else {
--- 199,203 ----
              switch(phyState) {
                  case STATE_PREAMBLE:
!                     if(preambleCount > 1) {
                          preambleCount--;
                      } else {

Index: Uart4b6bPhyP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/byte_radio/Uart4b6bPhyP.nc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Uart4b6bPhyP.nc	27 Feb 2007 19:18:24 -0000	1.4
--- Uart4b6bPhyP.nc	5 Apr 2007 06:38:45 -0000	1.5
***************
*** 73,77 ****
      enum {
          PREAMBLE_LENGTH=2,
!         BYTE_TIME=9,
          PREAMBLE_BYTE=0x55,
          SYNC_BYTE=0xFF,
--- 73,77 ----
      enum {
          PREAMBLE_LENGTH=2,
!         BYTE_TIME=21,
          PREAMBLE_BYTE=0x55,
          SYNC_BYTE=0xFF,
***************
*** 199,203 ****
          switch(phyState) {
              case STATE_PREAMBLE:
!                 if(preambleCount > 0) {
                      preambleCount--;
                  } else {
--- 199,203 ----
          switch(phyState) {
              case STATE_PREAMBLE:
!                 if(preambleCount > 1) {
                      preambleCount--;
                  } else {

Index: Uart4b6bPhyC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/eyesIFX/byte_radio/Uart4b6bPhyC.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Uart4b6bPhyC.nc	6 Nov 2006 11:57:18 -0000	1.2
--- Uart4b6bPhyC.nc	5 Apr 2007 06:38:45 -0000	1.3
***************
*** 55,59 ****
          new Alarm32khz16C() as RxByteTimer,
          Uart4b6bPhyP,
-         // PlatformLedsC,
          MainC;
      
--- 55,58 ----
***************
*** 66,70 ****
      
      Uart4b6bPhyP.RxByteTimer -> RxByteTimer;
- //    PlatformLedsC.Led3 <- Uart4b6bPhyP.Led3;
- //     PlatformLedsC.Led1 <- Uart4b6bPhyP.Led1;
  }
--- 65,67 ----



More information about the Tinyos-2-commits mailing list