XMC™ Forum Discussions
Sort by:
XMC™
I am experimenting with XMC4500 Relax Lite Kit. I need to store calibration data in non volatile memory. Where can I find the EEPROM Emulation DAVE4 A...
Show More
I am experimenting with XMC4500 Relax Lite Kit. I need to store calibration data in non volatile memory. Where can I find the EEPROM Emulation DAVE4 APP for XMC4500?
Thanks Show Less
Thanks Show Less
XMC™
I am using the USIC on the XMC4500 as a UART. I have configured it to use the TX FIFO with a depth of 16.The XMClib supplies a function to write to th...
Show More
I am using the USIC on the XMC4500 as a UART. I have configured it to use the TX FIFO with a depth of 16.
The XMClib supplies a function to write to the FIFO (XMC_USIC_CH_TXFIFO_PutData()), but this function does not block when the FIFO is full. The extra data just gets lost.
I have a solution where I check the FIFO before each PutData with the XMC_USIC_CH_TXFIFO_IsFull() function, but this seems very clumsy. Is there a better way to use the FIFO? Show Less
The XMClib supplies a function to write to the FIFO (XMC_USIC_CH_TXFIFO_PutData()), but this function does not block when the FIFO is full. The extra data just gets lost.
I have a solution where I check the FIFO before each PutData with the XMC_USIC_CH_TXFIFO_IsFull() function, but this seems very clumsy. Is there a better way to use the FIFO? Show Less
XMC™
Hi, I'm working on VAD of XMC1302, to develop a BLDC SW, I thought it will done several days,because I familiar with other mcu and cortex-m0, but one ...
Show More
Hi, I'm working on VAD of XMC1302, to develop a BLDC SW, I thought it will done several days,because I familiar with other mcu and cortex-m0, but one month passed, I have no progress.
Anybody can help me ?
1. Does the GLOBICLASS0/1 reponsible for group0/1?
If above is right,what GxICLASS0/1(x=0,1) work for? there are four same resigster,but only two group(group0/group1).
2. the explanation of EMUX too simple, I just want to convert in the following channels:
//EMFU==P2.8=====G0CH1
//EMFV==P2.6=====G0CH0
//EMFW==P2.2=====G0CH7
//EMFCOM==P2.7===G1CH1
//MOST==P2.5=====G1CH7
//SSPD===P2.9====G0CH2
//PWR===P2.10====G0CH3 Show Less
Anybody can help me ?
1. Does the GLOBICLASS0/1 reponsible for group0/1?
If above is right,what GxICLASS0/1(x=0,1) work for? there are four same resigster,but only two group(group0/group1).
2. the explanation of EMUX too simple, I just want to convert in the following channels:
//EMFU==P2.8=====G0CH1
//EMFV==P2.6=====G0CH0
//EMFW==P2.2=====G0CH7
//EMFCOM==P2.7===G1CH1
//MOST==P2.5=====G1CH7
//SSPD===P2.9====G0CH2
//PWR===P2.10====G0CH3 Show Less
XMC™
Hi,I want to implement a kalman filter on a project with a XMC4500. I just want to know if it's possible to use GSL (GNU Scientific Library) matrix fu...
Show More
Hi,
I want to implement a kalman filter on a project with a XMC4500. I just want to know if it's possible to use GSL (GNU Scientific Library) matrix functions or if I need to make all the matrix operations "by hand".
If it's possible, how can I install the libraries on the DAVE/XMC?
Thanks in advance Show Less
I want to implement a kalman filter on a project with a XMC4500. I just want to know if it's possible to use GSL (GNU Scientific Library) matrix functions or if I need to make all the matrix operations "by hand".
If it's possible, how can I install the libraries on the DAVE/XMC?
Thanks in advance Show Less
XMC™
I need to issue a software reset in my code that restarts the processor as if it had gone through a power-on reset.Is there a macro or a DAVE app func...
Show More
I need to issue a software reset in my code that restarts the processor as if it had gone through a power-on reset.
Is there a macro or a DAVE app function call that will do this?
Thanks,
Kirk Show Less
Is there a macro or a DAVE app function call that will do this?
Thanks,
Kirk Show Less
XMC™
my code:#define MVB_Set( m, v, p ) do{ (m) |= ((1UL)<<(p)); (v) |= (1<<(p)); }while(0)#define BIT_SET(p) MVB_Set(dwMask, dwVal, p)int...
Show More
my code:
#define MVB_Set( m, v, p ) do{ (m) |= ((1UL)<<(p)); (v) |= (1<<(p)); }while(0)
#define BIT_SET(p) MVB_Set(dwMask, dwVal, p)
int main()
{
SCU_RESET_TypeDef *pSCU_Reset = SCU_RESET;
GPDMA0_CH_TypeDef *pGPDMA0_CH0 = GPDMA0_CH0;
BIT_SET(4);
REG_WR( pSCU_Reset->PRCLR2, dwMask, dwVal );
while( pSCU_Reset->PRSTAT2 & (1<<4) );
pGPDMA0_CH0->CLEARBLOCK = 1;
}
then the busfault happen, why ?
the register PPB->CFSR is 33280,whichi is Precise data bus error
the value of register PPB->BFAR is the address of register pGPDMA0_CH0->CLEARBLOCK
tks Show Less
#define MVB_Set( m, v, p ) do{ (m) |= ((1UL)<<(p)); (v) |= (1<<(p)); }while(0)
#define BIT_SET(p) MVB_Set(dwMask, dwVal, p)
int main()
{
SCU_RESET_TypeDef *pSCU_Reset = SCU_RESET;
GPDMA0_CH_TypeDef *pGPDMA0_CH0 = GPDMA0_CH0;
BIT_SET(4);
REG_WR( pSCU_Reset->PRCLR2, dwMask, dwVal );
while( pSCU_Reset->PRSTAT2 & (1<<4) );
pGPDMA0_CH0->CLEARBLOCK = 1;
}
then the busfault happen, why ?
the register PPB->CFSR is 33280,whichi is Precise data bus error
the value of register PPB->BFAR is the address of register pGPDMA0_CH0->CLEARBLOCK
tks Show Less
XMC™
How to build application in DAVE4 for capturing task with DAVE CE components?
XMC™
Are interrupt status flags automatically cleared upon executing the associated ISR or do they have to be manually cleared inside the ISR? I've been s...
Show More
Are interrupt status flags automatically cleared upon executing the associated ISR or do they have to be manually cleared inside the ISR? I've been searching through the XMC1000 family reference manual but don't see this answered anywhere. Thanks.
Show Less
XMC™
HiI was wondering if anyone can throw some light on what i'm doing wrong...I have an XMC2Go evaluation board. I have got pretty much all the bits of c...
Show More
Hi
I was wondering if anyone can throw some light on what i'm doing wrong...
I have an XMC2Go evaluation board. I have got pretty much all the bits of code that i need working quite nicely but i noticed that the device is running a bit fast so i have tried implementing the temperature based clock adjustment. I have enabled the Temperature Sensor (TSE) and got a reading from the ANATSEMON register that is 15683 decimal. I then called the _CalcTemperature ROM function which returns 64 decimal, which is supposed to be in degrees Kelvin (as a check I did trace this ROM function for a little bit and saw that it does indeed read the ANATSEMON register so i am pretty happy i am calling the right function). The value of 64 is fairly obviously wrong as it really isn't that cold in my office! It is also not useful for generating a oscillator correction... I am using the Keil uVision compiler and i have tried the code on two XMC2Go boards with pretty much identical results. The boards seem to have sensible calibration data and also appear to be production devices based on some other posts I have read (AE parts?).
Any help would be gratefully accepted! Show Less
I was wondering if anyone can throw some light on what i'm doing wrong...
I have an XMC2Go evaluation board. I have got pretty much all the bits of code that i need working quite nicely but i noticed that the device is running a bit fast so i have tried implementing the temperature based clock adjustment. I have enabled the Temperature Sensor (TSE) and got a reading from the ANATSEMON register that is 15683 decimal. I then called the _CalcTemperature ROM function which returns 64 decimal, which is supposed to be in degrees Kelvin (as a check I did trace this ROM function for a little bit and saw that it does indeed read the ANATSEMON register so i am pretty happy i am calling the right function). The value of 64 is fairly obviously wrong as it really isn't that cold in my office! It is also not useful for generating a oscillator correction... I am using the Keil uVision compiler and i have tried the code on two XMC2Go boards with pretty much identical results. The boards seem to have sensible calibration data and also appear to be production devices based on some other posts I have read (AE parts?).
Any help would be gratefully accepted! Show Less
XMC™
Is there a way to configure and read or set multiple pins from a port with the XMC_GPIO_... functions?These function only seem to work for single pins...
Show More
Is there a way to configure and read or set multiple pins from a port with the XMC_GPIO_... functions?
These function only seem to work for single pins. I need to read 8 inputs at the same time.
Do I need to bypass the library and set and read the port by directly accessing the registers? Show Less
These function only seem to work for single pins. I need to read 8 inputs at the same time.
Do I need to bypass the library and set and read the port by directly accessing the registers? Show Less