View previous topic :: View next topic |
Author |
Message |
rsavas
Joined: 10 Aug 2010 Posts: 197 Location: Baldwin, Ontario
|
|
Back to top |
|
|
Matrixx
Joined: 30 Nov 2005 Posts: 158
|
Posted: Fri Feb 20, 2015 9:22 pm Post subject: |
|
|
I still have the 2.0.7.7
I will make some tests now to confirm if some voltage appear.
I'm not sure if the trigger value need to be different. According tho the explain below:
Code: | ' Trigger = &H25 (DAC B Base Level Trigger) + Channel 0 = &H00 --> &H25 |
Maybe it need to be different...? |
|
Back to top |
|
|
Matrixx
Joined: 30 Nov 2005 Posts: 158
|
Posted: Fri Feb 20, 2015 10:27 pm Post subject: |
|
|
I tested your code stand alone on separate file and yes it produces 1V output.
But inserting the code at the current triangle wave example, it does not produce the 1V.
Same XPLain board. Compiler 2.0.7.7 |
|
Back to top |
|
|
rsavas
Joined: 10 Aug 2010 Posts: 197 Location: Baldwin, Ontario
|
Posted: Fri Feb 20, 2015 11:25 pm Post subject: |
|
|
Okay then it ain't the DAC
H/W , S/W ? which one, the magic ?
Run tests on all the h/w to verify working, memory test. |
|
Back to top |
|
|
Matrixx
Joined: 30 Nov 2005 Posts: 158
|
|
Back to top |
|
|
rsavas
Joined: 10 Aug 2010 Posts: 197 Location: Baldwin, Ontario
|
Posted: Fri Feb 20, 2015 11:47 pm Post subject: |
|
|
Cool!!
I find that as nice as BASCOM is at setting up register configuration using syntax, you really have to look at the register descriptions in the user manual to make good sense of what they all mean. |
|
Back to top |
|
|
rsavas
Joined: 10 Aug 2010 Posts: 197 Location: Baldwin, Ontario
|
Posted: Fri Feb 27, 2015 12:30 am Post subject: |
|
|
Oops posted into the wrong thread |
|
Back to top |
|
|
|