Reply by vinay kumar March 19, 20062006-03-19
reference set up was ok.. becoz as i said.. same thing works if
i reduce the size of the lookup table from 15000 to around 200 .. al voltage
levels
showup as expected... but with DMASIZ set to 15000.. it givesup.

PS: it is MSP430F1610.. (forgot to mention)
On 3/19/06, Microbit <microbit@micr...> wrote:
>
>  I once saw such weird behaviour, check out your reference set up
> (Internal/external) !!
>
> -- Kris
>
>
> -----Original Message-----
> From: msp430@msp4... [mailto:msp430@msp4...] On Behalf Of
> vinay kumar
> Sent: Friday, 17 March 2006 3:11 PM
> To: msp430@msp4...
> Subject: [msp430] .wav data thru dma to dac
>
> .. Hi all,
>       The .wav file (8bit mono 8000Hz) data some 15000bytes were
> initialized
> to a wav_table.. and setup DMA+DAC to emit that out..(most of the wav
> data is around 7e 7f except somewhere in between..  )
>     runnnig at 800 khz.. . doesnt show anything encouraging on the CRO..
>    (triggered on  every  100 count)..
>
>   same thing works if i reduce that big array ... say to size 200 or
> 300.. other things
>   being same.
>
>   I took care that WDT is on HOLD.. and it does.(__low_level_init() in
> IAR)..
>
>   some plz help ..figuring out where im going wrong..
> ------------------------
> .. If i enable XT2 :
> BCSCTL1 &= ~XT2OFF;
> BCSCTL2 |= SELM_2 + SELS; // MCLK= SMCLK= XT2 (safe)
>
> and try.. with a sine_table say.. then sine comesup at dac for about
> 1/2 a second..  and then it vanishes.. :(
> is it with the hardware?.. or software...
>
>
>
>
>
> .
>
>
> >.
>
>
>  ------------------------------
>





Beginning Microcontrollers with the MSP430

Reply by Microbit March 19, 20062006-03-19
I once saw such weird behaviour, check out your reference set up
(Internal/external) !!

-- Kris

-----Original Message-----
From: msp430@msp4... [mailto:msp430@msp4...] On Behalf Of vinay kumar
Sent: Friday, 17 March 2006 3:11 PM
To: msp430@msp4...
Subject: [msp430] .wav data thru dma to dac

.. Hi all,
      The .wav file (8bit mono 8000Hz) data some 15000bytes were initialized
 to a wav_table.. and setup DMA+DAC to emit that out..(most of the wav
data is around 7e 7f except somewhere in between..  )
    runnnig at 800 khz.. . doesnt show anything encouraging on the CRO..
   (triggered on  every  100 count)..

  same thing works if i reduce that big array ... say to size 200 or
300.. other things
  being same.

  I took care that WDT is on HOLD.. and it does.(__low_level_init() in IAR)..

  some plz help ..figuring out where im going wrong..
------------------------
 .. If i enable XT2 :
 BCSCTL1 &= ~XT2OFF;
 BCSCTL2 |= SELM_2 + SELS; // MCLK= SMCLK= XT2 (safe)

 and try.. with a sine_table say.. then sine comesup at dac for about
1/2 a second..  and then it vanishes.. :(
 is it with the hardware?.. or software...





.

 
Yahoo! Groups Links



 




Reply by vinay kumar March 17, 20062006-03-17
.. Hi all,
      The .wav file (8bit mono 8000Hz) data some 15000bytes were initialized
 to a wav_table.. and setup DMA+DAC to emit that out..(most of the wav
data is around 7e 7f except somewhere in between..  )
    runnnig at 800 khz.. . doesnt show anything encouraging on the CRO..
   (triggered on  every  100 count)..

  same thing works if i reduce that big array ... say to size 200 or
300.. other things
  being same.

  I took care that WDT is on HOLD.. and it does.(__low_level_init() in IAR)..

  some plz help ..figuring out where im going wrong..
------------------------
 .. If i enable XT2 :
 BCSCTL1 &= ~XT2OFF;
 BCSCTL2 |= SELM_2 + SELS; // MCLK= SMCLK= XT2 (safe)

 and try.. with a sine_table say.. then sine comesup at dac for about
1/2 a second..  and then it vanishes.. :(
 is it with the hardware?.. or software...