XMC™ Forum Discussions
XMC™
Hello, Is there any information available on XMC4700 internal RTC stability/drift with time and temperature ? I am trying to analyze stability of XMC4...
Show More
Hello,
Is there any information available on XMC4700 internal RTC stability/drift with time and temperature ?
I am trying to analyze stability of XMC4700 internal RTC. In order to do this testing, i have connected ST external RTC and internal XMC4700 RTC to same crystal source of 32.768 kHz. I
initialize both internal and external RTC 's to 0. Then my application accept PC time from the user and configure both RTC's as per PC time.
When i ran both RTC's for 45 mins, i could see internal XMC RTC was 16-21 secs ahead of PC time. When i ran this set up for 4 hrs, XMC rtc was 1 min 43 sec ahead
of PC time and external RTC time. Both the test cases were performed at room temperature.
Has anyone seen similar behavior of drifting with time with internal RTC ?
While configuring PC time in internal RTC i simply update register by calling XMC_RTC_SetTime function.
Is there any specific sequence do i need to follow ?
Any feedback is appreciated.
Thanks
Query1920 Show Less
Is there any information available on XMC4700 internal RTC stability/drift with time and temperature ?
I am trying to analyze stability of XMC4700 internal RTC. In order to do this testing, i have connected ST external RTC and internal XMC4700 RTC to same crystal source of 32.768 kHz. I
initialize both internal and external RTC 's to 0. Then my application accept PC time from the user and configure both RTC's as per PC time.
When i ran both RTC's for 45 mins, i could see internal XMC RTC was 16-21 secs ahead of PC time. When i ran this set up for 4 hrs, XMC rtc was 1 min 43 sec ahead
of PC time and external RTC time. Both the test cases were performed at room temperature.
Has anyone seen similar behavior of drifting with time with internal RTC ?
While configuring PC time in internal RTC i simply update register by calling XMC_RTC_SetTime function.
Is there any specific sequence do i need to follow ?
Any feedback is appreciated.
Thanks
Query1920 Show Less
XMC™
ARM's Cortex-M4 Devices Generic User Guide (sec 2.2.5) specifies an optional bit-banding feature.It is not mentioned in the Infineon XMC4500 reference...
Show More
ARM's Cortex-M4 Devices Generic User Guide (sec 2.2.5) specifies an optional bit-banding feature.
It is not mentioned in the Infineon XMC4500 reference manual. Does the XMC4500 support bit banding? Show Less
It is not mentioned in the Infineon XMC4500 reference manual. Does the XMC4500 support bit banding? Show Less
XMC™
Is there a Dave Example App detailing the command sequences for accessing (read/write) the internal flash of the XMC4500? Where can I find such an exa...
Show More
Is there a Dave Example App detailing the command sequences for accessing (read/write) the internal flash of the XMC4500? Where can I find such an example?
Thank you Show Less
Thank you Show Less
XMC™
Hi,Base on the XMC48_ECAT project,I open SSC to change some of the default parameters of the board.Vendor_ID I got from Beckhoff, Product_Code=1, Revi...
Show More
Hi,
Base on the XMC48_ECAT project,
I open SSC to change some of the default parameters of the board.
Vendor_ID I got from Beckhoff, Product_Code=1, Revision_Number=2 etc.
All files are generated, including XML with new values and the eeprom.h with new codes in the array.
But as soon as I run the program over Dave debugger, and connect the board to Twincat, I see the same values as before, just default ones.
It looks like the eeprom was not upload by Dave debug configuration.
How to do this? Show Less
Base on the XMC48_ECAT project,
I open SSC to change some of the default parameters of the board.
Vendor_ID I got from Beckhoff, Product_Code=1, Revision_Number=2 etc.
All files are generated, including XML with new values and the eeprom.h with new codes in the array.
But as soon as I run the program over Dave debugger, and connect the board to Twincat, I see the same values as before, just default ones.
It looks like the eeprom was not upload by Dave debug configuration.
How to do this? Show Less
XMC™
Hello team,I am using XMC4800 for uart communication, controlling a RS485 transceiver.I use the following function to enable the protocol event and co...
Show More
Hello team,
I am using XMC4800 for uart communication, controlling a RS485 transceiver.
I use the following function to enable the protocol event and connect to the SR4 in XMC_UART0_CH1.
/* Enabled protocol events */
const uint32_t UART_CONFIG_0_enabled_protocol_events = ((uint32_t)XMC_UART_CH_EVENT_FRAME_FINISHED);
/* Set the service request line for the Data Lost, Baud Rate Generator and UART protocol events */
XMC_USIC_CH_SetInterruptNodePointer(XMC_UART0_CH1, XMC_USIC_CH_INTERRUPT_NODE_POINTER_PROTOCOL, 4U);
/* Enable the UART protocol-specific events (PCR_ASCMode register) */
XMC_UART_CH_EnableEvent(XMC_UART0_CH1, UART_CONFIG_0_enabled_protocol_events);
for the interrupt I use interrupt APP and set as
#define UART1EndOfFrame IRQ_Hdlr_88
.node = (IRQn_Type)88,
.priority = 0,
The baudrate is 57600. The interrupt triggers but there is 60ms comparing the whole uart frame is less then 200 us.
There is no other interrupts besides CPU_CTRL_XMC4_0 with priority 0
Is there a reason for the 60ms delay? Show Less
I am using XMC4800 for uart communication, controlling a RS485 transceiver.
I use the following function to enable the protocol event and connect to the SR4 in XMC_UART0_CH1.
/* Enabled protocol events */
const uint32_t UART_CONFIG_0_enabled_protocol_events = ((uint32_t)XMC_UART_CH_EVENT_FRAME_FINISHED);
/* Set the service request line for the Data Lost, Baud Rate Generator and UART protocol events */
XMC_USIC_CH_SetInterruptNodePointer(XMC_UART0_CH1, XMC_USIC_CH_INTERRUPT_NODE_POINTER_PROTOCOL, 4U);
/* Enable the UART protocol-specific events (PCR_ASCMode register) */
XMC_UART_CH_EnableEvent(XMC_UART0_CH1, UART_CONFIG_0_enabled_protocol_events);
for the interrupt I use interrupt APP and set as
#define UART1EndOfFrame IRQ_Hdlr_88
.node = (IRQn_Type)88,
.priority = 0,
The baudrate is 57600. The interrupt triggers but there is 60ms comparing the whole uart frame is less then 200 us.
There is no other interrupts besides CPU_CTRL_XMC4_0 with priority 0
Is there a reason for the 60ms delay? Show Less
XMC™
Hi,I want to use the XMC1400 boot kit to analyze CAN Messages from 5 different nodes.Therefore I would need to create 5 Interrupts for 5 CAN Rx LMOs. ...
Show More
Hi,
I want to use the XMC1400 boot kit to analyze CAN Messages from 5 different nodes.
Therefore I would need to create 5 Interrupts for 5 CAN Rx LMOs. The XMC1400 only supports 4 HW Signal Connections to one Interrupt each (XMC1400 Reference Manual Chapter 18.6.4.4, I also get the hardware resource error).
What is the best way to bypass this limitation?
Brandon Show Less
I want to use the XMC1400 boot kit to analyze CAN Messages from 5 different nodes.
Therefore I would need to create 5 Interrupts for 5 CAN Rx LMOs. The XMC1400 only supports 4 HW Signal Connections to one Interrupt each (XMC1400 Reference Manual Chapter 18.6.4.4, I also get the hardware resource error).
What is the best way to bypass this limitation?
Brandon Show Less
XMC™
Hi.I study the Distance2Go kit.But,There are many parts that I do not understand since I used the xmc4200 chip and dave tool for the first time.I am c...
Show More
Hi.
I study the Distance2Go kit.
But,
There are many parts that I do not understand since I used the xmc4200 chip and dave tool for the first time.
I am currently watching FMCW PROJECT.
I am looking at the source based on the MAIN() Function.
This is what I have understood so far.
1. The process_run() function seems to play a role to display in the Radar GUI.
2. The usb processing part of the process_run() function is processed according to the usb communication structure.
3. It seems to process data received by RF with DMA_Event_Handler.
Is the content I understand so far correct?
And I need a little more detailed explanation of process_run function and DMA_Event_Handler.
Help. please Show Less
I study the Distance2Go kit.
But,
There are many parts that I do not understand since I used the xmc4200 chip and dave tool for the first time.
I am currently watching FMCW PROJECT.
I am looking at the source based on the MAIN() Function.
This is what I have understood so far.
1. The process_run() function seems to play a role to display in the Radar GUI.
2. The usb processing part of the process_run() function is processed according to the usb communication structure.
3. It seems to process data received by RF with DMA_Event_Handler.
Is the content I understand so far correct?
And I need a little more detailed explanation of process_run function and DMA_Event_Handler.
Help. please Show Less
XMC™
Hi,I'm looking for a complete example for the CAN-configuration with real outputs. All what I found here was for the loopback-mode. I use a XMC4200 wi...
Show More
Hi,
I'm looking for a complete example for the CAN-configuration with real outputs. All what I found here was for the loopback-mode.
I use a XMC4200 with CAN0 on P1.4/1.5.
I tryed this but nothing happens on P1.5 (before CAN-transceiver):
XMC_CAN_Init(CAN,80000000);
XMC_CAN_NODE_NominalBitTimeConfigure(CAN_NODE0,&baud);
XMC_CAN_NODE_EnableConfigurationChange(CAN_NODE0);
XMC_CAN_NODE_SetReceiveInput(CAN_NODE0,XMC_CAN_NODE_RECEIVE_INPUT_RXDCA);
XMC_CAN_NODE_DisableLoopBack(CAN_NODE0);
XMC_GPIO_SetMode(XMC_GPIO_PORT1, 5, XMC_GPIO_MODE_OUTPUT_PUSH_PULL_ALT1);
XMC_CAN_NODE_DisableConfigurationChange(CAN_NODE0);
XMC_CAN_NODE_ResetInitBit(CAN_NODE0);
XMC_CAN_MO_Config(&CAN_message_4);
XMC_CAN_AllocateMOtoNodeList(CAN, 0, 4);
XMC_CAN_MO_Transmit(&CAN_message_4);
structure of baud and MO are all set.
Does somebody has any idea what missing?
Thanks
Bernd Show Less
I'm looking for a complete example for the CAN-configuration with real outputs. All what I found here was for the loopback-mode.
I use a XMC4200 with CAN0 on P1.4/1.5.
I tryed this but nothing happens on P1.5 (before CAN-transceiver):
XMC_CAN_Init(CAN,80000000);
XMC_CAN_NODE_NominalBitTimeConfigure(CAN_NODE0,&baud);
XMC_CAN_NODE_EnableConfigurationChange(CAN_NODE0);
XMC_CAN_NODE_SetReceiveInput(CAN_NODE0,XMC_CAN_NODE_RECEIVE_INPUT_RXDCA);
XMC_CAN_NODE_DisableLoopBack(CAN_NODE0);
XMC_GPIO_SetMode(XMC_GPIO_PORT1, 5, XMC_GPIO_MODE_OUTPUT_PUSH_PULL_ALT1);
XMC_CAN_NODE_DisableConfigurationChange(CAN_NODE0);
XMC_CAN_NODE_ResetInitBit(CAN_NODE0);
XMC_CAN_MO_Config(&CAN_message_4);
XMC_CAN_AllocateMOtoNodeList(CAN, 0, 4);
XMC_CAN_MO_Transmit(&CAN_message_4);
structure of baud and MO are all set.
Does somebody has any idea what missing?
Thanks
Bernd Show Less
XMC™
How To Cut The Large Fabric Panels Quickly?Beginners in the field of sewing do prepare home décor projects and in those projects, they have to cut the...
Show More
How To Cut The Large Fabric Panels Quickly?
Beginners in the field of sewing do prepare home décor projects and in those projects, they have to cut the large piece of fabric panels for the sewing. You have to cut the fabric for several projects like a tablecloth, curtains, and blinds and for many other things in your home. It’s one of the most challenging situations when you are short on space but you have cut the panel out correctly.
So if you are the one who is going through the same situation again and again and you are doing big blunders in the cutting then we have come up with a few tips and tricks. The best sewing machine for home use is going to make sewing easier for you but we will make cutting easier for you. For more information about different models of the sewing machine, you can visit*https://craftsselection.com/best-sewing-machine-for-home-use/ and read our useful guides on sewing machines.
How To Cut The Large Fabric Panels Quickly
Tools
Before you start cutting for the project, it’s important to have all the tools on the table. A large scale so you can fold the fabric at once and a rotary cutter for the one go cutting. Many people find it difficult to cut the fabric with the scissors. Some people have stability problem and while cutting a panel their hand may shake for a while.
A little shaking in hand can result in a messy line on the fabric. For cutting straight line it’s highly recommended to include a chalk or an invisible ink to draw a straight line and then follow it by cutting with the rotary cutter.
Folding
All you have to do is to fold the panel as well to mark the line. In this way, you can have two clues, a drawn line, and a folding line. Now you can follow any one of them and there won’t be any mistake in the cutting now. In the same way, if you have a large fabric and you want to cut several pieces out of it then you have to fold the pieces one by one.
Pin the Fabric
At the time of cutting panels from any kind of fabric, it’s necessary to pin the fabric on the table. If the garment is going to get slipped from the table then you may miss the line and all your cutting will be disturbed. No matter if you have a small space for the cutting, if you will pin down the fabric on the table then it’s going to be a smooth cutting session.
Use small fabric pins on the fabric so there won’t be any damage on the appearance and there won’t be holes when you will remove the pins. Don’t stretch the fabric so much. Make sure your garment is fixed on the table at the time of cutting. If stuff is slippery then use tissue sheets underneath to stabilize the fabric on the table.
When you are sewing a fabric from best rated sewing machines for beginners then make sure you are inserting tissues under the fabric to avoid the sewing complications as well. Apply this tip only when the stuff is slippery. You can visit*best rated sewing machines for beginners for further information about the best sewing machines to buy.
Pin fabric for easier cutting
Double Layer
When you are cutting a double layer of the fabric then many beginners may do this mistake of not doubling the fabric. When you are cutting the double layer of any project, you should always fold the fabric and measure the sides if they are equal in size or not? If sides are not equal then you must match the edges and pinned the sides.
At the time of cutting if the layer of the fabric is not equal then your panel will not be straight and at the time of sewing, you will notice that. Keep one rule in your mind no matter if you are a beginner or a pro, measure twice and cut once. A wrong cutting is going to make you regret because the piece will be wasted and your money as well.
Cutting Mat
It’s highly recommended to invest in cutting mat than to invest in the stock. Never keep extra fabric or things in your sewing space as it will occupy most of your space and you can’t use all at once. Cutting mat is just not going to help you in measuring the stuff at the time of cutting but it will also help you in stabilizing the fabric on the table.
Cutting mat is going to keep the fabric flat even if you have a small table for the cutting. Cutting board is extremely important for the professional work as it helps in faster cutting and you can write down the accurate measurements on the journal for the next time. It’s also going to make your measuring guess game strong.
Don’t Stretch
Another thing which can cause cutting to be difficult is stretching. If you will stretch the fabric during the cutting then your line will never be straight. At the time of cutting and stuff, make sure you have ironed and there are no creases. Due to the creases, you will stretch and stretching will result in inappropriate cutting.
To save your work from this big complication, always use scale and chalk and never stretch it. Adopt the rule of free cutting with the help of a rotary cutter.
Conclusion
Correct cutting is the major part of sewing. No matter if you are using any simple machine, if your cutting is not on point then you will never be able to sew the fine dress. To have more information about the sewing machine you can read**The Must-Read Guide To Best First Sewing Machine For Beginners Reviews And Comparison. Learn more, sew more! Show Less
Beginners in the field of sewing do prepare home décor projects and in those projects, they have to cut the large piece of fabric panels for the sewing. You have to cut the fabric for several projects like a tablecloth, curtains, and blinds and for many other things in your home. It’s one of the most challenging situations when you are short on space but you have cut the panel out correctly.
So if you are the one who is going through the same situation again and again and you are doing big blunders in the cutting then we have come up with a few tips and tricks. The best sewing machine for home use is going to make sewing easier for you but we will make cutting easier for you. For more information about different models of the sewing machine, you can visit*https://craftsselection.com/best-sewing-machine-for-home-use/ and read our useful guides on sewing machines.
How To Cut The Large Fabric Panels Quickly
Tools
Before you start cutting for the project, it’s important to have all the tools on the table. A large scale so you can fold the fabric at once and a rotary cutter for the one go cutting. Many people find it difficult to cut the fabric with the scissors. Some people have stability problem and while cutting a panel their hand may shake for a while.
A little shaking in hand can result in a messy line on the fabric. For cutting straight line it’s highly recommended to include a chalk or an invisible ink to draw a straight line and then follow it by cutting with the rotary cutter.
Folding
All you have to do is to fold the panel as well to mark the line. In this way, you can have two clues, a drawn line, and a folding line. Now you can follow any one of them and there won’t be any mistake in the cutting now. In the same way, if you have a large fabric and you want to cut several pieces out of it then you have to fold the pieces one by one.
Pin the Fabric
At the time of cutting panels from any kind of fabric, it’s necessary to pin the fabric on the table. If the garment is going to get slipped from the table then you may miss the line and all your cutting will be disturbed. No matter if you have a small space for the cutting, if you will pin down the fabric on the table then it’s going to be a smooth cutting session.
Use small fabric pins on the fabric so there won’t be any damage on the appearance and there won’t be holes when you will remove the pins. Don’t stretch the fabric so much. Make sure your garment is fixed on the table at the time of cutting. If stuff is slippery then use tissue sheets underneath to stabilize the fabric on the table.
When you are sewing a fabric from best rated sewing machines for beginners then make sure you are inserting tissues under the fabric to avoid the sewing complications as well. Apply this tip only when the stuff is slippery. You can visit*best rated sewing machines for beginners for further information about the best sewing machines to buy.
Pin fabric for easier cutting
Double Layer
When you are cutting a double layer of the fabric then many beginners may do this mistake of not doubling the fabric. When you are cutting the double layer of any project, you should always fold the fabric and measure the sides if they are equal in size or not? If sides are not equal then you must match the edges and pinned the sides.
At the time of cutting if the layer of the fabric is not equal then your panel will not be straight and at the time of sewing, you will notice that. Keep one rule in your mind no matter if you are a beginner or a pro, measure twice and cut once. A wrong cutting is going to make you regret because the piece will be wasted and your money as well.
Cutting Mat
It’s highly recommended to invest in cutting mat than to invest in the stock. Never keep extra fabric or things in your sewing space as it will occupy most of your space and you can’t use all at once. Cutting mat is just not going to help you in measuring the stuff at the time of cutting but it will also help you in stabilizing the fabric on the table.
Cutting mat is going to keep the fabric flat even if you have a small table for the cutting. Cutting board is extremely important for the professional work as it helps in faster cutting and you can write down the accurate measurements on the journal for the next time. It’s also going to make your measuring guess game strong.
Don’t Stretch
Another thing which can cause cutting to be difficult is stretching. If you will stretch the fabric during the cutting then your line will never be straight. At the time of cutting and stuff, make sure you have ironed and there are no creases. Due to the creases, you will stretch and stretching will result in inappropriate cutting.
To save your work from this big complication, always use scale and chalk and never stretch it. Adopt the rule of free cutting with the help of a rotary cutter.
Conclusion
Correct cutting is the major part of sewing. No matter if you are using any simple machine, if your cutting is not on point then you will never be able to sew the fine dress. To have more information about the sewing machine you can read**The Must-Read Guide To Best First Sewing Machine For Beginners Reviews And Comparison. Learn more, sew more! Show Less
XMC™
Trending discussions