XMC™ Forum Discussions
text.format{('custom.tabs.no.results')}
Hi, I have a question about DC-Link Capacitor for PMSM, How to calculate the volume of the DC-Link Capacitor for PMSM? For example the DC-Link Voltage is 85V, the MAX current of PMSM is 300A, the delta Voltage is 2.5%*85V,the switching frequency is 10KHZ.
Show Less各位前輩
目前我使用XMC1400的I2C功能讀寫SDP810-500
有找到XMC1300的I2C範例
將腳位改成P4.4/ P4.5
但執行時發生異常
附上我目前編寫的專案程式
請前輩指點一下
Hi Team,
in XMC4000 series, i wanted to know the difference between period and period value and compare and compare value. from the figure below.
As i have calculated for 120MHz frequency and 30%duty the period value is 1200(1200-1) and compreg is 840. on the other side PV is 833 and CV is 250. i am not able to corelate these value.
Thanks,
Gargi
Show Lessxmc4800 ethercat 如何用ssc工具配置SDO对象字典?生成的excel表格如何配置SDO?
你好,
我正在使用DAVE驱动电机,代码里有单采样、双采样、三采样,我不想为所有的采样都配置ADC外设,我想要实现:设定一个标志位,通过标志位决定采样方式,并且决定使用的APP配置。如果我使用了单采样,那么APP配置一个ADC电流采样;如果我使用双采样,那么APP配置两个ADC电流采样;如果我使用三采样,那么APP配置三个ADC电流采样。
DAVE有这样的功能吗?
Show LessHello,
I'm using XMCFlasher.bat with an XMC Link to program an XMC 1403 microcontroller. When the following command is executed to set the BMI, the program hangs and must be terminated. The programming of the BMI is actually successful, as it can be read back correctly with the XMCFlasher GUI.
XMCFlasher.bat -d XMC1403-0064 -setBMI UM_DEBUG_SWD0
Please let me know if and how I can provide any useful debugging information.
Thanks.
Show LessI used example ETHCAT_FWUPDATE_SSC_APPLICATION_XMC48 to be able to update my Application on an XMC4300 via EtherCat.
My application started with the following Flash setting:
- 1. first 64kB for Bootloader (0x0C000000 -0x0C010000)
- 2. second 64kB for ErtherCatEEPROM (0x0C010000 -0x0C020000)
- 3. APP Code from 0x0C020000 -0x0C035000
- 4. Backup Buffer 0x0C035000 -0x0C040000
If I try set Bootloader in the first first 16kB or also 32kB its not working anymore. I changed following things: (for Bootloader size of 32kB)
- linker_script.ld : memory and ABM Header Position
- MEMORY
{
/* FLASH_1_cached(RX) : ORIGIN = 0x08000000, LENGTH = 0x000010000 */
/* FLASH_1_uncached(RX) : ORIGIN = 0x0C000000, LENGTH = 0x000010000*/
FLASH_1_cached(RX) : ORIGIN = 0x08000000, LENGTH = 0x000008000
FLASH_1_uncached(RX) : ORIGIN = 0x0C000000, LENGTH = 0x000008000
PSRAM_1(!RX) : ORIGIN = 0x1FFF0000, LENGTH = 0x10000
DSRAM_1_system(!RX) : ORIGIN = 0x20000000, LENGTH = 0x10000
SRAM_combined(!RX) : ORIGIN = 0x1FFF0000, LENGTH = 0x00020000
} - /* http://mcuoneclipse.com/2012/11/01/defining-variables-at-absolute-addresses-with-gcc/ */
/*.abm ABSOLUTE(0x0800FFE0): AT(0x0800FFE0 | 0x04000000)*/
.abm ABSOLUTE(0x08007FE0): AT(0x08007FE0 | 0x04000000)
{
KEEP(*(.flash_abm))
} > FLASH_1_cached
- MEMORY
- reduced the #defines for the max size of Code
for example : #define APP_PARTITION_MAX_SIZE (128 * 1024) - Did not chang App Code position or Backup
What could be the problem ? Show Less
Hello, I have been experiencing the distance2go development board recently, and I have had some problems, such as how to read the signal using the uart port of the distance2go Development board, what is the baud rate, how to set it, and how to burn the program using the UART port.
Show Less