XMC™ Forum Discussions
XMC™
I can seem to find any examples of how to use sleep and wake. I have tried to implement my own using what i have found on the forum and reference guid...
Show More
I can seem to find any examples of how to use sleep and wake. I have tried to implement my own using what i have found on the forum and reference guide but I can't seem to get it to wake back up without error. If anyone has any examples a working deep sleep and wake that would be super helpful. Thanks.
Show Less
XMC™
Hi everybody,I use the uC XMC4500, but I configure 200KHz in Dave at the oscilloscope I read only one fifth, ie 40 KHz. Someone will have an idea?
Show More
Hi everybody,
I use the uC XMC4500, but I configure 200KHz in Dave at the oscilloscope I read only one fifth, ie 40 KHz. Someone will have an idea? Show Less
I use the uC XMC4500, but I configure 200KHz in Dave at the oscilloscope I read only one fifth, ie 40 KHz. Someone will have an idea? Show Less
XMC™
Hello everyone,I would like to know the signal curve that we get. Please watch attached document. I would also like to know where I can find more info...
Show More
Hello everyone,
I would like to know the signal curve that we get.
Please watch attached document. I would also like to know where I can find more information on Timer Mode Settings
Thank you in advance for your answer Show Less
I would like to know the signal curve that we get.
Please watch attached document. I would also like to know where I can find more information on Timer Mode Settings
Thank you in advance for your answer Show Less
XMC™
Is it possible to configure the XMC4800 with both EtherCAT and an EBU? There appears to be a conflict. If so, can someone point me to how best to do i...
Show More
Is it possible to configure the XMC4800 with both EtherCAT and an EBU? There appears to be a conflict. If so, can someone point me to how best to do it? There doesn't appear to be an EBU APP in Dave.
I would like to use a multiplexed bus to communicate with an FPGA.
Thanks! Show Less
I would like to use a multiplexed bus to communicate with an FPGA.
Thanks! Show Less
XMC™
Hi,I have search about this emulating an eeprom using flash memory. What I have found is using this E_EEPROM library via DAVE Apps. Do you have a samp...
Show More
Hi,
I have search about this emulating an eeprom using flash memory. What I have found is using this E_EEPROM library via DAVE Apps. Do you have a sample code for this library without using DAVE apps(but rather including only the header files for the library).
Thank you
Regards,
Ilde Show Less
I have search about this emulating an eeprom using flash memory. What I have found is using this E_EEPROM library via DAVE Apps. Do you have a sample code for this library without using DAVE apps(but rather including only the header files for the library).
Thank you
Regards,
Ilde Show Less
XMC™
Did you know you can use Arduino libraries to program XMC?Check out at https://github.com/Infineon/XMC-for-Arduino/wiki
Show More
Did you know you can use Arduino libraries to program XMC?
Check out at https://github.com/Infineon/XMC-for-Arduino/wiki Show Less
Check out at https://github.com/Infineon/XMC-for-Arduino/wiki Show Less
XMC™
I use Printf with Semihosting to display Debug messages on the console.But when I bulit up a Project with NewLib Standart, I get Linker Errors like: -...
Show More
I use Printf with Semihosting to display Debug messages on the console.
But when I bulit up a Project with NewLib Standart, I get Linker Errors like:
- multiple definition of `_close'
- multiple definition of `_isatty'
- multiple definition of `_lseek'
Wtih NewLib Nano, everything is fine.
I ist possible to switch NewLib from Standart to Nano in an existing Project?
The Project is big and not mine so I dont want to create a new Project.
Regards
Haydar Show Less
But when I bulit up a Project with NewLib Standart, I get Linker Errors like:
- multiple definition of `_close'
- multiple definition of `_isatty'
- multiple definition of `_lseek'
Wtih NewLib Nano, everything is fine.
I ist possible to switch NewLib from Standart to Nano in an existing Project?
The Project is big and not mine so I dont want to create a new Project.
Regards
Haydar Show Less
XMC™
Hello,I want to expand the xmc4500 pins using Mcp23017 and have more ADC using the ADS7828, but when I try to send commands I can not communicate with...
Show More
Hello,
I want to expand the xmc4500 pins using Mcp23017 and have more ADC using the ADS7828, but when I try to send commands I can not communicate with the xmc via i2c. Do you have any suggestions? I used the guide provided by Infineon.
Thanks Show Less
I want to expand the xmc4500 pins using Mcp23017 and have more ADC using the ADS7828, but when I try to send commands I can not communicate with the xmc via i2c. Do you have any suggestions? I used the guide provided by Infineon.
Thanks Show Less
XMC™
Hello.. I am using EBU unit in XMC4800. I want to interface it to a external FRAM. I want to use the configuration as 16 bit multiplexed asynchronous ...
Show More
Hello.. I am using EBU unit in XMC4800. I want to interface it to a external FRAM. I want to use the configuration as 16 bit multiplexed asynchronous access. I am getting all the control signals correctly. But the problem is, in AD[15 : 0] multiplexed bus am getting only data when RD_WR/ is low. But when ADV/ is low I am getting invalid address. I have configured BUSRCONx.PORTW as 01B and BUSCONx.AGEN as 0. Is there any additional register configuration to configure it as multiplexed bus? And one more thing is I have not connected any external memory to microcontroller. I am checking this with the help of XMC4800 Relax Kit. They have provided pin headers so that it can be connected to CRO.
Show Less
XMC™
I'm facing some strange behavior when implementing timer interrupts on the XMC1100 (XMC1100T016X0064)Using DAVE, I selected a Manchester decoder on Sl...
Show More
I'm facing some strange behavior when implementing timer interrupts on the XMC1100 (XMC1100T016X0064)
Using DAVE, I selected a Manchester decoder on Slice 0, and a 1 millisecond timer on slice 1.
All seemed to work ok, until I started investigating some strange behaviour.
First I discovered that the interrupt priority was not behaving as expected.
The Manchester decoder interrupt was executing at lower priority than set. It was interrupted by an low priority interrupt which I found strange.
I checked every configuration register using the debugger and all seemed correct to me. (Slice 0 was set to 0, others to higher values (lower prio))
By pure luck I discovered that setting the priority for Slice 0 to Slice 1 solved the issue.
After digging deeper I found that Slice 0 triggers the interrupt handler/vector for slice 1 (CCU40_1_IRQHandler ; Handler name for SR CCU40_1)
and vice versa Slice 1 triggers interrupt for slice 0 (CCU40_0_IRQHandler ; Handler name for SR CCU40_0)
I was puzzled. How could my application ever have worked? I checked the Errata sheet but I was unable to find any information regarding this behaviour.
Then I discovered DAVE apparently knows about this because it "compensates" by generating the following macros:
#define MANCHESTERCoder_CCU4IRQHandler IRQ_Hdlr_22, which links the Manchester decoding library (Hardcoded to slice 0) to the interrupt handler of Slice 1
and
#define TIMER1_ISR IRQ_Hdlr_21, which links slice 0 interrupt to the slice 1 handler.
Questions:
- Is this a known issue?
- If it is, why isn't it in the Errata sheet?
- If it isn't why is DAVE compensating for this?
- Why are the interrupt priorities not switched for Slice 0 and 1 in the initialization code? Show Less
Using DAVE, I selected a Manchester decoder on Slice 0, and a 1 millisecond timer on slice 1.
All seemed to work ok, until I started investigating some strange behaviour.
First I discovered that the interrupt priority was not behaving as expected.
The Manchester decoder interrupt was executing at lower priority than set. It was interrupted by an low priority interrupt which I found strange.
I checked every configuration register using the debugger and all seemed correct to me. (Slice 0 was set to 0, others to higher values (lower prio))
By pure luck I discovered that setting the priority for Slice 0 to Slice 1 solved the issue.
After digging deeper I found that Slice 0 triggers the interrupt handler/vector for slice 1 (CCU40_1_IRQHandler ; Handler name for SR CCU40_1)
and vice versa Slice 1 triggers interrupt for slice 0 (CCU40_0_IRQHandler ; Handler name for SR CCU40_0)
I was puzzled. How could my application ever have worked? I checked the Errata sheet but I was unable to find any information regarding this behaviour.
Then I discovered DAVE apparently knows about this because it "compensates" by generating the following macros:
#define MANCHESTERCoder_CCU4IRQHandler IRQ_Hdlr_22, which links the Manchester decoding library (Hardcoded to slice 0) to the interrupt handler of Slice 1
and
#define TIMER1_ISR IRQ_Hdlr_21, which links slice 0 interrupt to the slice 1 handler.
Questions:
- Is this a known issue?
- If it is, why isn't it in the Errata sheet?
- If it isn't why is DAVE compensating for this?
- Why are the interrupt priorities not switched for Slice 0 and 1 in the initialization code? Show Less