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

3D Magnetic Sensor Output

$
0
0
Quote:

Originally Posted by jferreira View Post
Hi,

Which board are you using? 3D Magnetic Sensor 2GO?

Regards,
Jesus

Hello,
I'm trying too to connect to the sensor via USB and C#, but I have no idea how to start and stop the device, and how to decode the data.
Some help would be hugely appreciated,
Marco Ciarrocca

How to work with influencers?

$
0
0
Looks like a good article so far. I even didn't work with the influencer before. Thanks for posting.

XMC4200 USB doesn't transmit data

$
0
0
Hi all,

I am writing a small application for XMC4200 (evaluation kit) to use its USB module (not using Apps). To the best of my knowledge, I configured the device correctly as I am able to receive and decode the first SETUP packet that requests the device descriptor. This tells me that (a) clock is configured correctly and (b) endpoint 0 (at least the OUT functionality) is also configured correctly.

However, when I use the API function XMC_USBD_EndpointWrite(...) to respond to the request, the host (PC) does not see it. It also looks like I don't receive any transfer complete interrupts on endpoint 0 IN.

Can anybody share some advice as to what they think the problem might be?

Thanks very much,

Andrey

XMC4500 RelaxKit Ethernet Connection

$
0
0
Hi!
Is that question still valid? <Ich könnte dazu evtl einen Code-Schnipsel beitragen...>
Regards,
Michael

Tc277 isa

Save electricity during daytime

$
0
0
Thanks for sharing Interesting post. Thanks for taking this opportunity to discuss this, I appreciate with this. If possible, as you gain information, please update this blog with more information. I have found it really useful. You can also try this if you want to - dissertation help service

Dave applications hangs in bool XMC_SCU_CLOCK_IsLowPowerOscillatorStable(void)

$
0
0
@Jesus: Had the same problem like Hans. Works very well! Thank you very much!

Dirk

IRLB3813 Occasionally failing upon battery insertion

$
0
0
Hi Consultofactus - are you still having this problem with the IRLB3813? Or is this now resolved for you? Can you let us know?

USB disconnection detection

$
0
0
Hi Daryl !
My Software also freezes, if you unplug the usb connector.
I've downloaded your example, but i can't find any event callback for USB disconnect event.
Where is it?
Regards,
Michael

Using BTS716

$
0
0
I am building an Arduino-controlled solenoid system designed around the 4x4 Driver Shield from SparkFun based on IRs IPS6044 to drive the solenoids.

I am now spinning my own board and I realised that the driver IC on the shield is now obsolete.

To replace the IPS6044, I chose Infineon's BTS716G. It seems to be very similar to the IPS6044 and is suitable to drive 12 V 0.67 W solenoids.

Is there anything significantly different between the BTS716G and the IPS6044 that I need to consider?

Thank you,

DG

Replacing IPS6044 with BTS716G

$
0
0
Hi dglman,

BTS716S is the good replacment for IPS6044, but note the switching time difference between both parts.

We do not recommend to let ST pins floating, you can pull it up or down.

Occam

DAVE UART App -> Shift Settings -> MSB First Doesn't work

$
0
0
I have DAVE-4.3 with the Update Site Pack 2017-08-07.

I tried to set the MSB first setting in the DAVE App, but when I checked the signal with an oscilloscope the bits still came in LSB. The generated code shows this addition to UART_0_init() in uart_conf.c:
Code:

/* MSB first */
  XMC_USIC_CH_SetShiftDirection(XMC_UART0_CH1, XMC_USIC_CH_SHIFT_DIRECTION_MSB_FIRST);

This function is in xmc_usic.h and seems correct:
Code:

__STATIC_INLINE void XMC_USIC_CH_SetShiftDirection(XMC_USIC_CH_t *const channel, const XMC_USIC_CH_SHIFT_DIRECTION_t shift_direction)
{
  channel->SCTR = (uint32_t)(channel->SCTR & (~USIC_CH_SCTR_SDIR_Msk)) | (uint32_t)shift_direction;
}

But the XMC_USIC_CH_SHIFT_DIRECTION_MSB_FIRST setting is defined as:
Code:

  XMC_USIC_CH_SHIFT_DIRECTION_MSB_FIRST = 0x1UL << USIC_CH_SCTR_SDIR_Msk /**< Shift MSB first. The first data bit of a data word is located at the bit position given by the configured word length. */
