I want to use the XMC family of microcontrollers (xmc1000 and xmc4000) but I only have J-Link BASE and J-Link EDU Mini programmer, I have two questions.
- Can I use any of these two programmers with the XMC family? -
Where can I find the programming pins of these microcontrollers?
Thanks for the helpShow Less
I am using XMC4800 controller having 144 pins and 2mb size (XMC 4800 F144x-2048). Previously in my project we use 3 SPIs and now we add another SPI i.e, total 4 SPI we are using and every SPI is in MASTER and Full Duplex mode and we use SPI_MASTER_0 for communicating with Flash 1 and Flash2 which are same MAKE and it's working fine. Now we add SPI_MASTER_3 and SPI_MASTER_0 is used for Flash1 and SPI_MASTER_3 for Flash2. In the attached image we use different pinouts for different SPIs. SPI_MASTER_0, SPI_MASTER_1 and SPI_MASTER_2 are working properly but SPI_MASTER_3 we are not able to communicate with Flash2.
Is there any issue with this controller by using 4SPI's?
I followed this link to enable XMC_DEBUG/printf() function.
However, I got this error at the end. Can you guide me to resolve this? Thank you
"\"C:\\Infineon\\Tools\\DAVE IDE\\18.104.22.168105191637\\eclipse\\ARM-GCC-49\\bin\\make\"" --output-sync -j8 all
arm-none-eabi-gcc: fatal error: c:/infineon/tools/dave ide/22.214.171.124105191637/eclipse/arm-gcc-49/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/nosys.specs: attempt to rename spec 'link_gcc_c_sequence' to already defined spec 'nosys_link_gcc_c_sequence'
'Building target: 1300_LC.elf'
'Invoking: ARM-GCC C Linker'
make: *** [1300_LC.elf] Error 1
"C:/Infineon/Tools/DAVE IDE/126.96.36.199105191637/eclipse/ARM-GCC-49/bin/arm-none-eabi-gcc" -T"../linker_script.ld" -nostartfiles -Xlinker --gc-sections -specs=nano.specs -specs=nosys.specs -u _printf_float -u _scanf_float -Wl,-Map,"1300_LC.map" -specs=rdimon.specs -specs=nosys.specs -mcpu=cortex-m0 -mthumb -g -gdwarf-2 -o "1300_LC.elf" "@objects.rsp" -lm
makefile:54: recipe for target '1300_LC.elf' failed
Does anyone knows the max voltage of XMC1302 GPIO can output?
In my PCB, I connected a Nmos Gate to XMC GPIO, Nmos Source to GND, Nmos Drain to another IC's Chip enable pin which has 4V (active high, pull this pin to logic low can disable the chip).
I want to control the IC's enable/disable. But when I pull up the GPIO, only about 0.9V I got. Can't reach the GS threshold voltage. (Min 1.0V, typ 1.75V)
I am developing a board with XMC1400 micro. Can you explain how to output printf() to one of the serial uart ports? I looked at some examples but they all use Jlink connection and DAVE IDE console.
Hi, I would like to know what is the expected total ADC error rate for the part number XMC1402Q048X0032AAXUMA1.Along with that I would Iike to know whether the error rate is after calibration is done or not.Show Less
I want to communicate over SPI with 16MHz.
The issue is that there is an isolation IC with a 32nsec propagation delay between the master (XMC4800) and slave device.
1. Master delay compensation did not work on my first attempt. USIC AI.008 provides an explanation for why the "close loop delay compensation" does not working. Still not fixed?
2. The datasheet describes that sharp edge (A2) pads rise/fall time 3.7nsec. In my testing the "strong driver sharp edge" pads faster than "strong driver soft edge", but still rise/fall time about 20 nsec. I miss something?
Best Regards...Show Less
How to build a selected file in DAVE 4.5...?!
I found there is a function that can be built a selected file but when I pressed it and no any response.
Please check the attached file...
Thank you so much.Show Less
The UART can send data but cannot receive data. The UART port uses P2.0 and P2.1. The following is my code. Can you explain what went wrong? Thank you!
#define TICKS_PER_SECOND 1000
#define TICKS_WAIT 1000
const uint8_t message = "Hello world!!\n";
/* Configure LED1 */
led1_config.mode = XMC_GPIO_MODE_OUTPUT_PUSH_PULL;
/* UART configuration */
uart_config.data_bits = 8U;
uart_config.stop_bits = 1U;
uart_config.baudrate = 115200;
/* Configure RX pin */
rx_pin_config.mode = XMC_GPIO_MODE_INPUT_INVERTED_TRISTATE;
/* Configure UART channel */
/* Start UART channel */
/* Configure TX pin */
tx_pin_config.mode = XMC_GPIO_MODE_OUTPUT_PUSH_PULL_ALT6;
/* Send a message via UART periodically */
SysTick_Config(SystemCoreClock / TICKS_PER_SECOND);
/* Infinite loop */
Dear community members,
I have a question according to "OSC_ULP Oscillator Watchdog (ULPWDG)" in chapter 188.8.131.52 in Reference Manual V3.6 of XMC4500 family.
I see that "In case of external crystal failure the clock source switches automatically to the Internal
Slow Clock Source generating f_OSI.".
I just want to ask you whether there is a possibility to check if the internal slow clock source is in use instead of the external crystal. I assumed the SCU.HDCR.RCS bit changes automatically on failure of external crystal but it does not. Is there maybe any bit I can read out for that purpose?