NetBurner Community Forum

A community of NetBurner users gathering to discuss NetBurner hardware, software, design and projects
It is currently Tue Aug 22, 2017 4:03 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: MOD54415 DAC example
PostPosted: Fri Dec 14, 2012 2:30 pm 
Site Admin

Joined: Fri Apr 18, 2008 5:54 pm
Posts: 35
This example demonstrates simple DAC output capability and the advanced waveform output capability. Tested with tools release 2.6.


Attachments:
MOD54414-DAC.zip [3.56 KiB]
Downloaded 419 times
Top
 Profile  
 
 Post subject: Re: MOD54415 DAC example
PostPosted: Fri Feb 08, 2013 1:47 am 

Joined: Tue Jan 29, 2013 5:44 am
Posts: 89
This example refers to a function and pin definition that does not apear in the example

J2[36].function( PINJ2_36_T0OUT );

Can anyone tell me where this function and pin definition is?

Regards
Lachlan


Top
 Profile  
 
 Post subject: Re: MOD54415 DAC example
PostPosted: Fri Feb 08, 2013 9:50 am 
User avatar

Joined: Mon Feb 06, 2012 10:37 am
Posts: 609
Location: San Diego, CA
Um... I'm not sure I understand your question. I think you're confused by the PinIO class and the pinconstants macros. If that's the case, then take a look at 'pins.h' in the system include directory (nburn/include) and 'pinconstants.h' in the platform include directory (nburn/MOD5441X/include).

_________________
Dan Ciliske
Project Engineer
Netburner, Inc


Top
 Profile  
 
 Post subject: Re: MOD54415 DAC example
PostPosted: Fri May 17, 2013 10:58 am 

Joined: Thu May 16, 2013 1:24 pm
Posts: 8
Can anyone confirm that this example works? I'm not getting output on my DAC0 line for the simple ramping output.

I can follow along with your initialization sequence and it seems correct and close to what I attempted, however I haven't had any success. For the analog reference voltage I simply connected J2[2] (VCC) to J2[5].

Thanks for any help!
Andrew


Top
 Profile  
 
 Post subject: Re: MOD54415 DAC example
PostPosted: Fri May 17, 2013 11:26 am 
User avatar

Joined: Mon Feb 06, 2012 10:37 am
Posts: 609
Location: San Diego, CA
Hmm... That's interesting. I just ran the example on my board and it behaves exactly as expected. Two things I'll note are:

1) The example says that DAC0 is J2[36]. This is incorrect. J2[36] is DTOUT0, the timer output. DAC0 is J2[9].
2) You should also connect VSSA_DAC_ADC to ground; J2[14] to J2[1]. This is the ground reference pin for the analog module.

Do either of these help?

-Dan

_________________
Dan Ciliske
Project Engineer
Netburner, Inc


Top
 Profile  
 
 Post subject: Re: MOD54415 DAC example
PostPosted: Fri May 17, 2013 12:09 pm 

Joined: Thu May 16, 2013 1:24 pm
Posts: 8
I actually never ran the second (timer generation) section. But I have J2[1] connected to J2[14], J2[2] -> J2[5], and my oscilloscope hooked up to J2[9] and J2[1] (gnd).

I just tried using DAC1 (and J2[13]) instead of DAC0 without success. I'm going to try one of my other boards and I'll let you know if that fixes anything.

**UPDATE

It appeared to be the board I was using. The demo works properly on another board.

Thanks for your help!


Top
 Profile  
 
 Post subject: Re: MOD54415 DAC example
PostPosted: Mon Sep 05, 2016 8:49 am 

Joined: Mon Sep 05, 2016 8:26 am
Posts: 1
dciliske wrote:
Hmm... That's interesting. I just ran the example on my board and it behaves exactly as expected. Two things I'll note are:

1) The example says that DAC0 is J2[36]. This is incorrect. J2[36] is DTOUT0, the timer output. DAC0 is J2[9].
2) You should also connect VSSA_DAC_ADC to ground; J2[14] to J2[1]. This is the ground reference pin for the analog module.

Do either of these help?

-Dan



i will help i hope. it actually made my work about to be completed and hopefully if there is still an issue what you shared is something that i have to apply. i will post mine once completed and hopefully someone will help me:)


Top
 Profile  
 
 Post subject: Re: MOD54415 DAC example
PostPosted: Thu Aug 10, 2017 8:21 pm 

Joined: Thu Aug 10, 2017 8:14 pm
Posts: 1
BBAdmin wrote:
This example demonstrates simple DAC output capability and the advanced waveform output capability. Tested with tools release 2.6.


I can follow with your initialization series and it looks right and close to what I used, however I have not got any success.

_________________
Get the secockpit keywords tool http://www.myversaroadtrip.com


Top
 Profile  
 
 Post subject: Re: MOD54415 DAC example
PostPosted: Mon Aug 14, 2017 10:42 am 
User avatar

Joined: Mon Feb 06, 2012 10:37 am
Posts: 609
Location: San Diego, CA
Did you connect the pins VDDA_DAC_ADC and VSSA_DAC_ADC (Pins J2[5] and J2[14])? The power section for the analog section is separate from that of the rest of the module. If you're just working with the carrier board you can just jumper those to Vcc and Ground.

-Dan

_________________
Dan Ciliske
Project Engineer
Netburner, Inc


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 8 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group