Dear All,
I am trying to use DMA in my TinyOS application.
The processor is MSP430F1612.
I use single channel interface in my module
uses interface Msp430Adc12SingleChannel as PhaseA;
In configuration, I set as
components Msp430Adc12DMAP, Msp430Adc12P, Msp430DmaC;
TestDisseminationC.PhaseA -> Msp430Adc12DMAP.SingleChannel[ID];
Msp430Adc12DMAP.SubSingleChannel[ID] ->
Msp430Adc12P.SingleChannel[ID];Msp430Adc12DMAP.AsyncAdcControl[ID] ->
Msp430Adc12P.DMAExtension[ID];
Msp430Adc12DMAP.DMAControl -> Msp430DmaC.Control;Msp430Adc12DMAP.DMAChannel
-> Msp430DmaC.Channel2;
To start DMA, i call call PhaseA.getData(); Then I see the led1 whether data
is transferred,
async event uint16_t* PhaseA.multipleDataReady(uint16_t buffer[], uint16_t
numSamples){ call Leds.led1Toggle();}
The problem is led1 does not blink, it means DMA does not work.
What else I need to do for DMA to start work?
Thanks in advance.
NMN
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help