XMC™ Forum Discussions
hi, we want to utilize (run) both cores for execution (i.e. cm7_0 and cm7_1) in xmc 7200, currently only one cm7_0 is being utilized as default.
Is there any code available for it.
regards
Show LessHello all!
I am considering writing my top level application for an XMC based project using C++. I couldn't confirm in the docs, but it seems like the XMC BSP and HAL libraries should be callable from C++. Can anyone confirm from the Infineon side?
Show LessHello folks,
we use a bootloader which eventually jumps to application code using Alternate Boot Mode (ABM) headers.
My jump code (in bootloader) looks like this:
/* jump to application */
SCU_RESET->RSTCLR = 1 << SCU_RESET_RSTCLR_RSCLR_Pos; /* clear latest reset reason (otherwise debugger will fail) */
SCU_GENERAL->STCON = BOOTLOAD_START_APP << SCU_GENERAL_STCON_SWCON_Pos; /* set boot mode to use Alternate Boot Mode 1 (=application) */
/* ensure completion of outstanding memory accesses before reset */
__DSB();
SCB->AIRCR = 0x5FAU << SCB_AIRCR_VECTKEY_Pos
| 1U << SCB_AIRCR_SYSRESETREQ_Pos;
__DSB();
for(;;) {
/* wait until reset */
__asm volatile ("nop");
}
In every code example I see that the reset reason is cleared. This prevents me from checking the reset reason in application level. If I take out the line SCU_RESET->RSTCLR ..., application will not start.
Is there a way to retain the reset reason, e.g. by writing to a non-volatile in-chip memory, which is retained over system reset?
BR,
Paul
Show LessHello all!
I am working with Modustoolbox for an XMC7200 chip and I'm encountering a weird build error.
I'm have installed Modustoolbox on a ubuntu-22.04 linux system, generated a project and I am trying to build it using the supplied makefile. When I attempt to do the build, I get the following error from mtbquerty complaining about libQT6XmlPatterns.so.5.
make build
Tools Directory: /opt/ModusToolbox/tools_3.0
Searching installed tools in progress...
/opt/ModusToolbox/tools_3.0/mtbquery/bin/mtbquery: error while loading shared libraries: libQt5XmlPatterns.so.5: cannot open shared object file: No such file or directory
/opt/ModusToolbox/tools_3.0/make/core_version3/query-v3.mk:68: *** Searching installed tools failed with error code: 127. Stop.
I have tried checking that that the .so file does indeed exist, and reinstalling it in every which way.
Has anyone seen this before? Any suggestions for how to debug it?
Show LessHello,
I have a XMC 470 Relax Kit which I'm trying to communicate with over I2C. As Dave 4.5 suggested I'm using Pin 5.2 as SCL and 5.0 as SDA.
Code looks like this:
status = DAVE_Init();
if(status == DAVE_STATUS_SUCCESS)
{
XMC_DEBUG("DAVE Apps initialization success\n");
I2C_MASTER_Transmit(&I2C_MASTER_0,true,I2C_ADDR,&i2c_data,1,false);
while(tx_completion_0 == 0);
tx_completion_0 = 0;
}
Init is successful and then he stays in the loop. Measured with an Oscilloscope, the SCL and SDA Pins just staying high (due to 4.7kOhm pull up resistors).
Are these Pins allowed? I could't find anything in the datasheet.
Any help would be great.
All the best,
Simon
Show LessHi, I was practicing some logics for my project over xmc4800 relax ethercat kit.
The problem I am facing is of i2c display. There is no way to display text over i2c on 128X32 ssd1306 oled display.
I am using dave ide platform. Can you pl give library function and code to display over oled display.
Hi,
Can you please double check what is the MPN (Manufacturer Part Number) for the transformers L101 and L151 for the new "XMC™ EtherCAT Phy Board Schematic: Input and Output Phy (see Revision 1.4)". The schematic is on the page 23 of the document on below link. It's the schematic sheet name XMC_ECAT_PG-V2.1.
I'd guess it's the same MPN HX1260NL of the revision 1.3 at the page 21, but would like to confirm as the Ethercat PHY is different.
Best Regards,
Marcelo Macedo
Show LessWe have used Infineon DALI software stack as the base for our project and we have our own custom hardware using XMC1302 chip. The device was recently sent to a test house to be tested against DALI requirements and we figured out that the DALI communication is not very reliable and has some unexpected behavior. The bit timing test (12.3.11) also failed. We have not modified the Infineon DALI XVR code (the software driver) but we have added some other DALI parts.
We are trying to figure out if this is a hardware or software issue. How reliable is the DALI software driver? Has the DALI XVR code been DiiA-certified?
Do you have any recommendations on what we should look into?
Show LessHello,
I would like to confirm about DALI library.
I found "DALICG_AX209.c" and "DALICG_AX207.c" in the files downloaded from URL below.
Does this library now support IEC 62386-207 and IEC 62386-209?
If not yet, I would like to know the update plan.
Regards,
Show LessI have a IM69D130 Microphone Shield2Go board attached to a XMC 2Go. Using the Arduino IDE, when I compile and download the 'sampleReadyWave' file, it compiles okay, but ends with:
Failed uploading: cannot execute upload tool: exec: "java": executable file not found in %PATH%
I have installed DAVE and the J-Link drivers as instructed.
I know the microUSB cable is okay becasue the XMC 2Go start-up program works and sends messages back to the Arduino monitor.
Show Less