Not applicable
Jul 08, 2014
12:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 08, 2014
12:26 AM
Hi,
Target : XMC1300 bootkit
Problem : ACMP0 does not work properly.
I have a XMC1300 boot kit and am testing App ANACMP01/0 ver 1.0.12.
Two inputs being compare are: INP(P2.7) and INN(P2.8).
Voltage on INP is 1V and a variable voltage 0-3.3V is given to INN.
There is no change in comparator output(CMP_OUT bit) when voltage at INN falls below 1V.
Comparator operates at other INP voltages as follows:
INP = 3V, CMP_OUT = 0 at INN = 2.4V
INP = 2.5V, CMP_OUT = 0 at INN = 2.3V
INP = 1.5V, CMP_OUT = 0 at INN = 0.8V
With manual coding(ie without DAVE APP), results are the same.
WR_REG(COMPARATOR->ANACMP0,COMPARATOR_ANACMP0_CMP_EN_Msk,COMPARATOR_ ANACMP0_CMP_EN_POS,1);
WR_REG(COMPARATOR->ANACMP0,COMPARATOR_ANACMP0_ACMP0_SEL_Msk,COMPARAT OR_ANACMP0_ACMP0_SEL_POS,1);
ANACMP1 and ANACMP2 work perfectly.
Thinking that the chip could be damaged, the same tests were carried out on another board with the
same results.
What could be the problem?
This is second post in the forum. Please tell us answer.
Regards,
Naresh
Target : XMC1300 bootkit
Problem : ACMP0 does not work properly.
I have a XMC1300 boot kit and am testing App ANACMP01/0 ver 1.0.12.
Two inputs being compare are: INP(P2.7) and INN(P2.8).
Voltage on INP is 1V and a variable voltage 0-3.3V is given to INN.
There is no change in comparator output(CMP_OUT bit) when voltage at INN falls below 1V.
Comparator operates at other INP voltages as follows:
INP = 3V, CMP_OUT = 0 at INN = 2.4V
INP = 2.5V, CMP_OUT = 0 at INN = 2.3V
INP = 1.5V, CMP_OUT = 0 at INN = 0.8V
With manual coding(ie without DAVE APP), results are the same.
WR_REG(COMPARATOR->ANACMP0,COMPARATOR_ANACMP0_CMP_EN_Msk,COMPARATOR_ ANACMP0_CMP_EN_POS,1);
WR_REG(COMPARATOR->ANACMP0,COMPARATOR_ANACMP0_ACMP0_SEL_Msk,COMPARAT OR_ANACMP0_ACMP0_SEL_POS,1);
ANACMP1 and ANACMP2 work perfectly.
Thinking that the chip could be damaged, the same tests were carried out on another board with the
same results.
What could be the problem?
This is second post in the forum. Please tell us answer.
Regards,
Naresh
2 Replies
Not applicable
Jul 08, 2014
10:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 08, 2014
10:21 PM
Hi Naresh,
P2.7 and P2.8 are not from the same ACMP channel.
ACMP0 uses P2.8 and P2.9 while ACMP1 uses P2.6 and P2.7.
You can refers the pining on the I/O function table in Reference Manual.
P2.7 and P2.8 are not from the same ACMP channel.
ACMP0 uses P2.8 and P2.9 while ACMP1 uses P2.6 and P2.7.
You can refers the pining on the I/O function table in Reference Manual.
Not applicable
Jul 17, 2014
12:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 17, 2014
12:30 AM
Hi Naresh,
Thank you very much for the feedback. This issue has been addressed in eTicket 251789775.
Best regards,
Sophia
Thank you very much for the feedback. This issue has been addressed in eTicket 251789775.
Best regards,
Sophia