when it should be defined as:
Code:

  XMC_USIC_CH_SHIFT_DIRECTION_MSB_FIRST = 0x1UL << USIC_CH_SCTR_SDIR_Pos /**< Shift MSB first. The first data bit of a data word is located at the bit position given by the configured word length. */
This is in the xmc_usic.h file. I'm a little wary of correcting the code in that file because I don't want to mess anything up (and it hurts the portability of the code when the standard include files are changed), and the Dave code gets regenerated automatically.
Any recommendations on the best way to set that bit without messing around with the include files?

Position error accumulation with incremental encoder

$
0
0
I use an incremental encoder in my FOC motor control system. The encoder signal acquisition is based on the example provided on Forum that using POSIF and CCU4. Now, I face the position error accumulation problem. Is there a way to use the index signal to reset the position count in every revolution? I tried, but have not work yet. I appreciate any helps!

xmc1400 PRNG seeding

$
0
0
Could not understand your problem.
Can't read VADC from some port, or can't find a good seed for PRNG?

Master SPI for the Reading of multi_channel AD-Convertor / the frame>64bit

$
0
0
Hi everybody,
I will read the AD-data from ADS131A04 like this> see the page 36 of datasheet. texasInstruments
it should be 16+4*24 bits, what is 112 pulses of SCLK. SCLK should be very quick / min 25 MHz
.
But the CS/ signal have to be only during reading obligatory Low. / without the moving to Hi, what is the effect of use two frames....
I did not find similary application
zbyno

Remote Networks

$
0
0
Remote access is the ability to get access to a computer or a network from a remote distance. In corporations, people at branch offices, telecommuters, and people who are travelling may need access to the corporation's network.

A speciality which you will hardly find anywhere else are our remote networks. Instead of installing the network on-site as usual, we will build you a network in a computer centre. Not only do you save the investment costs and a lot of space, you also gain lots of flexibility and security. Sounds good but complicated? Don’t worry, we’ll take care of everything you don’t wish to do yourself. You can also get out or change at any time without a period of notice.

With the remote networks Berlin, we have created a solution which uses modern technology in such a way that your workstation and your data are always where you need them. Instead of buying a server and workstations, you rent them and extend or reduce the network as required. As there are no term tie-ins, you are flexible and pay only for what you use.

Our Remote Networks are fundamentally built the same as local networks. It is just that the server and the workstations are not on site but in a computer centre in Germany. Such a network is thus very secure, fully climatized, monitored round the clock and perfectly connected to the internet. Instead of a large PC, a small box with you on site, quietly connecting your monitor, keyboard and mouse with the workstation in the computer centre and saving electricity, is enough. That might sound complicated and fragile but it is actually extremely robust and stable.

The only precondition is a stable internet connection, which are present nearly everywhere these days. Stability is more important here than speed. Even a radio connection from an island is usually enough.

Since this is the only precondition, you can access your network from the office, home, hotel or from on holiday without any limitations. Everything is always there, nothing can get forgotten. Valuable data is not carried around on notebooks and so can’t fall into the wrong hands. It is a very modern kind of office work and the perfect solution for collaboration from different places, wherever these might be in the world.

We offer the remote network as a pure rental solution. You rent your network monthly at a cost of 375.00 Euro plus VAT without investment and with no notice period. You can administer it yourself or pass this task to us. Changes are possible at any time, you book servers and workstations as and when you need them. You don’t have to be a specialist or consult one. You tell us what you need, we’ll do the rest for you.

We do not want to leave unsaid the characteristics of this solution that should certainly be considered. Your computer on site or your notebook communicate double-encrypted with the computer centre. No data is transferred, only what is on the screen and your inputs. That works perfectly for office work but not for games, videos or music. The connection is unsuitable for that so it won’t be any fun. Simple solution: use local computers for games, videos or music, and the remote computer for working.

Ir2110

$
0
0
Hi

I'm trying to figure out how can I use IR2110 in my projects. I have couple of questions:

