I just recently received a MOD54415 and the the demo board for it. I have been playing around with it for a few days and would now like to try generating an analog voltage using the onboard DAC. Does anybody have any experience with this? Here is the code that I have written so far, which is meant to implement the automatic generation mode on the mcf54415. I can tell that the data register seems to be incrementing properly, but I don't see an output on J2 pin 9. It has been about 10 years since I have worked with a microcontroller, or even programmed in C++ for that matter, so any suggestions are most welcome.
Have you connectd the A/D and Dac refrerence voltageS?
The MOD-DEV-70 does nto connect them by default.
The next version of the Moddev 70 will have reference umpers, but the current version does not.
I'm traveling for the rest of this week so I will likely not get to it...
but I'd look in the A/D section to see if there is some setting that switches the pin from A/D to DAC mode.
I'd also look in the pin assignment registers in the gpio section for the same type of setting....
I'll try to get to this today... alas odds are low.