AURIX™ Forum Discussions
Infineon Engineers:
Hello! I obtained the routine for motor control of TC387 according to Infineon's official link address, which is as follows:
Unfortunately, "PmsmFoc_Evadc_PhaseCurSense_Isr" in the code seems to be missing and cannot be opened, as shown below:
Therefore, I have the following questions for the guidance of Infineon engineers:
1. I need to obtain the PmsmFoc_Evadc_PhaseCurSense_Isr function in the code so that I can better understand the code.
2. If it is written as the above "PmsmFoc_Evadc_PhaseCurSense_Isr" function, it seems to be an interrupt function, and this function is used to trigger ADC, then does it mean that the ADC is triggered by an interrupt rather than a PWM trigger? What this code seems to express is that it wants to use PWM as an ADC trigger source:
IFX_INLINE void Gtm_initTrigToEvadcCurSense(void)
{
/* ADC G0 Triggered by GTM TOM1 CH7 */
IfxGtm_Trig_toEVadc(&MODULE_GTM, IfxGtm_Trig_AdcGroup_0, IfxGtm_Trig_AdcTrig_1,IfxGtm_Trig_AdcTrigSource_tom1,IfxGtm_Trig_AdcTrigChannel_7);
/* ADC G1 Triggered by GTM TOM1 CH7 */
IfxGtm_Trig_toEVadc(&MODULE_GTM, IfxGtm_Trig_AdcGroup_1, IfxGtm_Trig_AdcTrig_1,IfxGtm_Trig_AdcTrigSource_tom1,IfxGtm_Trig_AdcTrigChannel_7);
/* ADC G2 Triggered by GTM TOM1 CH7 */
IfxGtm_Trig_toEVadc(&MODULE_GTM, IfxGtm_Trig_AdcGroup_2, IfxGtm_Trig_AdcTrig_1,IfxGtm_Trig_AdcTrigSource_tom1,IfxGtm_Trig_AdcTrigChannel_7);
/* ADC G3 Triggered by GTM TOM1 CH7 */
IfxGtm_Trig_toEVadc(&MODULE_GTM, IfxGtm_Trig_AdcGroup_3, IfxGtm_Trig_AdcTrig_1,IfxGtm_Trig_AdcTrigSource_tom1,IfxGtm_Trig_AdcTrigChannel_7);
}
3. I attach Infineon's official routine source code, I think it is impossible to trigger ADC sampling through PWM in the code, if Infineon engineers have a way to achieve it, please let me know, I have studied here for a long time, but still do not understand, thank you!
Show LessHello all !
I'm evaluating advanced features in the TC275 and need good debugger tool below 200 dollars.
Currenly I have kit_aurix_tc275_lite that uses USB to emulate a debugger but it is very limited for my use case.
I found Arduino ShieldBuddy TC275 which seems to have a debugger.
Question 1: Can I use my existing project in AURIX Development Studio to flash it in this board and use it as kit_aurix_tc275_lite.
Questions 2: is the debugger in this board better than the emulator in the lite kit ?
Question 3: any other boards that you suggest ? or a combo between board and small budget debugger
Thank you all 🙂
Show Less
ECU外部有4路轮速PWM信号输入,MCU是否是通过TIM功能捕捉口读取PWM周期。不知是否合适。
另外一个输入信号是否要单独对应一个TIM单元,也就是说,4路轮速信号需要4个TIM模块,TIM1~3. 是否正确?
Hi all
I've just noticed that not all HWCFG are exposed on the different derivative.
Where can I found some more information on how to handle these different pins in this condition?
As an exampe on TC322 and TC323 HWCFG2 and HWCFG6 are not available on the pinout.
HWCFG2 should control EVRC functionality and HWCFG6 should control the pins behaviour
Additional question, what is the function of HWCFG0? I found some reference on TC2X but no reference on TC3, is still present?
thanks in advance
Show LessHi team,
We had integrated AURIX TC397x in our Autonomous vehicle. We want to send large amount of data from Linux platform(Jetson device) to AURIX over ethernet. For that we are using TCP protocol which is already implemented in AURIX using LWIP TCP/IP. We could able to send data @150Mbps but we could not able to send data @1Gbps data. We had increased the TCP_WND size, Heap memory size and POOL size up to an extent(suspecting it may help), but we could not able to send data @1Gbps.
We want to increase the heap size and Pool size in order to maintain high TCP_WND size and large amount data transfer to happen. When we try to increase the heap and pool sizes we are getting memory insufficient kind of compile time errors.
We need some guidelines from Infineon to allocate sufficient RAM for LWIP and to transfer bulk data. Any document regarding memory allocation in Aurix project would help.
Help is most appreciated.
Regards,
Samad.
Hello All,
I am using Aurix TC399 kit, I am trying to configure some parameters via the command line which is done successfully based on this example https://www.infineon.com/dgdl/Infineon-ASCLIN_Shell_UART_1_KIT_TC397_TFT-Training-v01_02-EN.pdf?fileId=5546d4627883d7e00178a2d656463923
Now I want to have a default configuration applied at startup without the need to send the configuration every time after reset. So is there a way to inject a default command at start-up like simply "info".
BR,
Show LessGreetings!!
We are planning to use Infineon MCU in our project and would like to have the following data for the part - TC387QP160F300SADKXUMA1
1) Schematic & layout guidelines
2) Reference Designs
3) Can we connect ADC & Analog reference alone 5V, VDD=1.25V and other rails 3.3V ?
Hello, Iam getting a CPU context management trap error while debugging _mtcr(CPU_SYSCON,sysconValue.U) in enable_memory_function() .can u please tell me the solution for this issue
Show Less
Hello .I got a CPU context management trap error while debugging enable_memory_protection() function .can u please tell me the solution to resolve this issue.
Show Less
Hello All,
I am trying to debug using Aurix TC399XP kit, winIDEA debugs successfully.
However, when I try the Tasking c/c++ debugger, it fails with the following error "Loading failed: Flash programming failed, there may be a problem with the flash memory itself."
I am using the latest Aurix Development Studio v1.9.20.
BR,
Show Less