- Are R6,R8 mandatory? It doesn't seems to work properly at low freequency. I expect that when HIN is ON for 100ms, that vgate1 should stay ON for 100ms (time depends on bootstrap cap). But when using 1K R6,R8 gate stays opened for short time as it is drained away very quickly.
- When there is no load, high side MOSFET source is charged from VS and vgate1 compensate so that MOSFET VGS stayes at 0V. Is this expected behavior? If so, I do not like that VCC is leaking into high voltage circuit (bridge). Is there a way to prevent this? I would expect that when IR2110 powers ON and no load is present (all gates in bridge is closed) that all gates should be at 0V and no voltage is present on VOUT1.

Attachment 3105

Regards,
Boris Makovecki
?????

Checking Power Supply Voltage on XMC1000

$
0
0
Hi,

In looking through the reference manual, I couldn't find enough information on the Power Management system about the VDESR flag outputs.

I have tried the following for checking the voltage level:

https://www.infineonforums.com/threa...supply-voltage

as well as the following code:

Code:

        SCU_GENERAL->PASSWD = 0x000000C0UL;
        WR_REG( SCU_ANALOG->ANAVDEL, 0xFFFF, 0, 0x0012 ); // enable voltage detector with 4.4V threshold
        SCU_GENERAL->PASSWD = 0x000000C3UL;
        voltageLevelFlag = (uint8_t)RD_REG( SCU_POWER->VDESR, SCU_POWER_VDESR_VDDPPW_Msk, SCU_POWER_VDESR_VDDPPW_Pos);

to try to determine whether the power supply is providing 3.3 or 5 volts. Unfortunately, I always get 0 as the voltageLevelFlag which unfortunately does not tell me if the problem is that the voltage monitoring was not set up properly or there is some other problem. Based on my readings, I would expect that operating with 3.3 volts would give an output of 2 and operating with 5 volts would give an output of 0.

Are any steps missing because the need to set the password was not in the manual? So it is not entirely clear if other steps may be required.

Thanks,

Jason

File Transfer on EtherCAT - FoE, firmware update using XMC4800

$
0
0
Hi,

I struggled with the same issue and ended up with the error "Failed to download file to '...' (1001). FoE Err(0x8009)" when I tried to download the .bin file over FoE.
But after I carefuly read the touroial PDF I managed to get it up and running.

In the tutorial PDF (Getting Started - XMC4800_Relay_EtherCat_APP_FWUpdate_Slave_SSC_Exam ple) it says you have to modify the function "APPL_Application()" and "APPL_StopMailboxHanler" in the XMC_ESC.c file. BUT this is not the only generated Code you have to modyfie. Ist not specialy mentioned, but you also have to modify the function "FOE_Write(...)" and "FOE_Data(..)" in the foeappl.c file. When you compare the generated Code from the SSC Tool with the one pictured in the PDF you will find the difference ;)

Regards
Simon

CCU8 PWM synchronous : Start, Stop and Restart

$
0
0
Hi All,

I have successfully started CCU8 PWM for slice_0 and slice_2 in synchronous mode.

After initializing CCU8 global and slice registers. I am using the following command to start the PWM synchronously.

Code:

XMC_SCU_SetCcuTriggerHigh(XMC_SCU_CCU_TRIGGER_CCU80);
I am stopping the PWM with following code :

Code:

        CCU80_CC80->TCCLR = ((uint32_t)CCU8_CC8_TCCLR_TRBC_Msk);
        CCU80_CC80->TCCLR = ((uint32_t)CCU8_CC8_TCCLR_TCC_Msk);
        CCU80->GIDLS      = 1 << 0;

        CCU80_CC82->TCCLR = ((uint32_t)CCU8_CC8_TCCLR_TRBC_Msk);
        CCU80_CC82->TCCLR = ((uint32_t)CCU8_CC8_TCCLR_TCC_Msk);
        CCU80->GIDLS      = 1 << 2;

The problem I am facing is :
  • After stoping PWM, depending on condition, I have to again restart the PWM in synchronous mode but its not starting.
  • I have even tried to call the previous CCU8 initialization routine and using XMC_SCU_SetCcuTriggerHigh(XMC_SCU_CCU_TRIGGER_CCU8 0); tried to restart the PWM, but it is not at all restarting

I need help to restart the PWM in synchronous mode after stop condition.

Guide me in this regard.

Thanks.

Tinchu
Viewing all 9892 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>