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

Aurix 2G Datasheet missing Port Pin Reset behaviour section similar to Aurix 1G

$
0
0
Hello Support,
Shown below is a snippet from Aurix 1G datasheet describing Port Pin Reset behavior.
I am unable to find out similarly named section in Aurix 2G datasheet.
Can you please provide me some reference where I can find similar Table for Aurix 2G?
Attachment 5032
Best Regards
?????

Questions reg; Infineon Software Framework and iLLD package using TASKING tools

$
0
0
Hi Rob,
Do you have solved the problem? Would you please tell me how do u solve the problem? same exception occurs to me now.

IRPS5401 won't start / initial bring-up

$
0
0
Did this fix the problem? I have the same problem...
STATUS_WORD [OFF] [POWER_GOOD#]

XMC_I2C Data Incorrect

$
0
0
Hi

I am using the I2C_Master APP, it works fine, but occasionally incorrect data occurs. I have provided an oscilloscope and interrupt screenshots. You can see:
According to the results of the oscilloscope, the value is "FF,FC", and the decimal is 65532
According to the interrupt result, the decimal value is not 65532 (actually 65535)
I thought it was input interference, but the oscilloscope result was not like this. This happens approximately every 10-30 seconds, irregularly.

Thanks.

CRC is not calculated for Ethernet Frames

$
0
0
Hello,

I am using TC299 Controller. I am trying to use Ethernet module. The transceiver used in the ECU is Broadcam BCM89811.

When i am trying to transmit a Ethernet frame the CRC is not automatically calculated in the Transmit descriptor.
Anything to be verified?

Matlab building error and importing the code to DAVE

$
0
0
Hello,

I'm having a problem using the matlab simulink xmc library. Upon building the project, I getting the following error message in matlab:
Code settings: Infineon_XMC_Family.tlc; language C; Solver: Fixed-Step auto.
CMSIS Library path is empty;Compiler path is empty.
see pic 1

What does the error mean and how can I fix it?

There is no official guide on how to use the library and how to import the code to DAVE. Also I would like to debug directly from matlab. Is this possible and if so, is there a guide?

Thank you in advance!
?????

Aurix2G P14_IOCR reset value

$
0
0
Hi,

for "internal start on from flash" and HWCFG6==1 on a triboard with 377:

What reasons can there be for
a) P14_IOCR is _not_ set to reset value "10101 1010" == input pull-up mode after power on
---
b) P14_IOCR _is_ set to reset value "10101 1010" - but several pins have pin_in register value == 0.
---
c) HWCFG6==0, but the IOCRs do have the power on value "10101 1010"

Regards

VADC not working in Triboard.

$
0
0
Hello All,
I tried to use ADC using Triboard TC277 with the help of Aurix provided example "ADC Background Scan_1". the hardware connection i made is, I simply connected a 10K potentiometer to vary the voltage on the "AN0" pin.
when i tried to run I found the ADC conversion is not working despite I change the voltage level(0 - 5V). All I am noticing is the junk values of the noise produced on the pin.
What do i need to do to get the ADC working. the below are the register values to configure the channel.

GLOBCFG.DIVA = 4 "but I see 2 here in the debugger"
GLOBCFG.DIVD = 0
GxARBCFG.ARBRND = 0
Vadc digitalFrequency = 1e8
Vadc analog Frequency 2e7
Vadc module frequency 1e8
Sample time = 1e6

STCS = 14;

Kindly help me in this regard.
Deepak

New SPI Master bugged?

$
0
0
Hi @jferreira, @jesus, @Infineon,

When adding SPI_MASTER app versions 4.3.22 or 4.3.26
I immediately get the same error as mentioned above:

Desired bus speed: "Entered value is not in range [0.1, 0.0]."

Please fix this!
Thanks

Problem executing MBIST

$
0
0
Are you using the iLLD code, or rolling your own? In the iLLD, it's pretty easy:
Code:

IfxMtu_runMbistAll( mbistGangConfig );
If you're rolling your own, you have to be very careful to avoid accessing the memories being tested, because it'll cause a bus error.

