XMC™ Forum Discussions
XMC™
I am using a XMC4200 as the mcu for three other chips. My question is how can I program the mcu? Is there a loading tool? I am currently reading the d...
Show More
I am using a XMC4200 as the mcu for three other chips. My question is how can I program the mcu? Is there a loading tool? I am currently reading the datasheet for the kit_xmc_link_segger_v1 but I am a little bit confused as to weather this is even the correct option.
If anyone is familiar with this and could point me out in the right direction I would be very thankful. Show Less
If anyone is familiar with this and could point me out in the right direction I would be very thankful. Show Less
XMC™
From the example projects I was able to load xmc4500_relaxkit_lwip_httpserver_netconn but it isn't the project that is described in the video that has...
Show More
From the example projects I was able to load xmc4500_relaxkit_lwip_httpserver_netconn but it isn't the project that
is described in the video that has the button on the web page to control the led. I would like to see how to
communicate from a .html web page to the analogs and digital bits. Is there a way to get the webserver application
described in the video? Show Less
is described in the video that has the button on the web page to control the led. I would like to see how to
communicate from a .html web page to the analogs and digital bits. Is there a way to get the webserver application
described in the video? Show Less
XMC™
Hi.How can i configure a xmc1400 as can gateway with DAVE4?FIrst i try to use two CAN_NODE app's, configure each CAN-Node Message object's as TX objec...
Show More
Hi.
How can i configure a xmc1400 as can gateway with DAVE4?
FIrst i try to use two CAN_NODE app's,
configure each CAN-Node Message object's as TX object and send a frame, to test the physical connection.
That works on both CAN-Nodes 🙂
Than i configure:
CAN-Node1 Message-Object LMO_01 as RX object (Ext_29bit, Accept Std_Ext, Mask:0 to receive all frames)
CAN-Node0 Message-Object LMO_01 as TX object ( (Ext_29bit, Accept Std_Ext)
To activate the gateway function, i place in main.c after DAVE_Init() two API calls:
XMC_CAN_GATEWAY_InitSourceObject( CAN_NODE_1.lmobj_ptr[0] , can_gatewaySource);
XMC_CAN_GATEWAY_InitDesObject( CAN_NODE_0.lmobj_ptr[0] );
But the Gateway doesn't work.....
I try the gateway config with:
XMC_CAN_GATEWAY_CONFIG_t can_gatewaySource =
{
0, //bot
0, //top
0, //base
true,
true,
true,
true
} ;
Also i try as bot,top,base: 1,1,1 / 19,19,19 / 17,17,17 without a working gateway.
What is missed?
The second try is to use the multican_config app.
In this
i configure LMO_0 to List2 (Node1) as RX and Gateway source object; Copy all to destination; Mask 0.....
i configure LMO_1 to List1 (Node0) as TX and Gateway destination object (MMC: Standard message object)
Because NO MANUAL PIN Allocator is available for the CAN-RX/TX-Pin's (is this a bug or feature?)
i change the PIN config in multican_config_conf.c to XMC_CAN_NODE_RECEIVE_INPUT_RXDCG for NODE0 and XMC_CAN_NODE_RECEIVE_INPUT_RXDCC for NODE1
and the gateway isn't working!
In this config, no acknowledge is possible on the RX-Node1.
So i try to configure the Port Pins manualy to Output after Dave_Init() :
XMC_GPIO_Init(XMC_GPIO_PORT1, 1,&config_out); // G
XMC_GPIO_Init(XMC_GPIO_PORT4, 9,&config_out); // C
but the Gateway isn't working....
What is wrong? Show Less
How can i configure a xmc1400 as can gateway with DAVE4?
FIrst i try to use two CAN_NODE app's,
configure each CAN-Node Message object's as TX object and send a frame, to test the physical connection.
That works on both CAN-Nodes 🙂
Than i configure:
CAN-Node1 Message-Object LMO_01 as RX object (Ext_29bit, Accept Std_Ext, Mask:0 to receive all frames)
CAN-Node0 Message-Object LMO_01 as TX object ( (Ext_29bit, Accept Std_Ext)
To activate the gateway function, i place in main.c after DAVE_Init() two API calls:
XMC_CAN_GATEWAY_InitSourceObject( CAN_NODE_1.lmobj_ptr[0] , can_gatewaySource);
XMC_CAN_GATEWAY_InitDesObject( CAN_NODE_0.lmobj_ptr[0] );
But the Gateway doesn't work.....
I try the gateway config with:
XMC_CAN_GATEWAY_CONFIG_t can_gatewaySource =
{
0, //bot
0, //top
0, //base
true,
true,
true,
true
} ;
Also i try as bot,top,base: 1,1,1 / 19,19,19 / 17,17,17 without a working gateway.
What is missed?
The second try is to use the multican_config app.
In this
i configure LMO_0 to List2 (Node1) as RX and Gateway source object; Copy all to destination; Mask 0.....
i configure LMO_1 to List1 (Node0) as TX and Gateway destination object (MMC: Standard message object)
Because NO MANUAL PIN Allocator is available for the CAN-RX/TX-Pin's (is this a bug or feature?)
i change the PIN config in multican_config_conf.c to XMC_CAN_NODE_RECEIVE_INPUT_RXDCG for NODE0 and XMC_CAN_NODE_RECEIVE_INPUT_RXDCC for NODE1
and the gateway isn't working!
In this config, no acknowledge is possible on the RX-Node1.
So i try to configure the Port Pins manualy to Output after Dave_Init() :
XMC_GPIO_Init(XMC_GPIO_PORT1, 1,&config_out); // G
XMC_GPIO_Init(XMC_GPIO_PORT4, 9,&config_out); // C
but the Gateway isn't working....
What is wrong? Show Less
XMC™
Hello, I have a XMC4800 Relax kit and I'd like to enter in hibernate mode in order to make power saving, but without success.My goal is enter in hiber...
Show More
Hello, I have a XMC4800 Relax kit and I'd like to enter in hibernate mode in order to make power saving, but without success.
My goal is enter in hibernate mode and wakeup the XMC from the alarm of the internal RTC.
Bottom there is a part of my test, there is anything wrong because xmc4800 don't enter in hibernate mode..
can you help me?
Thank You
XMC_SCU_CLOCK_EnableLowPowerOscillator();
XMC_SCU_HIB_SetRtcClockSource(XMC_SCU_HIB_RTCCLKSRC_OSI);
XMC_RTC_Init(&rtc_config); // contains alarm settings
XMC_RTC_SetTime(&rtc_time);
XMC_RTC_EnableHibernationWakeUp(XMC_RTC_WAKEUP_EVENT_ON_ALARM);
XMC_SCU_HIB_ClearEventStatus(XMC_SCU_HIB_EVENT_WAKEUP_ON_RTC);
XMC_SCU_HIB_EnableEvent(XMC_SCU_HIB_EVENT_WAKEUP_ON_RTC);
XMC_SCU_RESET_ClearDeviceResetReason();
XMC_SCU_HIB_ClearWakeupEventDetectionStatus();
XMC_RTC_Start();
XMC_SCU_HIB_EnterHibernateState();
while(1); Show Less
My goal is enter in hibernate mode and wakeup the XMC from the alarm of the internal RTC.
Bottom there is a part of my test, there is anything wrong because xmc4800 don't enter in hibernate mode..
can you help me?
Thank You
XMC_SCU_CLOCK_EnableLowPowerOscillator();
XMC_SCU_HIB_SetRtcClockSource(XMC_SCU_HIB_RTCCLKSRC_OSI);
XMC_RTC_Init(&rtc_config); // contains alarm settings
XMC_RTC_SetTime(&rtc_time);
XMC_RTC_EnableHibernationWakeUp(XMC_RTC_WAKEUP_EVENT_ON_ALARM);
XMC_SCU_HIB_ClearEventStatus(XMC_SCU_HIB_EVENT_WAKEUP_ON_RTC);
XMC_SCU_HIB_EnableEvent(XMC_SCU_HIB_EVENT_WAKEUP_ON_RTC);
XMC_SCU_RESET_ClearDeviceResetReason();
XMC_SCU_HIB_ClearWakeupEventDetectionStatus();
XMC_RTC_Start();
XMC_SCU_HIB_EnterHibernateState();
while(1); Show Less
XMC™
Hi,ERU will detect the HighZ->1 changes when programmed to catch rising edge?If a GPIO pin programmed for input it is in HighZ?So when I connect 5V to...
Show More
Hi,
ERU will detect the HighZ->1 changes when programmed to catch rising edge?
If a GPIO pin programmed for input it is in HighZ?
So when I connect 5V to an input pin (with time controlled switch) and ERU programmed to detect rising edge, ERU will catch this change? Show Less
ERU will detect the HighZ->1 changes when programmed to catch rising edge?
If a GPIO pin programmed for input it is in HighZ?
So when I connect 5V to an input pin (with time controlled switch) and ERU programmed to detect rising edge, ERU will catch this change? Show Less
XMC™
Why is it happening that UART of XMC1302 not working beyond 19200 baud? I am using UART App version 1.0.24.
XMC™
I am getting CRC execution time of 5 ms using CRC001 App version 1.0.16. I need to reduce it as much as possible (less than 1 ms). My data is 16 bit a...
Show More
I am getting CRC execution time of 5 ms using CRC001 App version 1.0.16. I need to reduce it as much as possible (less than 1 ms). My data is 16 bit and I am using the default app configurations.
Show Less
XMC™
Hello to all,anyone can suggest to me how to connect these pins: VBUS, USB_D- USB_D+, when the USB is not used? It is necessary leaving the pins open ...
Show More
Hello to all,
anyone can suggest to me how to connect these pins: VBUS, USB_D- USB_D+, when the USB is not used? It is necessary leaving the pins open o connected to Vdd or to ground?
In addition can you confirm me that the unused I/O pins can be left open?
thanks in advance,
Emanuele Show Less
anyone can suggest to me how to connect these pins: VBUS, USB_D- USB_D+, when the USB is not used? It is necessary leaving the pins open o connected to Vdd or to ground?
In addition can you confirm me that the unused I/O pins can be left open?
thanks in advance,
Emanuele Show Less
XMC™
Hi,I have deleted some projects from the project explorer. They are still in the workspace, how can I reload them? I have tried import, but those dele...
Show More
Hi,
I have deleted some projects from the project explorer. They are still in the workspace, how can I reload them?
I have tried import, but those deleted projects are not available for selection. Show Less
I have deleted some projects from the project explorer. They are still in the workspace, how can I reload them?
I have tried import, but those deleted projects are not available for selection. Show Less
XMC™
Hi, I hava a XMC4700 relax kit for 5V shields. I know that DAVE and Arduino use diffent linguages. Is there a way to import Arduino's codes and librer...
Show More
Hi, I hava a XMC4700 relax kit for 5V shields. I know that DAVE and Arduino use diffent linguages.
Is there a way to import Arduino's codes and libreries to my XMC?
Thank you! Show Less
Is there a way to import Arduino's codes and libreries to my XMC?
Thank you! Show Less