Quantcast
Channel: Infineon Forums
Viewing all 9892 articles
Browse latest View live

Infinite loop instead of break loop

$
0
0
Hi,

Try with :

Code:

       
        int a = 0;

        do
        {
          __nop();
          a += 1;
        } while (a < 20000);

Regards,
Jesus

Flash read protection - cannot connect anymore

$
0
0
Hi,

The read protection will also enable a global write protection and the debugger will not have access anymore.
See Flash Protection in reference manual.

"For an effective IP protection the Flash read protection must be activated. This ensures
system wide that the Flash cannot be read from external or changed without
authorization."


You need to foresee this and implement a backdoor if you wish to disable the protection using another communication interface.

Regards,
Jesus

Connection closed by the GDB server - no source available for "0x0"

$
0
0
Hi,

I'm new to DAVE and need help with debugging my XMC4800 Relay Kit.
When I create a new "DAVE CE" or "Simple Main" project I'm not able to use the debugger. The code download works fine but then the debugger terminates with "no source available for 0x0".
When I use the "Easy Start" Project the Debugger works fine.
Which Checkbox do I have forgotten? Maybe there is also a tutorial which explains this but I haven't found it.

Thanks.
?????

FIFO Transmit works only with delay after putting data into FIFO

$
0
0
Hello community,


see the title for the Problem: FIFO Transmit works only with delay after putting data into FIFO.
I send out data vis SPI to be display on a TFT display.

This means, when I set a delay of about 100 cycles (I am using an XMC4800), everything shows up nicely on my display.
However if i skip this delay, nothing can be seen on the screen.
What am I doing wrong with my FIFO Settings?

See the sending function:
Code:

void disp_vSPI_TransmitWord(USIC_CH_TypeDef* USICX_CHX, const UINT16 data)
{
        UINT16 u16WaitCtr = 0;
        if ((USICX_CHX->TRBSR & USIC_CH_TRBSR_TFULL_Msk) == TRUE) //CCM__O_TX_FIFO_FULL)
              {
                return ;
              }
        //Push Data in FIFO Buffer
        USICX_CHX->IN[DISP_SPI_USICCH_MODE] = data;
        // Wait until Data is transfered to FIFO
              while ( ((USICX_CHX->TRBSR & USIC_CH_TRBSR_TEMPTY_Msk) == 0))
              {

                u16WaitCtr++;
              }
// IF I UNCOMMENT THIS WAITING ROUTINE, NOTHING HAPPENS
              for ( u16WaitCtr=0; u16WaitCtr < 230;u16WaitCtr++)
                            {
                        doNothing();
                            }

}

The advantage of the FIFO should be, that I donnot need this kind of delays, right? (I mean otherwise I could also use the TSIF Flag, but this is very time expensive...)
See the image for the FIFO and BRGconfiguration.
Attachment 2743

Questions about XMC-Link

$
0
0
Hi Holger

1. The speed up to 4MHz for SWD
2. Yes. but not built-in, need an extra license
3. Yes, as well need an extra license, but you can use Jflash lite without license
4. It should support other Cortex-M microcontroller.

Best wishes

Hongjie

Raspberry PI XMC1000 compiler

GPIO Clock

$
0
0
Are you running code out of FLASH space or out of RAM? You will come very close to 32 MIPS with a base clock of 32MHz if your code is run out RAM.

As a side note, I am highly confident setting GPIO is essentially a two step process. Please forgive me if I use the wrong terminology,...port access is much like a shadow register. First, you set the register to the value you want (1<<12), then you commit/latch the register value to the actual port hardware.

I think your 1.7uSec and 564nSec discrepancies are related to the wait states associated with M0 cortex based devices and how port access is handled. You could also check the optimization level. Is it set to -O3 for speed?

Steve.

Debugging suddenly does not work anymore


Implementing FMCW on XMC4400 microcontroller

$
0
0
Quote:

Originally Posted by finketho View Post
Hi all,

Infineon is working on a FMCW SW for the BGT24RFB2412 with high priority. Currently there is only Doppler SW available. So, please stay tuned. As soon as development is done the SW will be available from the website.

Best regards,
Thomas

Hi.
Do you have any news about the FMCW SW development?
Where can we get it from?

Amplifying & filtering BGT24ATR12 IF signal

$
0
0
Hi

I'm working on a bicycle-safety project as a CS engineering student.

I want to connect the BGT24ATR12 radar (I/Q of the two Rx channels) to the DAC ports of the XMC4200.
Can anyone recommend an amplifying&filtering method for the mid-range (2-40m)?
Is there a known chip I can use to amp the signal? what kind of filtering should i use?

Thanks a lot!
Elad!

SVPWM Angle and Amplitude

$
0
0
Quote:

Originally Posted by sophia View Post
Hi,

Are you referring to PWMSVM01 App?

Best regards,
Sophia

no i recently study about svpwm i have some idea about implementation without using microcontroller ir fpga .
i found the stream of bits for 3 switches and then store the bits on an eprom and drive eprom with counter
if you want i can sent you more details pleas email to me with the subject of new svpwm implementation
thank you
?????

XC800 & Incremental Encoder

PWMSP001 Count down mode?

$
0
0
Hello,
I now have the same problem with the XMC4500 Relax Kit. I need to set the CCU4 into down-count mode as described in the application note http://www.infineon.com/dgdl/Infineo...4ed8dd0f4614c0.
Just inverting the passive level is no solution for me thus it leads to short circuit when I stop the PWM.
I tried connecting a IO-Pin to event 1 but it doesn't work. When I change the "External counting direction" PWM just doesn't start instead of counting downwards.
What is the right way to change the count-mode? Of course I'd prefer the SW way setting the bit directly...
Best regards,
Clem :-)
Attachment 2747Attachment 2748

Hello World

Hello World


sense2go raw data

$
0
0
Does anyone have the code or tool which can get the raw data before MCU progress? Thanks

Connection closed by the GDB server - no source available for "0x0"

$
0
0
can't anyone imagine what's the Problem? Infineon?
It seem to be a DAVE Problem. I just moved to another PC and did the same. Here it is working!

The differences between the PCs are:
on the working PC I have direct Internet and admin rights.
on my normal pc i'm running DAVE without admin rights and i had to move the LibraryStore because of the bad default Folder. Also the Internet Connection is limited by our IT

GUI_SEGGERLIBRARY problem

Absolute Maximum ratings of RF Devices

$
0
0
Hi Luxun,

I’ve been on leave, hence the delay in response. The truth is, the specific device I refer to above is NOT actually an Infineon product. I used Nitronex NPTB0004 as a case study. But the question is generic. I ask this question of myself for any power RF device I may use, but can never get any confirmation from peers that the logic is correct and I am not missing something fundamental.

Regards,
BK Parker
PS :I had hoped this to be a general engineering forum, but if it is limited to issues regarding Infineon devices, please accept my apology.

PHY compatibility difference DAVE 3 DAVE 4

$
0
0
Hi,

DAVE3 and DAVE4 implementation are different.
Most probably in DAVE4, since you are using the DP83848, the phyids are not matching (function XMC_ETH_PHY_IsDeviceIdValid)
For the TLK106 (on pag. 46):
#define PHY_ID1 0x2000
#define PHY_ID2 0xA211

Regards,
Jesus
Viewing all 9892 articles
Browse latest View live