Connections for Q=2 Hall sensors EVAL-M1-101T ?

$
0
0
At the moment I'm having issues getting the Imotion combination boards to drive a BLDC washing machine motor.
The problems don't occur at high speed but rather start up. When trying to drive a load, the motor will try to turn, then the motor will completely stop yet make a noise as if something is being energized..

It appears as if without hall effect, the motor and driver combination is "lost"--that it can't make the determinations based solely on measurements.
Does this sound logical?
All these motors have hall efffect sensors--but discussions with BLDC people said they're not needed.
What's your "take"? I default to motor experts.

If only hall effect will solve, I'd be willing to try. Not sure we can wait till October

I'd be willing to try adding components--I now have Q=3 eval boards courtesy of assuming they were locked up. (bricked)
crude Schematic?

And let me guess, the Imotion tools don't support it yet, so would it be useless to add the components?
Or is there a work around for that?



Quote:

Originally Posted by snget2 View Post
Hello dwissel,

EVAL-M1-101T does not support hall sensors. We will have another evaluation board, EVAL-M1-101TF which does. This board will be released by the end of October, 2020.
JP2 are not connect to AIN3, and AIN4, JP3 pint 2, and 3 are connected to AIN3, and AIN4.

While EVAL-M1-101T uses the IMC101T-T038 which supports digital Halls, the board itself does not. In order to use hall sensors, we need to add a pull-up, and RC filter components for each DHALL channel. And the cap needs to be close to the pin. If not done correctly, then it ends up noise susceptible. We recommend using the EVAL-M1-101TF when available.

Changing BMI setting via ASC BSL (UART)

$
0
0
Is there a better way to get a response than this forum? Nobody seems to be monitoring it.

CCU4 counting direction

$
0
0
I am using a CCU4 slice to count the number of pulses output from another CCU4 slice.
I want to be able to set the direction of the counter by software, but cannot find a way to do this. The counting direction bit TCST.CDIR is read only. There does not seem to be any bit anywhere to select the direction.
The direction can be controlled by an external event, but the inputs of the events are all other peripherals, there is no software input.

I feel sure there must be a way to control the direction by software.

Does anyone have any ideas?

Using VADC_GROUP app gives error in VADC around 2048

$
0
0
I have had a similar problem when using the ADC. The problem was with the Vref supply voltage. In our hardware we had a filter on the Vref input, but we found that the ADC uses a lot of current when measuring values around the centre point.
I would suggest you measure your reference voltage with an oscilloscope and see if it dips during the conversion, we had spikes of up to 100mV, which resulted in incorrect results.

Aurix Instruction Set

$
0
0
I'm looking for Aurix Instruction set. As I understand it's not the same as Tricore IS. Am I right? I'm asking because I can't find it on the site.
I will be grateful for any help. Thanks

Gate x collector problem in IGBT

$
0
0
Hi Marcelo,

I understood that during the maintenance of inverters you have found some failed modules.
It would be very good to send them to us for the analysis.
After investigation you will get a report.
Please contact your distributor or sales representative to check on how to do this.

BR,
AlexG

Ethernet Working on TC2x7 Application kit board but not on TC297 Normal Board?

$
0
0
Hello,
I have 2 boards:
-Application Kit TC2x7 v1.1
-TriBoard TC297 v1.0
(Both Aurix)

On my application kit TC2x7, Ethernet Functionality works and all is good (Ping works and I can send and receive packets) , but when I upload my code to the TC297, It doesn't (No ping no nothing)
It is the exact same code and exact same binary (AUTOSAR Classic projects compiled with Tasking to Tricore if it makes any difference).

Is there a reason this happens? Was there a notable Ethernet change between the versions that causes the code to work on v1.1 but not v1.0?

I'll also add that the Ethernet port lights do light up even on the second board that doesn't work...

I would be very grateful for any help, thanks!

I2C Not Sending Data -- Configuration Issue?

