xmc1100 adc ANONS bits

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User18707
Level 1
Level 1
Welcome!
I am trying to use the XMC1100 ADC and I find that the reference manual and errata sheets are confusing. They refer to an ANONS field in the GxARBCFG register. There is no other reference to these bits and I can't find the GxARBCFG register.
Using the address from the XMC1300 (0x48030480) causes a memory fault. Where would I find the correct information please?
0 Likes
1 Solution
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
Hi,

Have a look to the reference manual, p16-85.

BTW: the easiest way to get started are:
1) to use DAVE4 APP, e.g. ADC_MEASUREMENT or ADC_MEASUREMENT _ADV.
2) to have a look at the XMCLib, http://dave.infineon.com/Libraries/XMCLib/XMC_Peripheral_Library_v2.1.24.zip

Regards,
Jesus

View solution in original post

0 Likes
8 Replies
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
Hi,

Have a look to the reference manual, p16-85.

BTW: the easiest way to get started are:
1) to use DAVE4 APP, e.g. ADC_MEASUREMENT or ADC_MEASUREMENT _ADV.
2) to have a look at the XMCLib, http://dave.infineon.com/Libraries/XMCLib/XMC_Peripheral_Library_v2.1.24.zip

Regards,
Jesus
0 Likes
User18707
Level 1
Level 1
Welcome!
jferreira wrote:
Hi,

Have a look to the reference manual, p16-85.

BTW: the easiest way to get started are:
1) to use DAVE4 APP, e.g. ADC_MEASUREMENT or ADC_MEASUREMENT _ADV.
2) to have a look at the XMCLib, http://dave.infineon.com/Libraries/XMCLib/XMC_Peripheral_Library_v2.1.24.zip

Regards,
Jesus


Hi,

I have just downloaded the peripheral library and there is a reference to GxARBCFG but no definition of its address.
The reference manual page numbering doesn't match the pages you refer to. Searching the reference manual shows no instance of this name.
I don't use C and the output of DAVE is almost incomprehensible. I just want the details of the hardware.
Regards,
0 Likes
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
Hi,

The Arbitration and Source Registers(GxARBCFG) is described in p16-85 of the XMC1300 reference manual V1.3, 2016-08.
You can the register by either VADC_G0->ARBCFG (0x48030480) or VADC_G1->ARBCFG (0x48030880) if you include XMC1300.h.
To access these registers you will need to ungate the VADC clock, see function XMC_VADC_GLOBAL_EnableModule().

Regards,
Jesus
0 Likes
User18707
Level 1
Level 1
Welcome!
Hi,
I am using the XMC1100. That is why I haven't been looking at the XMC1300 reference manual!
When I try to access this memory address ($48030880) I get what appears to be a memory address fault.
Have I got the correct reference manual?
Regards
0 Likes
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
The analog-to-digital converter (ADC) in XMC1100 series provides a subset of functions compared to the ADC implemented in XMC12/XMC13/XMC14 series.
Only the background conversion request is implemented, therefore you are not able to configure the ADC groups.
0 Likes
User18707
Level 1
Level 1
Welcome!
jferreira wrote:
The analog-to-digital converter (ADC) in XMC1100 series provides a subset of functions compared to the ADC implemented in XMC12/XMC13/XMC14 series.
Only the background conversion request is implemented, therefore you are not able to configure the ADC groups.


So why are they referred to in both the manual and the errata note?
Are there similar issues with the other peripherals on the chip?
0 Likes
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
0 Likes
User18707
Level 1
Level 1
Welcome!
jferreira wrote:
Hi,

Sorry, I cannot find any reference to GxARBCFG register neither in the reference manual, https://www.infineon.com/dgdl/Infineon-xmc1100-AB_rm-UM-v01_03-EN.pdf?fileId=5546d46249cd1014014a0a8..., nor in the errata sheet, https://www.infineon.com/dgdl/Infineon-xmc1100_AB-ES-v01_04-EN.pdf?fileId=5546d4624a0bf290014a0f5813....


Regards,

Jesus


I didn't find these documents when I searched. Google returns
https://www.infineon.com/dgdl/Infineon-xmc1100-AA_rm-UM-v01_01-EN.pdf?fileId=5546d46255dd933d0155e31...
and
https://www.infineon.com/dgdl/Infineon-XMC1100_AA-ES-v01_11-EN.pdf?fileId=5546d46255dd933d0155e3199a...
Both of which refer to ANONS etc.

It would be a good idea if Infineon removed outdated information from their website when it is found inaccurate. This has caused a lot of grief.
Regards,
Duncan
0 Likes