EmbeddedRelated.com
Forums

How to best handle multiple interrupts

Started by Yuriy's Toys February 14, 2013
On Thu, Feb 14, 2013 at 2:56 PM, Onestone wrote:

> The launchpad parts (MSP430) don't have DMA, or didn't last time I
> looked.

Are you sure about this? It is my understanding that the G2 parts do
have a very rudimentary DMA scheme which can be used to store things
like ADC samples even while the CPU is in sleep mode and manage
RAM->FLASH transfers.

It is on my grander to-do list to play with these at some point, if in
fact, I am understanding the datasheets correctly and these features
do exist in the G2 parts.

-p.

Beginning Microcontrollers with the MSP430

Peter I don't profess to be the font of all knowledge, and certainly I
haven't done a whole heap with the G series, however none of the data
sheets for any of the G2 parts I have indicate a DMA, what you MAY be
getting confused with is the ADC10 which has a unit Ti call a DTC, data
transfer controller, which is a little like a low level DMA, but
specific to the ADC

Cheers

Al

On 15/02/2013 6:48 AM, Peter Johansson wrote:
> On Thu, Feb 14, 2013 at 2:56 PM, Onestone wrote:
>
>> The launchpad parts (MSP430) don't have DMA, or didn't last time I
>> looked.
> Are you sure about this? It is my understanding that the G2 parts do
> have a very rudimentary DMA scheme which can be used to store things
> like ADC samples even while the CPU is in sleep mode and manage
> RAM->FLASH transfers.
>
> It is on my grander to-do list to play with these at some point, if in
> fact, I am understanding the datasheets correctly and these features
> do exist in the G2 parts.
>
> -p.
>
On Thu, Feb 14, 2013 at 4:07 PM, Onestone wrote:

> [...] what you MAY be
> getting confused with is the ADC10 which has a unit Ti call a DTC, data
> transfer controller, which is a little like a low level DMA, but
> specific to the ADC

That could be what I was thinking of. I wonder if the FLASH module
actually has it's own low-level DMA type thing as well which I was
also confusing with a more true DMA.

-p.
Not that I'm aware of, but under the hood who knows?

Al

On 15/02/2013 7:45 AM, Peter Johansson wrote:
> On Thu, Feb 14, 2013 at 4:07 PM, Onestone wrote:
>
>> [...] what you MAY be
>> getting confused with is the ADC10 which has a unit Ti call a DTC, data
>> transfer controller, which is a little like a low level DMA, but
>> specific to the ADC
> That could be what I was thinking of. I wonder if the FLASH module
> actually has it's own low-level DMA type thing as well which I was
> also confusing with a more true DMA.
>
> -p.
>
I realized that too right after I sent the approval of learning the
DMA. It really is too bad though, because I think setting up a
functional DMA is one of the best ways to learn the ins and outs of the SPI.

Jake G.

and as my penitence for my misleading comment:
Does not simply walk into mordor Boromir - One DOes not Simply Run A DMA
on a MSP launch Pad

On 2/14/2013 1:07 PM, Onestone wrote:
>
> Peter I don't profess to be the font of all knowledge, and certainly I
> haven't done a whole heap with the G series, however none of the data
> sheets for any of the G2 parts I have indicate a DMA, what you MAY be
> getting confused with is the ADC10 which has a unit Ti call a DTC, data
> transfer controller, which is a little like a low level DMA, but
> specific to the ADC
>
> Cheers
>
> Al
>
> On 15/02/2013 6:48 AM, Peter Johansson wrote:
> > On Thu, Feb 14, 2013 at 2:56 PM, Onestone o...@bigpond.net.au
> > wrote:
> >
> >> The launchpad parts (MSP430) don't have DMA, or didn't last time I
> >> looked.
> > Are you sure about this? It is my understanding that the G2 parts do
> > have a very rudimentary DMA scheme which can be used to store things
> > like ADC samples even while the CPU is in sleep mode and manage
> > RAM->FLASH transfers.
> >
> > It is on my grander to-do list to play with these at some point, if in
> > fact, I am understanding the datasheets correctly and these features
> > do exist in the G2 parts.
> >
> > -p.
> >
> >
> >
> >
> >
> >
> >