AURIX™ Forum Discussions
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/tc397-can-%E5%8F%91%E9%80%81%E6%95%B0%E6%8D%AE%E5%A4%B1%E8%B4%A5-%E4%B8%80%E5%8F%91%E9%80%81%E5%B0%B1%E4%BC%9A%E8%BF%9B%E5%85%A5buf-off/td-p/678165
Show LessHi All:
I downloaded the MTU_MBIST_1_KIT_TC275_LK as an example for memory testing. I made some minor modifications to determine the runtime of the test_MTU_MBIST function using the GPIO pin state, and to provide the test result feedback using PWM. This code segment is executed separately on CORE0, CORE1, and CORE2.
The TEST_ITEM includes the following sections, and the results are organized into the table below:
Based on the table, a few questions arise:
-
The rangeAddrUp in the green box is the default value in the example, while the values in the yellow and red boxes are obtained through the Bisection method. It can be observed that IfxMtu_MbistSel_cpu2Pspr, IfxMtu_MbistSel_cpu1Pspr, IfxMtu_MbistSel_cpu0Dspr must be set to 0xEF for a successful test result. Since I couldn't find any documentation explaining the memory bounds for these regions, I would like to know if this approach is appropriate.
-
Why does the execution of the example code on Core1 always result in a test failure?
-
Why does Core0 have a longer testing time compared to Core1 and Core2?
-
I thought that the Core0 test for IfxMtu_MbistSel_cpu0Ptag should also fail, similar to how Core1 and Core2 test their own core's RAM. But the fact is contrary to my guess.
在配置Tom中断时,为什么每个Tom只有channel0可以进入中断,换成别的channel就进不去中断了,是需要什么额外的配置吗?
I have an Aurix TC375 Lite Kit. I installed the IDE and tried the console example but it did not work.
My question is this:
1. Prior to attaching it to a PC, does it need to be flashed ?
2. Normally, when you attach a USB device, it shows up in Device Manager. This one does not. I also
tried another laptop and then a linux pc. Normally in Linux, you can see a USB device by looking
at the System log using dmesg. However, this one does not show up.
3. I suspect the hardware is not being detected at all. So, I think I am missing some initialization.
I've tried USB 3.0 port. USB 2.0 port. Win 11. Win 10. Linux. But the board is not being detected.
Cable issue? Does it need a special USB-A to micro USB cable? Board had no cables so I am just
using what I have.
Show Lesssmartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/TC397%E5%A4%B1%E6%95%88%E7%8E%87%E7%9B%B8%E5%85%B3%E6%96%87%E6%A1%A3/td-p/688205
Show LessHi, all:
I'm trying to porting the Ethernet example project for our customize board which using TC397 MCU and TJA1101B PHY.
I choose Ethernet_1_KIT_TC397_TFT as base.
Because the base example is using RGMII while our board is using RMII, so I also reference Ethernet_1_KIT_TC375_LK refer this post https://community.infineon.com/t5/AURIX/Ping-command-isn-t-working-on-Aurix2G/td-p/339823
But while running the program, the DMA can not triggered. Both Tx and Rx.
And the status is not right.
I validated the demo project by using the TriBoard, it's OK.
The only difference is the PHY. I check the PHY settings and status many times and didn't find something wrong.
I need some tips to find the issue. Thanks~
Show LessHi! I learned from TC3xx manual that psi5 cannot receive sensor current signal and send voltage synchronous pulse. I would like to know whether there is a transceiver suitable for psi5 at present. Note that it is not psi5-s
Show LessDear AURIX experts,
My use case with TC357TA involves connecting two of its ADC kernel's to RIF.
I configure ADC to store result to RES15, as it is routed to GxDATA[20:0] of RIF.
adcChannelConfig.resultRegister = IfxEvadc_ChannelResult_15;
Here's the code I configure RIF:
//Get default configuration
Ifx_RIF *rif = (Ifx_RIF *)IfxRif_cfg_indexMap[index].module;
IfxRif_Rif_Config config;
IfxRif_Rif_initModuleConfig(&config, rif);
//Change default-configuration according to the given definition
config.connectedAdc = IfxRif_Adc_internal;
config.numOfChannels = 2;
config.fwdg.threshold = 0x100;
config.data.crcEnable = FALSE;
config.interrupt.errPriority = AURIXDATA_IRQ_PRIORITY_ERR[index];
config.interrupt.intPriority = AURIXDATA_IRQ_PRIORITY[index];
config.interrupt.rampEndEnable = TRUE;
config.interrupt.chirpEndEnable = TRUE;
config.interrupt.frameWatchdogOverflowEnable = TRUE;
config.interrupt.ramp1StartEnable = TRUE;
config.interrupt.ramp1ErrorEnable = TRUE;
config.interrupt.chirp1ErrorEnable = TRUE;
config.rsm.ramp1SignalEnable = FALSE;
config.rsm.numOfValidSamples = 200;
config.rsm.rampsPerChirp = 100;
config.rsm.lockstepEnable = FALSE;
//Apply configuration to hardware registers
IfxRif_Rif_initModule(&m_rifHandlers[index], &config);
However, it does not work. I seems none of the ADC samples are read in. CURRAMP and CURSAMPLE never advances. Also debug data registers DD1 to DD4 are all 0x0.
If I enable "ramp1SignalEnable", I am able to get interrupt "IfxRif_Interrupt_ramp1Start". Reading the user manual, I am under the impression that ramp1 signal is for external ADC, and it comes from external IO pins.
For internal ADC, without any ramp1 signal coming from IO pins, I should disable ramp1, correct? But if I configure EVADC to put results in register other than RES15, the ramp1 interrupt is not triggered. Therefore, it feels like the ramp1 signal is coming from EVADC, but it shouldn't be, right? And also in iLLD IfxRif_Rif.c, line 115, the ramp configurations are only effective when internal ADCs are selected. I am confused, is RAMP1 signal for external ADC or internal ADC?
Ramp1Start interrupt or not, ADC samples are not taken in by RIF. And none of the ERROR interrupts were ever triggered.
What am I missing? Please help.
Thank you very much!
EDIT:
I also tried numerous combinations of configurations with different parameters, such as:
config.data.alignment = IfxRif_DataAlignment_right;
config.data.format = IfxRif_DataFormat_unsigned;
config.data.shiftDirection = IfxRif_ShiftDirection_lsbFirst;
config.data.flmMode = IfxRif_FlmMode_direct;
config.data.fullSwapMode = IfxRif_FullSwapMode_direct;
config.rsm.ramp1SignalEnable = TRUE;
config.rsm.ramp1SignalInput = IfxRif_Ramp1SignalInput_0;
config.rsm.ramp1SignalPolarity = IfxRif_Ramp1SignalPolarity_lowActive;
But none of them worked.
Checking the iLLD code, some configuration has no effect when internal ADC is selected. So I directly configured them. Such as :
IfxRif_setDataLength(rif, IfxRif_DataLength_12bit);
And I also enable FIFO with:
IfxRif_enableFifos(rif, config.numOfChannels);
None worked.
Now I am stuck. EVADC data is not coming into RIF no matter how I configure RIF module.
Show Less