XMC™ Forum Discussions
XMC™
Hi All,Recently the Infineon announced RGB LED Lighting Shield with XMC1202. On the corresponding web page: http://www.infineon.com/cms/en/product/promopages/Boards-for-Arduino/...
Show More
Hi All,
Recently the Infineon announced RGB LED Lighting Shield with XMC1202. On the corresponding web page: http://www.infineon.com/cms/en/product/promopages/Boards-for-Arduino/ there is code example how to use this shield with main Arduino board. Examples are provided for the Arduino Uno and XMC1100 boot kit. However this shield is populated with XMC1202 and debug interface for this chip is provided. Will also source code for this chip be provided? Or maybe DAVE apps lighting library has any example code useful for this board?
Kind regards, Show Less
Recently the Infineon announced RGB LED Lighting Shield with XMC1202. On the corresponding web page: http://www.infineon.com/cms/en/product/promopages/Boards-for-Arduino/ there is code example how to use this shield with main Arduino board. Examples are provided for the Arduino Uno and XMC1100 boot kit. However this shield is populated with XMC1202 and debug interface for this chip is provided. Will also source code for this chip be provided? Or maybe DAVE apps lighting library has any example code useful for this board?
Kind regards, Show Less
XMC™
Dear XMC community.I have a problem with SD Card Detection.I tried to detect SD card presence as described here. I've enabled SDCD in SDMCC003 App and...
Show More
Dear XMC community.
I have a problem with SD Card Detection.
I tried to detect SD card presence as described here.
I've enabled SDCD in SDMCC003 App and registered a callback function using SDMMC003_RegisterCallBack for card insertion/removing interrupt as described in SDMMC003.h.
As I could see in debugger these interrupts came permanently and with no dependency of real SD Card insertion/removing. What am I doing wrong?
Maybe I didn't get right how SDCD works because I don't understand sense of SDCD external pin signal. Is it output or input? Where should it be connected? Is it a dedicated pin? As I could see in DAVE it is.
The same question is SD status LED signal - is it dedicated or I can connect it to general purpose LED on Kit?
I'm using Relax Kit with XMC4500 EES-AA. Maybe this is a reason of problem? if yes what workaround could be done? I didn't see anything in XMC4500 Errata Sheets about my problem. Show Less
I have a problem with SD Card Detection.
I tried to detect SD card presence as described here.
I've enabled SDCD in SDMCC003 App and registered a callback function using SDMMC003_RegisterCallBack for card insertion/removing interrupt as described in SDMMC003.h.
As I could see in debugger these interrupts came permanently and with no dependency of real SD Card insertion/removing. What am I doing wrong?
Maybe I didn't get right how SDCD works because I don't understand sense of SDCD external pin signal. Is it output or input? Where should it be connected? Is it a dedicated pin? As I could see in DAVE it is.
The same question is SD status LED signal - is it dedicated or I can connect it to general purpose LED on Kit?
I'm using Relax Kit with XMC4500 EES-AA. Maybe this is a reason of problem? if yes what workaround could be done? I didn't see anything in XMC4500 Errata Sheets about my problem. Show Less
XMC™
Hi everybodyI was looking for a wifi card to connect to XMC4500 Application Kit serial port.I read the forum post (link http://www.infineonforums.com/threads/253-WEBSERVER001-Example-Code-Problems?...
Show More
Hi everybody
I was looking for a wifi card to connect to XMC4500 Application Kit serial port.
I read the forum post (link http://www.infineonforums.com/threads/253-WEBSERVER001-Example-Code-Problems?) but the card which the users speak about is no longer available on the ehitex.de website.
Is there any wifi chip on the market compatible with the XMC4500 that could help me?
Could you tell me an alternative solution?
Sorry for my poor english Show Less
I was looking for a wifi card to connect to XMC4500 Application Kit serial port.
I read the forum post (link http://www.infineonforums.com/threads/253-WEBSERVER001-Example-Code-Problems?) but the card which the users speak about is no longer available on the ehitex.de website.
Is there any wifi chip on the market compatible with the XMC4500 that could help me?
Could you tell me an alternative solution?
Sorry for my poor english Show Less
XMC™
Boot ROM (BROM)The Boot ROM memory contains the boot code and the exception vector table. The basic system initialization sequence code, also referred...
Show More
Boot ROM (BROM)
The Boot ROM memory contains the boot code and the exception vector table. The basic system initialization sequence code, also referred to as firmware, is executed immediately after reset release.
Flash memory
The Flash is for non volatile code or constant data storage. The single supply Flash module is programmable at production line end and in application via built-in erase and program commands. Read and write protection mechanism are offered.
The integrated cache provides an average performance boost factor of 3 in code execution compared to uncached execution. Show Less
The Boot ROM memory contains the boot code and the exception vector table. The basic system initialization sequence code, also referred to as firmware, is executed immediately after reset release.
Flash memory
The Flash is for non volatile code or constant data storage. The single supply Flash module is programmable at production line end and in application via built-in erase and program commands. Read and write protection mechanism are offered.
The integrated cache provides an average performance boost factor of 3 in code execution compared to uncached execution. Show Less
XMC™
Infineon Technologies AG announced its new XMC4800 series of 32-bit microcontrollers with on-chip EtherCAT® (Ethernet for Control Automation Technolog...
Show More
Infineon Technologies AG announced its new XMC4800 series of 32-bit microcontrollers with on-chip EtherCAT® (Ethernet for Control Automation Technology) node.
With its outstanding real-time capability the XMC4800 series will drive networked industrial automation and Industry 4.0 applications.
Infineon is the first semiconductor company to offer the EtherCAT node integrated on an ARM® Cortex®-M-based microcontroller with on-chip Flash and analog/mixed signal capability.
The XMC4800 series will comprise at least 18 members varying in memory capacity, temperature range and packaging.
All XMC4800 microcontrollers will be AEC Q100 qualified, making them also suited for use in commercial, construction and agricultural vehicles.
The XMC4800 series is a member of the XMC4000 family which uses the ARM® Cortex®-M4 processor and was specifically developed for use in the automation of manufacturing and buildings as well as electric drives and solar inverters.
Samples of the series XMC4800 with EtherCAT technology will be available in August 2015. Start of volume production is scheduled for Q1 2016.
Read the full press release here:
http://bit.ly/XMC4800_PressRelease
For more information on XMC4800 and EtherCAT®:
With its outstanding real-time capability the XMC4800 series will drive networked industrial automation and Industry 4.0 applications.
Infineon is the first semiconductor company to offer the EtherCAT node integrated on an ARM® Cortex®-M-based microcontroller with on-chip Flash and analog/mixed signal capability.
The XMC4800 series will comprise at least 18 members varying in memory capacity, temperature range and packaging.
All XMC4800 microcontrollers will be AEC Q100 qualified, making them also suited for use in commercial, construction and agricultural vehicles.
The XMC4800 series is a member of the XMC4000 family which uses the ARM® Cortex®-M4 processor and was specifically developed for use in the automation of manufacturing and buildings as well as electric drives and solar inverters.
Samples of the series XMC4800 with EtherCAT technology will be available in August 2015. Start of volume production is scheduled for Q1 2016.
Read the full press release here:
http://bit.ly/XMC4800_PressRelease
For more information on XMC4800 and EtherCAT®:
- XMC4800 Product Website www.infineon.com/xmc4800
- XMC4800 Press Briefing http://bit.ly/XMC4800_PressBriefing
- XMC4800 Product Brief http://bit.ly/XMC4800_ProductBrief
- EtherCAT® Technology Group www.ethercat.org
XMC™
Hi, How to use the XMClib to program the XMC44 Posif peripheral. I want to use the posif in the encoder mode, with phase A, phase B and index inputs ...
Show More
Hi,
How to use the XMClib to program the XMC44 Posif peripheral. I want to use the posif in the encoder mode, with phase A, phase B and index inputs and capture the position count and velocity.
Ari. Show Less
How to use the XMClib to program the XMC44 Posif peripheral. I want to use the posif in the encoder mode, with phase A, phase B and index inputs and capture the position count and velocity.
Ari. Show Less
XMC™
Hello again,Our prototype is at customers site and is under test and measurement. But we have been informed about the following issue. The customer ha...
Show More
Hello again,
Our prototype is at customers site and is under test and measurement. But we have been informed about the following issue. The customer has a DMX console which is quite old, with these sliding potentiometers and 48 channels or something. He claims that the DMX is not working. He sent some pictures from his oscilloscope and I noticed that after the last byte the line remain high, the break and MAB fields are ok but I don't know why the DMX application is not working, the callback is not called?! Is it possible this to be because I need all 512 bytes?! 512th slot has an application specific purpose... Please suggest how to solve this. Fortunately the customer uses the analogue inputs to test and measure the lightning device but the main command will be through DMX.
Thanks Show Less
Our prototype is at customers site and is under test and measurement. But we have been informed about the following issue. The customer has a DMX console which is quite old, with these sliding potentiometers and 48 channels or something. He claims that the DMX is not working. He sent some pictures from his oscilloscope and I noticed that after the last byte the line remain high, the break and MAB fields are ok but I don't know why the DMX application is not working, the callback is not called?! Is it possible this to be because I need all 512 bytes?! 512th slot has an application specific purpose... Please suggest how to solve this. Fortunately the customer uses the analogue inputs to test and measure the lightning device but the main command will be through DMX.
Thanks Show Less
XMC™
Emtas released the first version of the CANopen driver package using Infineon’s DAVE™ (version 4) for the CANopen protocol stack implementing CiA 301 ...
Show More
Emtas released the first version of the CANopen driver package using Infineon’s DAVE™ (version 4) for the CANopen protocol stack implementing CiA 301 version 4.2.
The CANopen driver supports all members of the XMC4000 Microcontroller portfolio ranging from XMC4108 to XMC4500 with a MultiCAN module that offers up to three CAN nodes with up to 64 message objects.
The new release of emtas CANopen driver and protocol stack ensures flexible and configurable use of the CANopen protocol in Full CAN mode, Basic CAN mode, or Basic CAN mode with hardware RX FIFO. It is implemented MISRA-C conform according to the latest CiA communication profile 301 V4.2 for classic CAN and NMT master functionality following CiA 302-2 including CiA 305 LSS services.
It is well suited to develop devices following the CiA device profiles and for Energybus products. The CANopen development process is supported by tools to generate the object dictionary and test tools for automated device tests.
View the full article here:
http://bit.ly/emtas_CANopen
For more information:
http://www.emtas.de/en
http://www.emtas.de/partner/infineon
www.infineon.com/xmc
www.infineon.com/dave Show Less
The CANopen driver supports all members of the XMC4000 Microcontroller portfolio ranging from XMC4108 to XMC4500 with a MultiCAN module that offers up to three CAN nodes with up to 64 message objects.
The new release of emtas CANopen driver and protocol stack ensures flexible and configurable use of the CANopen protocol in Full CAN mode, Basic CAN mode, or Basic CAN mode with hardware RX FIFO. It is implemented MISRA-C conform according to the latest CiA communication profile 301 V4.2 for classic CAN and NMT master functionality following CiA 302-2 including CiA 305 LSS services.
It is well suited to develop devices following the CiA device profiles and for Energybus products. The CANopen development process is supported by tools to generate the object dictionary and test tools for automated device tests.
View the full article here:
http://bit.ly/emtas_CANopen
For more information:
http://www.emtas.de/en
http://www.emtas.de/partner/infineon
www.infineon.com/xmc
www.infineon.com/dave Show Less
XMC™
Hi,I'm currently trying to use the initial version of the XMC_Peripheral_Library_v1.0.0 specifically the usb device driver. In order to initalize the ...
Show More
Hi,
I'm currently trying to use the initial version of the XMC_Peripheral_Library_v1.0.0 specifically the usb device driver. In order to initalize the USB device it is necessary to fill an USB Device Initialization Structure XMC_USBD_t. The first member of this structure is USB0_GLOBAL_TypeDef *const usbd and is registered as a read-only member. So if I'm trying to fill this member with the USB Module Base Address it triggers a compiler error because I'm trying to write to a read-only member. Could that be a bug or do I need to call another function first which fills this structure with default values? Furthermore if I delete the const keyword for this member and I store the USB Base Module Address in it and I call the XMC_USBD_Init() function the 32-bit Base Address is stored in a variable called XMC_USBD_BASE_ADDRESS which is a uint8_t *. Shouldn't the datatype for the variable XMC_USBD_BASE_ADDRESS be a uint32_t *?
Code snippets:
USER_APP:
XMC_USBD_t usb_config;
usb_config.usbd = (USB0_GLOBAL_TypeDef const *)USB0;
usb_config.cb_xmc_device_event = NULL;
usb_config.cb_endpoint_event = NULL;
usb_config.usbd_max_num_eps = XMC_USBD_MAX_NUM_EPS_1;
usb_config.usbd_transfer_mode = XMC_USBD_USE_DMA;
XMC_USBD_Init(&usb_config);
XMC_USBD (c-file):
uint8_t *XMC_USBD_BASE_ADDRESS;
XMC_USBD_BASE_ADDRESS = (uint8_t *)(obj->usbd);
xmc_device.global_register = (dwc_otg_core_global_regs_t*)(obj->usbd);
XMC_USBD (h-file):
typedef struct XMC_USBD_OBJ
{
USB0_GLOBAL_TypeDef *const usbd; /**< USB Module Pointer. The USB0 module base address. */
XMC_USBD_SignalDeviceEvent_t cb_xmc_device_event; /**< USB device event callback. Use ::XMC_USBD_SignalDeviceEvent_t type of function pointer. */
XMC_USBD_SignalEndpointEvent_t cb_endpoint_event; /**< USB endpoint event callback. Use ::XMC_USBD_SignalEndpointEvent_t type of function pointer.*/
XMC_USBD_MAX_NUM_EPS_t usbd_max_num_eps; /**< Maximum number of end points used. The maximum range can be 7.*/
XMC_USBD_TRANSFER_MODE_t usbd_transfer_mode; /**< USB data transfer mode.Use ::XMC_USBD_TRANSFER_MODE_t type to specify the transfer mode. */
} XMC_USBD_t;
Thanks,
Roman Show Less
I'm currently trying to use the initial version of the XMC_Peripheral_Library_v1.0.0 specifically the usb device driver. In order to initalize the USB device it is necessary to fill an USB Device Initialization Structure XMC_USBD_t. The first member of this structure is USB0_GLOBAL_TypeDef *const usbd and is registered as a read-only member. So if I'm trying to fill this member with the USB Module Base Address it triggers a compiler error because I'm trying to write to a read-only member. Could that be a bug or do I need to call another function first which fills this structure with default values? Furthermore if I delete the const keyword for this member and I store the USB Base Module Address in it and I call the XMC_USBD_Init() function the 32-bit Base Address is stored in a variable called XMC_USBD_BASE_ADDRESS which is a uint8_t *. Shouldn't the datatype for the variable XMC_USBD_BASE_ADDRESS be a uint32_t *?
Code snippets:
USER_APP:
XMC_USBD_t usb_config;
usb_config.usbd = (USB0_GLOBAL_TypeDef const *)USB0;
usb_config.cb_xmc_device_event = NULL;
usb_config.cb_endpoint_event = NULL;
usb_config.usbd_max_num_eps = XMC_USBD_MAX_NUM_EPS_1;
usb_config.usbd_transfer_mode = XMC_USBD_USE_DMA;
XMC_USBD_Init(&usb_config);
XMC_USBD (c-file):
uint8_t *XMC_USBD_BASE_ADDRESS;
XMC_USBD_BASE_ADDRESS = (uint8_t *)(obj->usbd);
xmc_device.global_register = (dwc_otg_core_global_regs_t*)(obj->usbd);
XMC_USBD (h-file):
typedef struct XMC_USBD_OBJ
{
USB0_GLOBAL_TypeDef *const usbd; /**< USB Module Pointer. The USB0 module base address. */
XMC_USBD_SignalDeviceEvent_t cb_xmc_device_event; /**< USB device event callback. Use ::XMC_USBD_SignalDeviceEvent_t type of function pointer. */
XMC_USBD_SignalEndpointEvent_t cb_endpoint_event; /**< USB endpoint event callback. Use ::XMC_USBD_SignalEndpointEvent_t type of function pointer.*/
XMC_USBD_MAX_NUM_EPS_t usbd_max_num_eps; /**< Maximum number of end points used. The maximum range can be 7.*/
XMC_USBD_TRANSFER_MODE_t usbd_transfer_mode; /**< USB data transfer mode.Use ::XMC_USBD_TRANSFER_MODE_t type to specify the transfer mode. */
} XMC_USBD_t;
Thanks,
Roman Show Less
XMC™
Hi All,I have a problem to output the correct PWM signal when set duty cycle as 100%.In my program, I set the PWM duty cyle as 100%, 100%, 100%, 80%, ...
Show More
Hi All,
I have a problem to output the correct PWM signal when set duty cycle as 100%.
In my program, I set the PWM duty cyle as 100%, 100%, 100%, 80%, 50%, 25%, 100%......, the period value is 250us, all the compare values are updated only at the One match event.
From the scope, I can see the PWM signal with duty cycle 80% (after the signal of duty cycle 100%) is not symmetrical,
I assume the correct PWM signal should be the one shown in second picture.
Could someone please give me some suggestions? Thanks a lot.
Show Less
I have a problem to output the correct PWM signal when set duty cycle as 100%.
In my program, I set the PWM duty cyle as 100%, 100%, 100%, 80%, 50%, 25%, 100%......, the period value is 250us, all the compare values are updated only at the One match event.
From the scope, I can see the PWM signal with duty cycle 80% (after the signal of duty cycle 100%) is not symmetrical,
I assume the correct PWM signal should be the one shown in second picture.
Could someone please give me some suggestions? Thanks a lot.
Show Less