[Tinyos-commits]
CVS: tinyos-1.x/tos/platform/telosb .platform, 1.4, 1.5
Joe Polastre
jpolastre at users.sourceforge.net
Wed Sep 28 03:41:13 PDT 2005
- Previous message: [Tinyos-commits] CVS: tinyos-1.x/tos/platform/msp430
MSP430TimerAExclusiveC.nc, NONE, 1.1 MSP430TimerAExclusiveM.nc,
NONE, 1.1 TimerExclusive.nc, NONE, 1.1 ADCC.nc, 1.8,
NONE ADCHIL.h, 1.2, NONE ADCM.nc, 1.17, NONE ADCMultiple.nc,
1.1, NONE ADCSingle.nc, 1.1, NONE ADC_README, 1.9, NONE DMA.nc,
1.1, NONE DMAControl.nc, 1.1, NONE DemoSensorC.nc, 1.3,
NONE HALDMAM.nc, 1.1, NONE HPLADC12.nc, 1.6, NONE HPLADC12M.nc,
1.8, NONE InternalTemp.h, 1.2, NONE InternalTempC.nc, 1.4,
NONE InternalTempM.nc, 1.2, NONE InternalVoltage.h, 1.2,
NONE InternalVoltageC.nc, 1.4, NONE InternalVoltageM.nc, 1.2,
NONE MSP430ADC12.h, 1.15, NONE MSP430ADC12C.nc, 1.8,
NONE MSP430ADC12M.nc, 1.16, NONE MSP430ADC12Multiple.nc, 1.1,
NONE MSP430ADC12Single.nc, 1.1, NONE MSP430DMA.h, 1.2,
NONE MSP430DMAC.nc, 1.1, NONE MSP430DMAChannelControl.nc, 1.2,
NONE MSP430DMAControl.nc, 1.2, NONE MSP430DMAM.nc, 1.2,
NONE Voltage.h, 1.1, NONE VoltageM.nc, 1.2, NONE
- Next message: [Tinyos-commits] CVS: tinyos-1.x/tos/platform/msp430/dma
HPLDMAChannelControl.nc, NONE, 1.1 HPLDMAControl.nc, NONE,
1.1 HPLDMAM.nc, NONE, 1.1 MSP430DMA.h, NONE, 1.1 MSP430DMA.nc,
NONE, 1.1 MSP430DMAC.nc, NONE, 1.1 MSP430DMAControl.nc, NONE,
1.1 MSP430DMAM.nc, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-1.x/tos/platform/telosb
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30738/telosb
Modified Files:
.platform
Log Message:
complete reorganization of ADC to support DMA and DAC modules
Changes to the ADC include:
The ADC no longer directly accesses TimerA. Instead it uses
the TimerExclusive interface in MSP430TimerAExclusive to gain
exclusive lock on TimerA. It releases TimerA when it is done.
This is necessary for other components that would like to use
TimerA to do so, such as the DAC.
Commands for the DMA have been added to the MSP430Single and
MSP430Multiple ADC interfaces. These include startSampling,
stopSampling, pauseSampling, and resumeSampling. They should only
be used in conjunction with the DMA and never as standalone functions.
A TinyOS driver for the DAC is being committed that uses the
newly created TimerExclusive interface to get access to TimerA.
It also supports DMA use.
The DMA has been rearchitected to follow the namespace of the other
components with minor bug fixes.
The ADC, DAC, and DMA have been moved to their own subdirectories to
make life easier when viewing the msp430 platform. Platforms that
rely on these components must now include the following lines in the
@opts section of their .platform file:
-I%T/platform/msp430/adc
-I%T/platform/msp430/dac
-I%T/platform/msp430/dma
A sample application is being checked in to
apps/TestMSP430DMA/
that includes TestADC12DMAC for reading multiple samples from the ADC
and also TestDAC12DMAC for sending multiple readings via the DAC
Although I spearheaded much of the DAC efforts, credit goes to
Ben Greenstein for fixes to the ADC and much of the DMA code that I based
this new implementation on.
Index: .platform
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tos/platform/telosb/.platform,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** .platform 12 Jul 2005 06:44:15 -0000 1.4
--- .platform 28 Sep 2005 10:41:11 -0000 1.5
***************
*** 12,15 ****
--- 12,18 ----
%T/platform/telos
%T/platform/msp430
+ %T/platform/msp430/adc
+ %T/platform/msp430/dac
+ %T/platform/msp430/dma
%T/lib/Flash/STM25P
%T/lib/Flash
- Previous message: [Tinyos-commits] CVS: tinyos-1.x/tos/platform/msp430
MSP430TimerAExclusiveC.nc, NONE, 1.1 MSP430TimerAExclusiveM.nc,
NONE, 1.1 TimerExclusive.nc, NONE, 1.1 ADCC.nc, 1.8,
NONE ADCHIL.h, 1.2, NONE ADCM.nc, 1.17, NONE ADCMultiple.nc,
1.1, NONE ADCSingle.nc, 1.1, NONE ADC_README, 1.9, NONE DMA.nc,
1.1, NONE DMAControl.nc, 1.1, NONE DemoSensorC.nc, 1.3,
NONE HALDMAM.nc, 1.1, NONE HPLADC12.nc, 1.6, NONE HPLADC12M.nc,
1.8, NONE InternalTemp.h, 1.2, NONE InternalTempC.nc, 1.4,
NONE InternalTempM.nc, 1.2, NONE InternalVoltage.h, 1.2,
NONE InternalVoltageC.nc, 1.4, NONE InternalVoltageM.nc, 1.2,
NONE MSP430ADC12.h, 1.15, NONE MSP430ADC12C.nc, 1.8,
NONE MSP430ADC12M.nc, 1.16, NONE MSP430ADC12Multiple.nc, 1.1,
NONE MSP430ADC12Single.nc, 1.1, NONE MSP430DMA.h, 1.2,
NONE MSP430DMAC.nc, 1.1, NONE MSP430DMAChannelControl.nc, 1.2,
NONE MSP430DMAControl.nc, 1.2, NONE MSP430DMAM.nc, 1.2,
NONE Voltage.h, 1.1, NONE VoltageM.nc, 1.2, NONE
- Next message: [Tinyos-commits] CVS: tinyos-1.x/tos/platform/msp430/dma
HPLDMAChannelControl.nc, NONE, 1.1 HPLDMAControl.nc, NONE,
1.1 HPLDMAM.nc, NONE, 1.1 MSP430DMA.h, NONE, 1.1 MSP430DMA.nc,
NONE, 1.1 MSP430DMAC.nc, NONE, 1.1 MSP430DMAControl.nc, NONE,
1.1 MSP430DMAM.nc, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-commits
mailing list