XMC™ Forum Discussions
XMC™
Hi,is it possible to use a XMC1200 with:1 Startbit, 8 Databits, 1 Modebit, 1 Stopbit = 11 BitsIs the Modebit the "Parity Selection" and which one have...
Show More
Hi,
is it possible to use a XMC1200 with:
1 Startbit, 8 Databits, 1 Modebit, 1 Stopbit = 11 Bits
Is the Modebit the "Parity Selection" and which one have I to use: "Odd Parity" or "Even Parity"?
Thanks and regards,
Bernd Show Less
is it possible to use a XMC1200 with:
1 Startbit, 8 Databits, 1 Modebit, 1 Stopbit = 11 Bits
Is the Modebit the "Parity Selection" and which one have I to use: "Odd Parity" or "Even Parity"?
Thanks and regards,
Bernd Show Less
XMC™
Hello,I am building a sensor which detects radiation reflected by surfaces. The signals are very low, so I have problems with noise. To reduce quantiz...
Show More
Hello,
I am building a sensor which detects radiation reflected by surfaces. The signals are very low, so I have problems with noise. To reduce quantization noise at the ADC I want to duplicate my signal using voltage followers. The duplicated signals should be converted synchronously. Because I have two real signals, which have to be converted synchronously in first place it is very important to know, how many synced inputs I can run on my XMC4500. Is it possible to use 4 synced inputs per signal, so 8 synchronous conversions in total?
I have searched in the manuals and in the forums but unfortunately I haven't found an answer yet.
Thanks for your help!
Best regards,
MTR Show Less
I am building a sensor which detects radiation reflected by surfaces. The signals are very low, so I have problems with noise. To reduce quantization noise at the ADC I want to duplicate my signal using voltage followers. The duplicated signals should be converted synchronously. Because I have two real signals, which have to be converted synchronously in first place it is very important to know, how many synced inputs I can run on my XMC4500. Is it possible to use 4 synced inputs per signal, so 8 synchronous conversions in total?
I have searched in the manuals and in the forums but unfortunately I haven't found an answer yet.
Thanks for your help!
Best regards,
MTR Show Less
XMC™
Hi all,I did a small example for 2 sync ADCs.There are in general 2 options:1: Using the sync feature 2: Using the same trigger for both ADCs.This exa...
Show More
Hi all,
I did a small example for 2 sync ADCs.
There are in general 2 options:
1: Using the sync feature
2: Using the same trigger for both ADCs.
This example shows the second option:
The benefit is that both groups are not fixed in the channel.
The drawback is that they are not in sync. if one ADC is already sampling while both get the trigger.
(Can’t happen in this example)
Note: I still activated the sync. mode but didn't use a channel. So the clk is sync but I don't have a master/slave channel.
With this configuration I follow the ADC_CM.001 errata.
Best Regards
Eric Show Less
I did a small example for 2 sync ADCs.
There are in general 2 options:
1: Using the sync feature
2: Using the same trigger for both ADCs.
This example shows the second option:
The benefit is that both groups are not fixed in the channel.
The drawback is that they are not in sync. if one ADC is already sampling while both get the trigger.
(Can’t happen in this example)
Note: I still activated the sync. mode but didn't use a channel. So the clk is sync but I don't have a master/slave channel.
With this configuration I follow the ADC_CM.001 errata.
Best Regards
Eric Show Less
XMC™
Hello,I would to like to recive serial information with my XMC1200.Serial Bit Format: 1 Start Bit 8 Data Bits 1 Mode Bit 1 Stop Bit 11 Bits Total...
Show More
Hello,
I would to like to recive serial information with my XMC1200.
Serial Bit Format:
1 Start Bit
8 Data Bits
1 Mode Bit
1 Stop Bit
11 Bits Total
How have I to init my uart especially:
#ifdef _9600_Baud
// 9.6kbd @32MHz
#define FDR_STEP ?
#define BRG_PDIV ?
#define BRG_DCTQ ?
#define BRG_PCTQ ?
#endif
Many thanks,
Bernd Show Less
I would to like to recive serial information with my XMC1200.
Serial Bit Format:
1 Start Bit
8 Data Bits
1 Mode Bit
1 Stop Bit
11 Bits Total
How have I to init my uart especially:
#ifdef _9600_Baud
// 9.6kbd @32MHz
#define FDR_STEP ?
#define BRG_PDIV ?
#define BRG_DCTQ ?
#define BRG_PCTQ ?
#endif
Many thanks,
Bernd Show Less
XMC™
Hello,We're building a product that includes a couple of CAN ports. The functionality of the CAN ports is very simple - any packet received on one of ...
Show More
Hello,
We're building a product that includes a couple of CAN ports. The functionality of the CAN ports is very simple - any packet received on one of the ports is re-transmitted out the other port. There's no packet filtering or anything like that - it's a dumb CAN repeater, or CAN switch / CAN hub (whatever terminology you prefer).
My question is: how do we handle remote frames (ie the RTR bit)? It's simple to create an address mask to accept any CAN address. But I cannot find a way to do the same for the RTR bit. In fact, from reading the reference manual section "Receive Acceptance Filtering", the 4th condition seems to say I'll need to split my receive message objects into 2 groups, and then specifically differentiate between RTR = 0 and RTR = 1 frames, handling them separately. This feels a bit ugly, so before I get into coding it, I thought I'd ask the question: is there a better way? Is there a way to receive CAN packets simply ignoring the state of the RTR bit (much as we can do when ignoring the address)? Make the RTR bit a "don't care"?
Thanks. Show Less
We're building a product that includes a couple of CAN ports. The functionality of the CAN ports is very simple - any packet received on one of the ports is re-transmitted out the other port. There's no packet filtering or anything like that - it's a dumb CAN repeater, or CAN switch / CAN hub (whatever terminology you prefer).
My question is: how do we handle remote frames (ie the RTR bit)? It's simple to create an address mask to accept any CAN address. But I cannot find a way to do the same for the RTR bit. In fact, from reading the reference manual section "Receive Acceptance Filtering", the 4th condition seems to say I'll need to split my receive message objects into 2 groups, and then specifically differentiate between RTR = 0 and RTR = 1 frames, handling them separately. This feels a bit ugly, so before I get into coding it, I thought I'd ask the question: is there a better way? Is there a way to receive CAN packets simply ignoring the state of the RTR bit (much as we can do when ignoring the address)? Make the RTR bit a "don't care"?
Thanks. Show Less
XMC™
As the Title already says, after calling the function NVIC_SystemReset() the program enters the ResetHandler but then stucks at the first instruction....
Show More
As the Title already says, after calling the function NVIC_SystemReset() the program enters the ResetHandler but then stucks at the first instruction.
I tried this with debugger attached and also without.
What could be the problem?
Edit: Ok it only gets stuck with debugger attached.
Without debugger it works fine. Thas was a different fault Show Less
I tried this with debugger attached and also without.
What could be the problem?
Edit: Ok it only gets stuck with debugger attached.
Without debugger it works fine. Thas was a different fault Show Less
XMC™
Hi all, I'm trying to send out raw ethernet frames from the xmc4800 to another device (while sniffing packets with wireshark) with poor results...The ...
Show More
Hi all, I'm trying to send out raw ethernet frames from the xmc4800 to another device (while sniffing packets with wireshark) with poor results...
The packet should be structured like:
[6 (receiver mac) ] + [6 (sender mac) ] + [2 (protocol, specific to the device i'm connecting) ] + [....... (data bites) ]
Do you know how to configure the ksz8081 & the xmc4800 (from relax kit) correctly to do this operation?
Thanks in advance Show Less
The packet should be structured like:
[6 (receiver mac) ] + [6 (sender mac) ] + [2 (protocol, specific to the device i'm connecting) ] + [....... (data bites) ]
Do you know how to configure the ksz8081 & the xmc4800 (from relax kit) correctly to do this operation?
Thanks in advance Show Less
XMC™
In https://www.infineon.com/dgdl/Infineon-IP_VADC_XMC1-TR-v01_01-EN.pdf?fileId=5546d4624ad04ef9014b078129f42271 you write on p 12/24:*“In many occasio...
Show More
In https://www.infineon.com/dgdl/Infineon-IP_VADC_XMC1-TR-v01_01-EN.pdf?fileId=5546d4624ad04ef9014b078129f42271 you write on p 12/24:*
Can Infineon provide SW routines and/or SW configurations which show how to implement measuring 2 signals in parallel? Show Less
“In many occasions, algorithms request the usage of several analog values that are measured at the same time.
As an example, one could compute the power, for example at a load, by multiplying the current and voltage on it. This calculation would only make sense in case both signals were measured at the exact same point in time.
XMC1000 allows to measure 2 signals in parallel. The master will request a conversion in its groups. This will automatically lead the request of the same channel number in the slave group. The rest of the VADC features can be used such as result handling, event generation, limit check, etc.”
As an example, one could compute the power, for example at a load, by multiplying the current and voltage on it. This calculation would only make sense in case both signals were measured at the exact same point in time.
XMC1000 allows to measure 2 signals in parallel. The master will request a conversion in its groups. This will automatically lead the request of the same channel number in the slave group. The rest of the VADC features can be used such as result handling, event generation, limit check, etc.”
Can Infineon provide SW routines and/or SW configurations which show how to implement measuring 2 signals in parallel? Show Less
XMC™
Hello everyone!I am implementing an Ethernet PHY for a custom mcu board using an XMC4500 and a DP83822.This Texas chip is compatible with the existing...
Show More
Hello everyone!
I am implementing an Ethernet PHY for a custom mcu board using an XMC4500 and a DP83822.
This Texas chip is compatible with the existing driver supplied by Infineon for the DP83848 phy.
The problem is I need to initialize using a serial bus the DP83822 to operate in RMII mode.
According to XMC4500 ref manual §15.2.8 , there is a Station Management Interface allowing to do such serial writes.
But I cannot get it to work.
Is there any example somewhere showing how to build and send a Serial Read or Write command to the chip ?
Any help is welcome,
Jorge Show Less
I am implementing an Ethernet PHY for a custom mcu board using an XMC4500 and a DP83822.
This Texas chip is compatible with the existing driver supplied by Infineon for the DP83848 phy.
The problem is I need to initialize using a serial bus the DP83822 to operate in RMII mode.
According to XMC4500 ref manual §15.2.8 , there is a Station Management Interface allowing to do such serial writes.
But I cannot get it to work.
Is there any example somewhere showing how to build and send a Serial Read or Write command to the chip ?
Any help is welcome,
Jorge Show Less
XMC™
Hello,I would like to generate two Inverleaving (PUSHPULL) PWM signals with same duty cycle.how can i achieve using PWM CCU8?see attached picture of w...
Show More
Hello,
I would like to generate two Inverleaving (PUSHPULL) PWM signals with same duty cycle.
how can i achieve using PWM CCU8?
see attached picture of waveform. Show Less
I would like to generate two Inverleaving (PUSHPULL) PWM signals with same duty cycle.
how can i achieve using PWM CCU8?
see attached picture of waveform. Show Less