XMC™ Forum Discussions
XMC™
How to build application in DAVE4 for capturing task with DAVE CE components?
XMC™
Are interrupt status flags automatically cleared upon executing the associated ISR or do they have to be manually cleared inside the ISR? I've been s...
Show More
Are interrupt status flags automatically cleared upon executing the associated ISR or do they have to be manually cleared inside the ISR? I've been searching through the XMC1000 family reference manual but don't see this answered anywhere. Thanks.
Show Less
XMC™
HiI was wondering if anyone can throw some light on what i'm doing wrong...I have an XMC2Go evaluation board. I have got pretty much all the bits of c...
Show More
Hi
I was wondering if anyone can throw some light on what i'm doing wrong...
I have an XMC2Go evaluation board. I have got pretty much all the bits of code that i need working quite nicely but i noticed that the device is running a bit fast so i have tried implementing the temperature based clock adjustment. I have enabled the Temperature Sensor (TSE) and got a reading from the ANATSEMON register that is 15683 decimal. I then called the _CalcTemperature ROM function which returns 64 decimal, which is supposed to be in degrees Kelvin (as a check I did trace this ROM function for a little bit and saw that it does indeed read the ANATSEMON register so i am pretty happy i am calling the right function). The value of 64 is fairly obviously wrong as it really isn't that cold in my office! It is also not useful for generating a oscillator correction... I am using the Keil uVision compiler and i have tried the code on two XMC2Go boards with pretty much identical results. The boards seem to have sensible calibration data and also appear to be production devices based on some other posts I have read (AE parts?).
Any help would be gratefully accepted! Show Less
I was wondering if anyone can throw some light on what i'm doing wrong...
I have an XMC2Go evaluation board. I have got pretty much all the bits of code that i need working quite nicely but i noticed that the device is running a bit fast so i have tried implementing the temperature based clock adjustment. I have enabled the Temperature Sensor (TSE) and got a reading from the ANATSEMON register that is 15683 decimal. I then called the _CalcTemperature ROM function which returns 64 decimal, which is supposed to be in degrees Kelvin (as a check I did trace this ROM function for a little bit and saw that it does indeed read the ANATSEMON register so i am pretty happy i am calling the right function). The value of 64 is fairly obviously wrong as it really isn't that cold in my office! It is also not useful for generating a oscillator correction... I am using the Keil uVision compiler and i have tried the code on two XMC2Go boards with pretty much identical results. The boards seem to have sensible calibration data and also appear to be production devices based on some other posts I have read (AE parts?).
Any help would be gratefully accepted! Show Less
XMC™
Is there a way to configure and read or set multiple pins from a port with the XMC_GPIO_... functions?These function only seem to work for single pins...
Show More
Is there a way to configure and read or set multiple pins from a port with the XMC_GPIO_... functions?
These function only seem to work for single pins. I need to read 8 inputs at the same time.
Do I need to bypass the library and set and read the port by directly accessing the registers? Show Less
These function only seem to work for single pins. I need to read 8 inputs at the same time.
Do I need to bypass the library and set and read the port by directly accessing the registers? Show Less
XMC™
Hi, I am working on XMC 4100 SSC module, I have interfaced M95320(SPI EEPROM) to 4100 using SPI, the communication is successful for 10kbps baud rat...
Show More
Hi,
I am working on XMC 4100 SSC module, I have interfaced M95320(SPI EEPROM) to 4100 using SPI, the communication is successful for 10kbps baud rate as I am increasing the Baud rate up to 100kbps . xmc 4100 is receiving nothing. Show Less
I am working on XMC 4100 SSC module, I have interfaced M95320(SPI EEPROM) to 4100 using SPI, the communication is successful for 10kbps baud rate as I am increasing the Baud rate up to 100kbps . xmc 4100 is receiving nothing. Show Less
XMC™
Hello, when using CCU40 and CCU41 with timer concatenation is it possible to get also a period match interrupt for CCU40? In principle the timer conca...
Show More
Hello,
when using CCU40 and CCU41 with timer concatenation is it possible to get also a period match interrupt for CCU40? In principle the timer concatenation is working.
The period match interrupt for CCU41 is triggered, but when activating the period match interrupt for CCU40 the behaviour is strange.
Thank you in advance! Show Less
when using CCU40 and CCU41 with timer concatenation is it possible to get also a period match interrupt for CCU40? In principle the timer concatenation is working.
The period match interrupt for CCU41 is triggered, but when activating the period match interrupt for CCU40 the behaviour is strange.
Thank you in advance! Show Less
XMC™
Hi. I have configured P3.3 as Chip Select (SPI) for USIC1 channel1(XMC 4500).But this CS pin is not getting toggle with respect to the frame(SPI F...
Show More
Hi.
I have configured P3.3 as Chip Select (SPI) for USIC1 channel1(XMC 4500).But this CS pin is not getting toggle with respect to the frame(SPI Frame).I have selected Alternative Function 2 for the same Pin.
So what might be the causes for this issue?? Show Less
I have configured P3.3 as Chip Select (SPI) for USIC1 channel1(XMC 4500).But this CS pin is not getting toggle with respect to the frame(SPI Frame).I have selected Alternative Function 2 for the same Pin.
So what might be the causes for this issue?? Show Less
XMC™
Hi, I am working on xmc4100 ADC. I wanna achieve 50 samples/sec sampling rate but as per formula in datasheet sampling rate is achieved in usec or nse...
Show More
Hi, I am working on xmc4100 ADC. I wanna achieve 50 samples/sec sampling rate but as per formula in datasheet sampling rate is achieved in usec or nsecs. How to achieve in terms of seconds ? please help !
Show Less
XMC™
I have a design with 8 hardkeys connected to GPIOs. I want to have an interrupt when any key is pressed or released.I have looked into connecting the ...
Show More
I have a design with 8 hardkeys connected to GPIOs. I want to have an interrupt when any key is pressed or released.
I have looked into connecting the GPIOs to the ERU to generate the interrupt, but this means the whole ERU would be required for this simple task and I need it for other functions.
Is there a better way to solve this problem? I don't really want to poll the GPIO port. Show Less
I have looked into connecting the GPIOs to the ERU to generate the interrupt, but this means the whole ERU would be required for this simple task and I need it for other functions.
Is there a better way to solve this problem? I don't really want to poll the GPIO port. Show Less
XMC™
Dear all, i have some understanding problems with this documentation for the ASC Bootloader.1. In the Figure 1 is shown the connection between PC COM ...
Show More
Dear all,
i have some understanding problems with this documentation for the ASC Bootloader.
1. In the Figure 1 is shown the connection between PC COM Port and Target (XMC4500).
Really no levelshifter e.g. MAX3323 is required to change the pc rs232 voltage to 3.3V TTL?
2. Under Chapter 2.2 is described how to change the loader file to locate the Flashloader.hex into the PSRAM.
I cannot find this linker file in the example application. I find only linker_script.ld and this linker file looks not different to other other linker_script.ld files.
Where I can find the XMC4x00_PSRAM.ld ?
Documentation:
http://www.infineon.com/dgdl/Infineon-XMC4000_TOO_Bootloader-AN-v01_02-EN.pdf?fileId=db3a30433e4143bd013e46a58ebf40cb&sd=t
Example Program:
http://www.infineon.com/dgdl/Infineon-XMC4000_Bootloader_ASC_example_code-AN-v01_02-EN.exe?fileId=db3a30433e82b1cf013e9d45598c112a&sd=t
Hope somebody support me with my questions. Show Less
i have some understanding problems with this documentation for the ASC Bootloader.
1. In the Figure 1 is shown the connection between PC COM Port and Target (XMC4500).
Really no levelshifter e.g. MAX3323 is required to change the pc rs232 voltage to 3.3V TTL?
2. Under Chapter 2.2 is described how to change the loader file to locate the Flashloader.hex into the PSRAM.
I cannot find this linker file in the example application. I find only linker_script.ld and this linker file looks not different to other other linker_script.ld files.
Where I can find the XMC4x00_PSRAM.ld ?
Note:
The Flash Loader program must be located in the PSRAM starting at 0x10000000 (XMC4500) or
0x1FFFC000 (XMC4400/4200) because the Flash Loader program can only run from PSRAM. Therefore the
default linker script file generated from DAV4cannot be used in the Flash loader project, because the
default linker script file locates the codes in iCache starting at 0x80000000. The linker script file that
locates the codes into PSRAM is provided in the XMC4x00_PSRAM.ld filer. To change the linker script file go
to project properties:
Go to Settings->ARM-GCC C Linker->General->Script file (-T)
Open “Browse...” to import the file XMC4x00_PSRAM.ld into the field
Documentation:
http://www.infineon.com/dgdl/Infineon-XMC4000_TOO_Bootloader-AN-v01_02-EN.pdf?fileId=db3a30433e4143bd013e46a58ebf40cb&sd=t
Example Program:
http://www.infineon.com/dgdl/Infineon-XMC4000_Bootloader_ASC_example_code-AN-v01_02-EN.exe?fileId=db3a30433e82b1cf013e9d45598c112a&sd=t
Hope somebody support me with my questions. Show Less