Hi,
I´m using a F28027 Microcontroller with The App Library - Digital Power and I want use the Ramp Generator, but the RAMPMAXREF_SHDW and RAMPDECVAL_SHDW registers are not writable.
Thank you for helping,
Daniel
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I´m using a F28027 Microcontroller with The App Library - Digital Power and I want use the Ramp Generator, but the RAMPMAXREF_SHDW and RAMPDECVAL_SHDW registers are not writable.
Thank you for helping,
Daniel
Hi Tommy,
the COMPxENCLK bit is set also, like in the comparator description, COMPDACEN and ADCBGPWD are set to 1. The Comparator is working fine and Results are written in the DACVAL regster too. Only the two Registers RAMPMAXREF_SHDW and RAMPDECVAL_SHDW are not writable, on both comparators! In the Memory Browser, it´s also not possible. It´s very strange.
Best Regards
Daniel
Daniel,
Let's try another sanity check. I was able to do the following successfully on my F28027 device and I would like to see if you can duplicate it:
Hi Tommy,
I tried it , and it did work. I also tried again to write in the memory browser while debugging (with the gel file included), and it did work too. Perhaps, I made somthing the last time wrong, at writing in the memory browser (Sorry for this, I know, its not difficult to use the memory browser). But the allocation still doesn´t work.
Best regards,
Daniel
Daniel,
At least this tells us that your device registers are ok, but there is something wrong with the software writes. I would recommend single-stepping through the code that writes to those registers while keeping an eye on the memory browser. Either the clock is being disabled somewhere or the software is trying to write to the wrong addresses.
-Tommy