XMC™ Forum Discussions
XMC™
HiIs it possibly to supply core of MCU (XMC4800 or XMC4300) with auxiliary voltage source like LM2772.Thereafter power dissipation less for about 150-...
Show More
Hi
Is it possibly to supply core of MCU (XMC4800 or XMC4300) with auxiliary voltage source like LM2772.
Thereafter power dissipation less for about 150-250 mW
regards
zbyno Show Less
Is it possibly to supply core of MCU (XMC4800 or XMC4300) with auxiliary voltage source like LM2772.
Thereafter power dissipation less for about 150-250 mW
regards
zbyno Show Less
XMC™
Hi,I am using the XMC1100 as a slave node. Occasionally I get communication glitches where the XMC1100 continues to hold the SDA low. I have tried tog...
Show More
Hi,
I am using the XMC1100 as a slave node. Occasionally I get communication glitches where the XMC1100 continues to hold the SDA low. I have tried toggling SCL until SDA returns to high but the SDA never goes high again.
Can the XMC slave be manually clocked by the master to restore the SDA to high logic level like lots of other I2C devices or does the state machine not allow this?
Is there a reset to restore the SDA level without restarting the MCU?
Thanks,
Joe Show Less
I am using the XMC1100 as a slave node. Occasionally I get communication glitches where the XMC1100 continues to hold the SDA low. I have tried toggling SCL until SDA returns to high but the SDA never goes high again.
Can the XMC slave be manually clocked by the master to restore the SDA to high logic level like lots of other I2C devices or does the state machine not allow this?
Is there a reset to restore the SDA level without restarting the MCU?
Thanks,
Joe Show Less
XMC™
I am trying to use an USIC in the I2S mode. I cannot seem to change the frequency of the MCLK. It is always 120MHz. The XMC_I2S_CH_SetBaudrate() funct...
Show More
I am trying to use an USIC in the I2S mode. I cannot seem to change the frequency of the MCLK. It is always 120MHz. The XMC_I2S_CH_SetBaudrate() function only allows the SCLK frequency to be changed. The documentation shows the MCLK coming from the Baudrate generator, but there does not seem to be any registers to set the frequency. I need a MCLK frequency between 10 - 20 MHz. How can I set MCLK to this frequency?
I have looked for I2S examples in DAVE but there does not seem to be anything available. Show Less
I have looked for I2S examples in DAVE but there does not seem to be anything available. Show Less
XMC™
Hello,I'm having some problems with TCP/IP communication between an XMC server and a Java client. I can send and receive TCP messages but only 5, afte...
Show More
Hello,
I'm having some problems with TCP/IP communication between an XMC server and a Java client.
I can send and receive TCP messages but only 5, after 5 messages my server doesn't receive anything.
I've analyzed data using Wireshark and it looks like the client is sending the message but the server doesn't show any received data, doesn't enter in the receive callback function or give any error.
Have you encountered this problem? Do you have any idea why this behaviour might happen.
Thank you!
Regards,
Petru S Show Less
I'm having some problems with TCP/IP communication between an XMC server and a Java client.
I can send and receive TCP messages but only 5, after 5 messages my server doesn't receive anything.
I've analyzed data using Wireshark and it looks like the client is sending the message but the server doesn't show any received data, doesn't enter in the receive callback function or give any error.
Have you encountered this problem? Do you have any idea why this behaviour might happen.
Thank you!
Regards,
Petru S Show Less
XMC™
Hi,I'm facing a problem when using the DAVE app (4.1.2) to send data over UART by using DMA mode.In all my other project I did use the FIFO mode, but ...
Show More
Hi,
I'm facing a problem when using the DAVE app (4.1.2) to send data over UART by using DMA mode.
In all my other project I did use the FIFO mode, but now I need to do it by using DMA.
The problem is that when using standard app functions, the first character is always missing.
The test is very simple:
But only "nfineon" can be seen on the TX pin. I checked it with a Logic Analyzer.
As I'm using an APP's function, I guess the DMA transfer is being set up correctly by the app to avoid
unaligned access.
What can I have made wrong in these two lines of code?
Any idea is appreciated.
Michael Show Less
I'm facing a problem when using the DAVE app (4.1.2) to send data over UART by using DMA mode.
In all my other project I did use the FIFO mode, but now I need to do it by using DMA.
The problem is that when using standard app functions, the first character is always missing.
The test is very simple:
uint8_t Send_Data[] = "Infineon";
UART_Transmit(&UART_0, Send_Data, sizeof(Send_Data)-1);
But only "nfineon" can be seen on the TX pin. I checked it with a Logic Analyzer.
As I'm using an APP's function, I guess the DMA transfer is being set up correctly by the app to avoid
unaligned access.
What can I have made wrong in these two lines of code?
Any idea is appreciated.
Michael Show Less
XMC™
I have the problem with I2C. I want to communicate with STM LSM9DS1 by means of RelaxKit. It is strange but when I run embedded application in debug m...
Show More
I have the problem with I2C. I want to communicate with STM LSM9DS1 by means of RelaxKit. It is strange but when I run embedded application in debug mode it works however if I run embedded application in normal mode it does not work.
Do you have any idea what is the reason. If I analyse I2C signal in debug mode by means of Logic Analyser I can see that there is a I2C signal unfortunately if I try to run it in normal mode it does not work...............
If you have some suggestions please tell me. Every information is highly appreciated......... Show Less
Do you have any idea what is the reason. If I analyse I2C signal in debug mode by means of Logic Analyser I can see that there is a I2C signal unfortunately if I try to run it in normal mode it does not work...............
If you have some suggestions please tell me. Every information is highly appreciated......... Show Less
XMC™
Hi,I've flashed my XMC2GO kit, but if I remove the power from it, when I plug it back on the application doesn't start automatically. I think that the...
Show More
Hi,
I've flashed my XMC2GO kit, but if I remove the power from it, when I plug it back on the application doesn't start automatically.
I think that the application is saved on the flash, because if I do "play" in the IDE it starts running.
How can I automatically boot my application? Show Less
I've flashed my XMC2GO kit, but if I remove the power from it, when I plug it back on the application doesn't start automatically.
I think that the application is saved on the flash, because if I do "play" in the IDE it starts running.
How can I automatically boot my application? Show Less
XMC™
Hi all,In short, I am trying to send data to my PC over UART and PuTTY won't show anything in its terminal window (same goes for Docklight, although I...
Show More
Hi all,
In short, I am trying to send data to my PC over UART and PuTTY won't show anything in its terminal window (same goes for Docklight, although I used it very briefly). I have tried watching the output of the Tx pin with an oscilloscope, and it seems to transmit the data as it should. Below is a sample capture of the signal transmitting `0x55` or `U` in ASCII.
However, nothing shows up in PuTTY. There are a few things that I have tried in order to find the source of the problem. The board is XMC4400 kit. Here are a few observations:
Following is the configuration used for Tx and Rx pins. It is one of the standard examples provided by Infineon with slight modifications.
Regards,
Andrey
Edit:
This seems to be a connection problem somewhere on the board. The designated output pin (P1_5 on my board) is working fine when I monitor it's output with a scope. However, this signal does not make it to the host (PC). Could you please let me know if there's a way I can verify if this is a hardware problem or not? Thank you! Show Less
In short, I am trying to send data to my PC over UART and PuTTY won't show anything in its terminal window (same goes for Docklight, although I used it very briefly). I have tried watching the output of the Tx pin with an oscilloscope, and it seems to transmit the data as it should. Below is a sample capture of the signal transmitting `0x55` or `U` in ASCII.
However, nothing shows up in PuTTY. There are a few things that I have tried in order to find the source of the problem. The board is XMC4400 kit. Here are a few observations:
1. Identical code works on XMC4700 board with the same cable (i.e. `U` shows up in PuTTY and Docklight with the appropriate settings).
2. If physically shorted together, Rx and Tx pins work fine in the loopback mode, but nothing is reflected in the terminal window.
Following is the configuration used for Tx and Rx pins. It is one of the standard examples provided by Infineon with slight modifications.
#include "xmc_uart.h"
#include "xmc_gpio.h"
#include "xmc_usic.h"
int main(void)
{
XMC_GPIO_CONFIG_t rx_config = {
.mode = XMC_GPIO_MODE_INPUT_TRISTATE,
.output_level = XMC_GPIO_OUTPUT_LEVEL_HIGH,
.output_strength = XMC_GPIO_OUTPUT_STRENGTH_STRONG_SOFT_EDGE
};
XMC_GPIO_CONFIG_t tx_config = {
.mode = XMC_GPIO_MODE_OUTPUT_PUSH_PULL_ALT2,
.output_level = XMC_GPIO_OUTPUT_LEVEL_HIGH,
.output_strength = XMC_GPIO_OUTPUT_STRENGTH_STRONG_SOFT_EDGE
};
XMC_UART_CH_CONFIG_t uart_config = {
.baudrate = 19200,
.data_bits = 8,
.frame_length = 8,
.stop_bits = 1,
.oversampling = 16,
.parity_mode = XMC_USIC_CH_PARITY_MODE_NONE
};
/*Initialize and configure UART0 on channel 0 */
XMC_UART_CH_Init(XMC_UART0_CH0, &uart_config);
/*Configure RX*/
XMC_GPIO_Init(P1_4, &rx_config);
/*Configure TX*/
XMC_GPIO_Init(P1_5, &tx_config);
/*Set input source path*/
XMC_USIC_CH_SetInputSource(XMC_UART0_CH0, XMC_USIC_CH_INPUT_DX0, 1U);
/*Configure transmit FIFO*/
XMC_USIC_CH_TXFIFO_Configure(XMC_UART0_CH0, 16U, XMC_USIC_CH_FIFO_SIZE_16WORDS, 1U);
/*Configure receive FIFO*/
XMC_USIC_CH_RXFIFO_Configure(XMC_UART0_CH0, 0U, XMC_USIC_CH_FIFO_SIZE_16WORDS, 15U);
/*Start UART */
XMC_UART_CH_Start(XMC_UART0_CH0);
while (1)
{XMC_UART_CH_Transmit(XMC_UART0_CH0, 0x55);
}
return 1U;
}
Regards,
Andrey
Edit:
This seems to be a connection problem somewhere on the board. The designated output pin (P1_5 on my board) is working fine when I monitor it's output with a scope. However, this signal does not make it to the host (PC). Could you please let me know if there's a way I can verify if this is a hardware problem or not? Thank you! Show Less
XMC™
Hello
where can I find a j-link UART driver ??
Thanks
where can I find a j-link UART driver ??
Thanks
XMC™
Dear Sirs,The schematic of the XMC4500 Relax kit show a KSZ8031RNL Ethernet PHY, the one in my Relax kit, upon close inspection (I mean, using a watch...
Show More
Dear Sirs,
The schematic of the XMC4500 Relax kit show a KSZ8031RNL Ethernet PHY, the one in my Relax kit, upon close inspection (I mean, using a watchmaker's loupe) turned out to be a KSZ8081RNA.
Best regards,
Fernando Show Less
The schematic of the XMC4500 Relax kit show a KSZ8031RNL Ethernet PHY, the one in my Relax kit, upon close inspection (I mean, using a watchmaker's loupe) turned out to be a KSZ8081RNA.
Best regards,
Fernando Show Less
Trending discussions