XMC™ Forum Discussions
Hi, we are developing a DALI driver using the Infineon DALI-2 stack and XMC1302 with 38 pins. We want it to have the following device types: 1, 6, 50, 51, and 52 (parts 202, 207, 251, 252, 253). I know that we need to calculate stuff like RMS voltage, power, and so on. We would also want to have a very basic bootloader for firmware upgrades with one bank.
What flash size is usually recommended for such DALI-2 devices? Our purchase team is insisting on getting a 64 KB flash and thinks it is a lot of space. I have been working on the project for a while now and the code size alone is around 50 KB already, so I think we need more than 64. I would really appreciate it if someone could give me insight based on their experience with the DALI-2 stack.Show Less
I have an XMC4800 Automation Board and I want to locate some arrays inside the external SDRAM . For this purpose, I tried to define SDRAM section in the linker script and use it via sections attribute similar to following example:
My main code :
uint32_t dummyVar __attribute__((section("externalSdramSection"))) = 0xA5A5A5A5;
uint32_t addFirst = &dummyVar;
Here, "XMC4800_SDRAM_Config();" function configures EBU pins as it is done in the following example:
I also added:
.externalSdramSegment 0x60000000 :
terms into the SECTIONS of linker script. However it did not work. How can I use external SDRAM the way I stated above? This question is asked in this forum for number of times but unfortunately I couldn't find any answer that helps me.Show Less
I use an XMC4500 processor
I have a UART configured to 9 bit with 1382400 baud rate.
When I receive a certain command, I go to update firmware for other card that is connected to my card (remote burning using BSL mode), For this process I need an 8 bit UART with a different baud rate.
For that, I want to change during runtime the UART to 8 bit with a different baud rate, and when I finish the burning process return back to 9 bit.
Is there a way to do this?
Thanks YehuditShow Less
We are using first time of XMC1403Q040X0200AAXUMA1 MCU and we have doubt in programming port to design in schematics. Can I get any reference design and ports need to be selected for designing purpose.Show Less
I tried to change my XMC1404 BMI mode from ASC_BSL to UserDebug (SWD0). I implement ASCBootstrap Loader Flow for change BM value. But It seems that my device BMI value is corrupted after i tried to change BMI value. After that i can't connect XMC1404 anymore .Then I use "xmcFlasher" Program to change BMI but it doesn't work. I can't get or set BMI and connect my device with xmcFlashler.
XmcFlasher logs when i tried to set BMI value (XMCFlasher.DebuggerExceptions: Unknown BMI mode)
XmcFlasher logs when i tried to get BMI value (XMCFlasher.DebuggerExceptions: Error get BMI value)
I also used SEGGER J-Link Commander to set and get BMI command but it doesn't work.
SEGGER J-Link Commander Error Log when i use getBMI option : Current BMI mode: Error, ErrorCode: -262
SEGGER J-Link Commander Error Log Error when i use setBMI option: Setting BMI mode 2... Failed. ErrorCode: -262
(Note: Sometimes ErrorCode can be -1)
Finally i tried SEGGER J-FlashLite to erase the device memory but it also doesn't work because I can't connect target xmc1404.
Shortly, my problem is my xmc1404 has unknown BMI value and I also couldn't connect the device . How can I restore BMI mode of my device? Or is it possible to connect my device with unknown BMI mode?
Thank you for your help,
When I open the XMC Flasher software, A Java has occurred prompt pops up. My computer system is win10, and the JAVA version is 12.0.2. How can I solve this problem?
I've been working on XMC support for Zephyr RTOS.
Quite a lot of patches have already been merged. But I have some patches that need reviews:
Would appreciate if someone in these forums could look over the pull requests. I need some LGTM comments so that the patches are merged!
I'm using the ETHCAT_SSC_XMC48 example and I tried to add the FATFS app and used code from the FATFS example project. Unfortunately, f_open only returns XMC_SDMMC_CMD_TIMEOUT_ERR, no matter what I do. SD mode, SPI mode, configuration shuffling, nothing works, I either get the same timeout error or I get a hard fault. DAVE APP validates the configuration but there is clearly something wrong with the resource usage. The FATFS example and the ETHCAT example both work fine in their own projects.Show Less
When I created APP SPI MASTER, I found that the page of parameters configured in SPI was not fully displayed. What is the reason? I used DAVE 4.. 2.2, WIN10 64BIT, APP SPI 4.3.30. Thanks.