$
0
0
I'm writing an I2C driver for the XMC4700 and am having problems getting it to actually do anything on the I2C bus. I'm not using DAVE, or any libraries--I'm writing to the peripheral registers directly.

The hardware configuration is the XMC4700 Relax board. I'm configuring my I2C driver to use USIC channel U1C1, with the pins configured as follows: SDA (P3.15 DX0A/DOUT0), SCL (P0.13 DX1B/SCLKOUT). I have the pins themselves configured as outputs, ALT Function 2, open drain.

I have taken USIC1 and PORTS out of reset.

Here's how I have U1C1 configured:

KSCFG = USIC_CH_KSCFG_MODEN_Msk | USIC_CH_KSCFG_BPMODEN_Msk

CCR = 4

PCR = USIC_CH_PCR_IICMode_SCRIEN_Msk | USIC_CH_PCR_IICMode_RSCRIEN_Msk | USIC_CH_PCR_IICMode_PCRIEN_Msk |
USIC_CH_PCR_IICMode_NACKIEN_Msk | USIC_CH_PCR_IICMode_ARLIEN_Msk | USIC_CH_PCR_IICMode_ERRIEN_Msk |
USIC_CH_PCR_IICMode_ACKIEN_Msk | (0xa << USIC_CH_PCR_IICMode_HDEL_Pos)

DX0CR = USIC_CH_DX0CR_DSEN_Msk | 0b000

DX1CR = USIC_CH_DX1CR_DSEN_Msk | 0b001

SCTR = USIC_CH_SCTR_SDIR_Msk | (1 << USIC_CH_SCTR_PDL_Pos) | (0b11 << USIC_CH_SCTR_TRM_Pos) | (0x3f << USIC_CH_SCTR_FLE_Pos) | (7 << USIC_CH_SCTR_WLE_Pos)

TCSR = (0b01 << USIC_CH_TCSR_TDEN_Pos) | USIC_CH_TCSR_TDSSM_Msk

BRG = (9 << USIC_CH_BRG_DCTQ_Pos) | ((pdiv - 1) << USIC_CH_BRG_PDIV_Pos);
FDR = (step << USIC_CH_FDR_STEP_Pos) | (2 << USIC_CH_FDR_DM_Pos);


After setting everything up as above, I'm attempting to do an I2C write operation to an MCP9808 temperature sensor connected to the I2C bus attached to P0.13 and P3.15. Both SCL and SDA have 10K pull-ups to Vcc. There are no other I2C devices on the bus. To start the transfer, I'm writing the following to U1C1's TBUF[0] register:

TBUF[]0] = (0b100 << 8) | (slaveaddr << 1)

That should cause the USIC to initiate an I2C start condition on the bus and send the slave address on the bus. I've got a logic analyzer connected to both SCL and SDA and see no transitions on either line. When I write to TBUF[0], the only U1C1 register changes I see are these:

TCSR.TDV changes from 0 to 1
TCSR.TE changes from 0 to 1

In particular, I do not see PSR.SCR go to 1, which would indicate the START condition has been initiated. I do see that DX0CR.DXS = 1 and DX1CR.DXS = 1, which, if I'm reading the reference manual correctly, should be the current values of the bus lines. They should be high in idle state, which they are, but they should transition during a start sequence, which they don't.

Since I'm not seeing any I2C bus activity, I checked that the two ports (P0.13/P3.15) work as normal GPIO ports, and they do, both as push-pull outputs and open-drain outputs.

What am I missing here? I'm sure that I have a minor configuration error preventing things from working, but I've been over the code many times and just don't see it.

Example DAVE for BLDC_SHIELD_TLE9879

$
0
0
Hello everybody,

I would like to connect the board BLDC_SHIELD_TLE9879 with an XMC microcontroller and control a BLDC motor.

Is there an example for the DAVE development environment?

Thanks in advance.

greetings
SkyiMotion

MCE Wizard V2.3 window not opening.

$
0
0
Just installed it. When started icon shows up in Tool Bar but window does not open. Is there something special that is required?

Andrew
Viewing all 9892 articles
Browse latest View live


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