Ladies and gentlemen,
I discovered an interesting phenomen while debugging DAC in my application.
I just wanted to turn the OpAmp buffer of DAC0 On. During debug, I've seen in the peripheral registers, that the bit BUF_EN bit is not set, however, my code sets it.
Carefully viewing onto the hex value of DAC->GCR register, I see, that the binary value is correct, it shows that bit 17 is set to 1, as I expected. However, a few lines below, BUF_EN says that the buffer is not enabled - but it is.
Is this a bug in MCUXpresso, or am I doing something wrong?
Solved! Go to Solution.
Hello, my apologize for the late response, I did test it on the SDK example, and I have the same behavior that you reported, let me escalate to the SDK department when I have more information I will contact you.
Best regards,
Pavel
Hello, I get this information from the team.
What I meant is treat this as "Not used", since bit 17 is 0. The only part that is not right is the field explanation from the MCUXpresso peripheral register view for GCR[BUF_EN]=0 is stated "Used"
Same as this, bit 17 is 1 - BUF_EN. The MCUXpresso peripheral register view for GCR[BUF_EN]=1 show "Not Used" is wrong.
The most important is the GCR register bit 17. If the GCR register bit 17 is 1 - BUF_EN (0x0002_0000), bit 17 is 0 - Buf not used (0x0000_0000).
Best regards,
Pavel
Hello, could you let me know if your test was based on an example from the SDK? or is this issue reproducible on once example on the SDK? if yes could you let me know the steps?
Best regards,
Pavel
Hallo Pavel,
I sent You my answers by email yesterday. Unfortunately yesterday I couldn't answer here on-line. Hopefully You got it.
Hello, my apologize for the late response, I did test it on the SDK example, and I have the same behavior that you reported, let me escalate to the SDK department when I have more information I will contact you.
Best regards,
Pavel
Hallo Pavel,
Thank You for the response. Just as info: I installed the newest MCUXpresso, v11.10.0_3148, the same symptom is still there. Hopefully it can be corrected.
Thank You again.