XMC™ Forum Discussions
XMC™
Hi,Brand new to this environment but coming from Cypress PSoC Creator.I managed to create a small Dave CE project using the APP generator (ADC, UART, ...
Show More
Hi,
Brand new to this environment but coming from Cypress PSoC Creator.
I managed to create a small Dave CE project using the APP generator (ADC, UART, I2C and some Digital I/Os targetting an XMC1100.
Everything was building and running locally as expected until I moved/export the project to the file server.
Since then changing the name of some APP instances (also in the main.c file) leads me to compile errors like: implicit declaration of function 'DIGITAL_IO_SetOutputLow' [-Wimplicit-function-declaration] and: 'DIGITAL_IO_0' undeclared (first use in this function).
Moreover creating a new projet and putting some APPs in it even with the default labels, then building the project does no more generate the Dave/generated .h files.
I tried reinstalling Dave 4.4.2 without success.
Same behavior on the lab computer. Both are running under W10-64.
I also tried on the 32-bit application with no luck.
Any clue or solution about this ?
Best regards,
Michel Show Less
Brand new to this environment but coming from Cypress PSoC Creator.
I managed to create a small Dave CE project using the APP generator (ADC, UART, I2C and some Digital I/Os targetting an XMC1100.
Everything was building and running locally as expected until I moved/export the project to the file server.
Since then changing the name of some APP instances (also in the main.c file) leads me to compile errors like: implicit declaration of function 'DIGITAL_IO_SetOutputLow' [-Wimplicit-function-declaration] and: 'DIGITAL_IO_0' undeclared (first use in this function).
Moreover creating a new projet and putting some APPs in it even with the default labels, then building the project does no more generate the Dave/generated .h files.
I tried reinstalling Dave 4.4.2 without success.
Same behavior on the lab computer. Both are running under W10-64.
I also tried on the 32-bit application with no luck.
Any clue or solution about this ?
Best regards,
Michel Show Less
XMC™
Hi. I want to program the internal flash of an XMC4500-F100x1024 ... Reading through the datasheethttps://www.infineon.com/dgdl/Infineon-XMC4500-DS-v01_05-EN.pdf?fileId=5546d46254e133b40154e1b56cbe0123...
Show More
Hi.
I want to program the internal flash of an XMC4500-F100x1024 ... Reading through the datasheet
https://www.infineon.com/dgdl/Infineon-XMC4500-DS-v01_05-EN.pdf?fileId=5546d46254e133b40154e1b56cbe0123
I cannot discern the page and sector sizes for this particular architecture. Where do I find this information?
Thank you in advance. Show Less
I want to program the internal flash of an XMC4500-F100x1024 ... Reading through the datasheet
https://www.infineon.com/dgdl/Infineon-XMC4500-DS-v01_05-EN.pdf?fileId=5546d46254e133b40154e1b56cbe0123
I cannot discern the page and sector sizes for this particular architecture. Where do I find this information?
Thank you in advance. Show Less
XMC™
Hi,
I would like to know if there are any updates regarding the DAVE app for XMC14xx POSIF Module.
Thanks.
I would like to know if there are any updates regarding the DAVE app for XMC14xx POSIF Module.
Thanks.
XMC™
Dear XMC Dave-Development Team, Dear Jesus, I am using the generated code from DAVE, to compile it on my local Linux machine. The gcc version in Linux...
Show More
Dear XMC Dave-Development Team,
Dear Jesus,
I am using the generated code from DAVE, to compile it on my local Linux machine.
The gcc version in Linux is nitpicky about lowercase and uppercase in header naming,
therefor I would like to ask you if it's possible to fix following:
In "ETH_LWIP/eth_lwip.h" there is the include:
but the file is named
DAVE_Common.h
(Uppercase C)
The same in is in the file "ADC_MEASUREMENT/adc_measurement.h"
but the file is named
adc_measurement_extern.h
(all lowercase, instead like in the include)
As far as I remember, there are more spots, with a "" inclusion.
Would it be possible to Fix those in the upcoming DAVE-Library update ?
Best Regards,
Jakov
Show Less
Dear Jesus,
I am using the generated code from DAVE, to compile it on my local Linux machine.
The gcc version in Linux is nitpicky about lowercase and uppercase in header naming,
therefor I would like to ask you if it's possible to fix following:
In "ETH_LWIP/eth_lwip.h" there is the include:
#include
but the file is named
DAVE_Common.h
(Uppercase C)
The same in is in the file "ADC_MEASUREMENT/adc_measurement.h"
#include "ADC_MEASUREMENT_Extern.h"
but the file is named
adc_measurement_extern.h
(all lowercase, instead like in the include)
As far as I remember, there are more spots, with a "
Would it be possible to Fix those in the upcoming DAVE-Library update ?
Best Regards,
Jakov
XMC™
Hello, Is there any information available on XMC4700 internal RTC stability/drift with time and temperature ? I am trying to analyze stability of XMC4...
Show More
Hello,
Is there any information available on XMC4700 internal RTC stability/drift with time and temperature ?
I am trying to analyze stability of XMC4700 internal RTC. In order to do this testing, i have connected ST external RTC and internal XMC4700 RTC to same crystal source of 32.768 kHz. I
initialize both internal and external RTC 's to 0. Then my application accept PC time from the user and configure both RTC's as per PC time.
When i ran both RTC's for 45 mins, i could see internal XMC RTC was 16-21 secs ahead of PC time. When i ran this set up for 4 hrs, XMC rtc was 1 min 43 sec ahead
of PC time and external RTC time. Both the test cases were performed at room temperature.
Has anyone seen similar behavior of drifting with time with internal RTC ?
While configuring PC time in internal RTC i simply update register by calling XMC_RTC_SetTime function.
Is there any specific sequence do i need to follow ?
Any feedback is appreciated.
Thanks
Query1920 Show Less
Is there any information available on XMC4700 internal RTC stability/drift with time and temperature ?
I am trying to analyze stability of XMC4700 internal RTC. In order to do this testing, i have connected ST external RTC and internal XMC4700 RTC to same crystal source of 32.768 kHz. I
initialize both internal and external RTC 's to 0. Then my application accept PC time from the user and configure both RTC's as per PC time.
When i ran both RTC's for 45 mins, i could see internal XMC RTC was 16-21 secs ahead of PC time. When i ran this set up for 4 hrs, XMC rtc was 1 min 43 sec ahead
of PC time and external RTC time. Both the test cases were performed at room temperature.
Has anyone seen similar behavior of drifting with time with internal RTC ?
While configuring PC time in internal RTC i simply update register by calling XMC_RTC_SetTime function.
Is there any specific sequence do i need to follow ?
Any feedback is appreciated.
Thanks
Query1920 Show Less
XMC™
ARM's Cortex-M4 Devices Generic User Guide (sec 2.2.5) specifies an optional bit-banding feature.It is not mentioned in the Infineon XMC4500 reference...
Show More
ARM's Cortex-M4 Devices Generic User Guide (sec 2.2.5) specifies an optional bit-banding feature.
It is not mentioned in the Infineon XMC4500 reference manual. Does the XMC4500 support bit banding? Show Less
It is not mentioned in the Infineon XMC4500 reference manual. Does the XMC4500 support bit banding? Show Less
XMC™
Is there a Dave Example App detailing the command sequences for accessing (read/write) the internal flash of the XMC4500? Where can I find such an exa...
Show More
Is there a Dave Example App detailing the command sequences for accessing (read/write) the internal flash of the XMC4500? Where can I find such an example?
Thank you Show Less
Thank you Show Less
XMC™
Hi,Base on the XMC48_ECAT project,I open SSC to change some of the default parameters of the board.Vendor_ID I got from Beckhoff, Product_Code=1, Revi...
Show More
Hi,
Base on the XMC48_ECAT project,
I open SSC to change some of the default parameters of the board.
Vendor_ID I got from Beckhoff, Product_Code=1, Revision_Number=2 etc.
All files are generated, including XML with new values and the eeprom.h with new codes in the array.
But as soon as I run the program over Dave debugger, and connect the board to Twincat, I see the same values as before, just default ones.
It looks like the eeprom was not upload by Dave debug configuration.
How to do this? Show Less
Base on the XMC48_ECAT project,
I open SSC to change some of the default parameters of the board.
Vendor_ID I got from Beckhoff, Product_Code=1, Revision_Number=2 etc.
All files are generated, including XML with new values and the eeprom.h with new codes in the array.
But as soon as I run the program over Dave debugger, and connect the board to Twincat, I see the same values as before, just default ones.
It looks like the eeprom was not upload by Dave debug configuration.
How to do this? Show Less
XMC™
Hello team,I am using XMC4800 for uart communication, controlling a RS485 transceiver.I use the following function to enable the protocol event and co...
Show More
Hello team,
I am using XMC4800 for uart communication, controlling a RS485 transceiver.
I use the following function to enable the protocol event and connect to the SR4 in XMC_UART0_CH1.
/* Enabled protocol events */
const uint32_t UART_CONFIG_0_enabled_protocol_events = ((uint32_t)XMC_UART_CH_EVENT_FRAME_FINISHED);
/* Set the service request line for the Data Lost, Baud Rate Generator and UART protocol events */
XMC_USIC_CH_SetInterruptNodePointer(XMC_UART0_CH1, XMC_USIC_CH_INTERRUPT_NODE_POINTER_PROTOCOL, 4U);
/* Enable the UART protocol-specific events (PCR_ASCMode register) */
XMC_UART_CH_EnableEvent(XMC_UART0_CH1, UART_CONFIG_0_enabled_protocol_events);
for the interrupt I use interrupt APP and set as
#define UART1EndOfFrame IRQ_Hdlr_88
.node = (IRQn_Type)88,
.priority = 0,
The baudrate is 57600. The interrupt triggers but there is 60ms comparing the whole uart frame is less then 200 us.
There is no other interrupts besides CPU_CTRL_XMC4_0 with priority 0
Is there a reason for the 60ms delay? Show Less
I am using XMC4800 for uart communication, controlling a RS485 transceiver.
I use the following function to enable the protocol event and connect to the SR4 in XMC_UART0_CH1.
/* Enabled protocol events */
const uint32_t UART_CONFIG_0_enabled_protocol_events = ((uint32_t)XMC_UART_CH_EVENT_FRAME_FINISHED);
/* Set the service request line for the Data Lost, Baud Rate Generator and UART protocol events */
XMC_USIC_CH_SetInterruptNodePointer(XMC_UART0_CH1, XMC_USIC_CH_INTERRUPT_NODE_POINTER_PROTOCOL, 4U);
/* Enable the UART protocol-specific events (PCR_ASCMode register) */
XMC_UART_CH_EnableEvent(XMC_UART0_CH1, UART_CONFIG_0_enabled_protocol_events);
for the interrupt I use interrupt APP and set as
#define UART1EndOfFrame IRQ_Hdlr_88
.node = (IRQn_Type)88,
.priority = 0,
The baudrate is 57600. The interrupt triggers but there is 60ms comparing the whole uart frame is less then 200 us.
There is no other interrupts besides CPU_CTRL_XMC4_0 with priority 0
Is there a reason for the 60ms delay? Show Less
XMC™
Hi,I want to use the XMC1400 boot kit to analyze CAN Messages from 5 different nodes.Therefore I would need to create 5 Interrupts for 5 CAN Rx LMOs. ...
Show More
Hi,
I want to use the XMC1400 boot kit to analyze CAN Messages from 5 different nodes.
Therefore I would need to create 5 Interrupts for 5 CAN Rx LMOs. The XMC1400 only supports 4 HW Signal Connections to one Interrupt each (XMC1400 Reference Manual Chapter 18.6.4.4, I also get the hardware resource error).
What is the best way to bypass this limitation?
Brandon Show Less
I want to use the XMC1400 boot kit to analyze CAN Messages from 5 different nodes.
Therefore I would need to create 5 Interrupts for 5 CAN Rx LMOs. The XMC1400 only supports 4 HW Signal Connections to one Interrupt each (XMC1400 Reference Manual Chapter 18.6.4.4, I also get the hardware resource error).
What is the best way to bypass this limitation?
Brandon Show Less