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 Team,
How to configure CMPSS module to get DAC output?
I have enabled CMPSS DACL Output Enable.
Added CMPSS module and configure DAC to take value from shadow register.
changing DAC's value in loop at some interval.
While monitoring pin A0/C15/CMP1_DACL/15, getting no output.
1. How to configure pin A0/C15/CMP1_DACL/15 to get output?
2. While setting value from CMPSS_setDACValueLow(myCMPSS0_BASE, 1000), I am getting value from funtion CMPSS_getDACValueLow(myCMPSS0_BASE) is "500". What I am doing wrong here?
Please help me to fix this example.
Hello Ankit,
Thanks for your patience.
As far as the CMP1_DACL configuration is concerned, you need to enable CMPSS module as well.
Will check your code and update you.
Regards,
Hadi
Please also share your observation on second point which is "While setting value from CMPSS_setDACValueLow(myCMPSS0_BASE, 1000), I am getting value from funtion CMPSS_getDACValueLow(myCMPSS0_BASE) is "500". What I am doing wrong here?"
Please share the whole code snippet so I can run it in my side.
Regards,
Hadi