AURIX™ Forum Discussions
Hi,
Above example was very helpful to do board to board CAN communication using CAN0, node0 to CAN0, node0
using pins
Example_Pins.txPin= &IfxCan_TXD00_P20_8_OUT;
Example_Pins.rxPin= &IfxCan_RXD00B_P20_7_IN;
I was trying to use CAN0, node1 to CAN0, node1 using following pins
Example_Pins.txPin= &IfxCan_TXD01_P14_0_OUT;
Example_Pins.rxPin= &IfxCan_RXD01B_P14_1_IN;
I changed the line
g_mcmcan.canNodeConfig.nodeId = IfxCan_NodeId_0;
to
g_mcmcan.canNodeConfig.nodeId = IfxCan_NodeId_1;
But CAN is not working for CAN0, Node1 to CAN0, node-1.
Will be helpful if can get any suggestions.
Show Less
Hello together,
I'm writing a Task scheduler and stuck with some problems after the context switch.
After restoring the context for the next Task:
__builtin_tricore_mtcr_by_name("pcxi", lower_context);
__builtin_tricore_isync();
ULONG psw = __builtin_tricore_mfcr_by_name("psw");
psw &= ~(PSW_CDE_MASK);
__builtin_tricore_mtcr_by_name("psw", psw);
__builtin_tricore_isync();
__asm("rslcx");
__asm("rfe");
the "rfe" calls the correct Task function. But the "rfe" will not set new return address in A[11] register. It is 0. When the Task function ends with "ret16" the µC runs in a trap.
Missed I something in the preparation of the context switch?
What is the correct behavior of A[11] after the context switch/"rfe"?
Thanks!
BR
Christoph
Show Less
你好
目前使用"UART_VCOM_1_KIT_TC397_TFT"範例在Triboard TC397上進行測試。
開啟兩組ASCLIN 模組0跟模組4並且在中斷設置中有更改相對應的向量表數值,進行以下交互測試:
1. CPU0_Main.c內執行兩組ASCLIN初始化、只有調整"中斷向量表數值(0)"跟進行輸出"Hello World!" ==> 可以正常顯示
2. CPU1_Main.c內執行兩組ASCLIN初始化、只有調整"中斷向量表數值(1)"跟進行輸出"Hello World!" ==> 無法顯示
3. CPU2_Main.c內執行兩組ASCLIN初始化、只有調整"中斷向量表數值(2)"跟進行輸出"Hello World!" ==> 可以正常顯示
4. CPU3_Main.c內執行兩組ASCLIN初始化、只有調整"中斷向量表數值(3)"跟進行輸出"Hello World!" ==> 可以正常顯示
想請問為何在CPU1_Main.c會有此問題?
#AURIX
#Tricore
Show Less
Hi, experts.
When debugging Infineon example "Flash_Programming_1_KIT_TC334_LK ", I found that when I used the default parameters, Flash can be erased normally, but when I changed the initial address of erase from 0xA00E0000 to 0x80080020, I found that the erase seemed to fail. when I changed the initial address of erase from 0xA00E0000 to 0x80080020, I found that the erase seemed to fail, I think it may be caused by the macro definition "#define RELOCATION_START_ADDR (0x70100000U) ", please tell me what this macro definition means, and how to solve the problem here, thank you!
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/The-Infineon-example-quot-Flash-Programming-1-KIT-TC334-LK-quot-failed-to-erase/td-p/723792
Show Less我在TC387上移植英飞凌ADS例程中的FreeRTOS+Lwip,移植成功后调试模式ETH能够通信,但是在冷启动后,ETH是不通的, 但是如果我在IfxGeth_Eth_WaitTransmitBuffer()中增加系统复位的功能,在冷启动并在系统复位后,ETH又能够通信,这个是因为什么原因引起的?
1. 调试模式,能够发出到DOIP报文
2.冷启动后,是不能发出DOIP报文
3. 在下面函数中如果tx为NULL,则启动系统复位
Show Less
我现在有6路pwm波,A、B、E、F、G、H,这六路pwm需要同时调频移相,我的B、E需要基于A移向,F需要基于E移相,G和H需要基于E移相,但是GTM-TOM模块pwm同时输出并满足移相有两种情况,一种是都基于A去移相,一种是基于前一个通道去移相,一旦我使用第一种,我的F基于A移相就会超过50%,这将导致PWM出现一个周期的高电平的波形,如果使用第二种我又无法满足我的移相标准,请问是否可以混合使用这两种模式,怎么使用?
祝好!
Show Less[HTML]CPU code execution is switched from Flash to PSPR RAM. Flash modules are
deactivated via FCON register.[/HTML]
There are no information about PSPR RAM register or how to switch this execution.
How can i do it ?
I work on Tc222L Show Less
Hi.
I'm a student. I have a PCB with the SAK-TC214L-8F133 chip on it. I would like to be able to connect to it using Memtool. I see Memtool supports this layout. I have a USB-UART converter.
How should I connect from the hardware side? Connect TxD from the converter to P14.1 (ASCLIN0_RXA) and RxD to P14.0 (ASCLIN0_TX)? I did that, but Memtool does not detect the chip. Do I need to short any configuration pins to VCC/GND?
I will be grateful for your help.
1.0 On March 19th Infineon Technical Community hosted a conference with the theme "Infineon AURIX ™ TC3xx Automotive Grade Microcontrollers and Typical Modules Tips and Utilization ( CAN-FD, SMU, ADC )" online seminar, details are as follows
If you missed that live broadcast, don't worry, you can click this link to watch it back: AURIX ™ TC3 special live broadcast, detailing automotive-grade microcontrollers and typical module skills and applications
The link to the live class and materials can be downloaded in the attachment
2.0 The broadcast had a total of 206 questions because of the large number of participants, and some of the more representative questions are selected here for a unified response:
- Question: Is the emergency stop output controlled by SMU_CORE? Or is it triggered directly by a fault signal
Answer: It is set by SMU in advance, and the emergency stop will be triggered when the corresponding alarm appears
- Question: Is it possible to reuse the ecology of the upcoming AURIX TC4x series with the TC3x series? Is it possible to describe the porting difficulty?
Answer: some can be reused. The porting difficulty varies from package to package. Specifically look at the TC4xx_COM/TC4xx_STD options.
- Question: What are the main difficulties in the development of high-end automotive MCUs compared to consumer ECUs, and why does it seem like the process is so far behind?
Answer: Based on functional safety design and automotive application oriented design robustness requirements considerations. It will be less aggressive than consumer grade
- Q: Does the FSP pin support the emergency stop function? What is the significance?
Answer: FSP and Emergency Stop can be triggered at the same time, both to report the fault to the external DEVICE and to turn the port output off.
- Question: In which vehicles are the TC3xx series microcontrollers already widely used?
Answer: BYD, Geely, Changan, etc., many new forces are useful
- Question: Doesn't TTCAN and CAN collision and arbitration both send data by preempting the bus? What is the difference based on event or time?
Answer: TTCAN depends on the specific standard definition, since it is timed and there is no arbitration
- Question: For airbag systems, how does the AURIX ™ TC3xx enable fast and accurate trigger decisions?
Answer: This is dependent on the system integrator's design. Once the sensor detects an abnormal acceleration, the actuator is triggered to activate the airbag to eject.
- Question: What is the significance of receiving a prioritized message when there is only one message per moment on the CAN bus?
Answer: We follow the definition of FIFO BUFFTER to understand the specific receipt of how to deal with, the customer according to the ID and content of their own arrangements
Due to space constraints, the full version of the Q &A can also be viewed in the attached Excel
Some questions are too complex to be answered simply, so it is recommended that you can click the green button "Ask a Question" in the upper right corner (if you can't see it, it is recommended that you narrow your browser to 80-90%)
A guide for newbies to ask questions can be found at: Required Reading | Beginner's Guide
3.0 The speakers for this broadcast are senior engineers (CAE) responsible for Infineon's microcontroller Aurix board.
The following is a selection of typical Aurix technical community questions and answers from engineers
@DI_Wang
How to calculate the sample rate for CAN communication?
TC38x CAN01 RX Works abnormally
TC397 CAN most send 30 frames per cycle
MCU: @Jeremy
SMU_Reset_Alarm_1_KIT_TC397_TFT ERROR
EVADC: @Kunqiao_L
Can we do Parallel conversion together for primary and secondary cluster?
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/AURIX-TC3xx-%E9%AB%98%E9%A2%91%E9%97%AE%E7%AD%94%E9%9B%86%E9%94%A6-%E9%99%8420240319%E7%9B%B4%E6%92%AD%E9%97%AE%E9%A2%98%E9%83%A8%E5%88%86%E5%9B%9E%E7%AD%94/td-p/723508
Show LessI'm facing an issue in Aurix Development Studio where including certain functions (AppInit()
, blinkLED()
, NvmInit()
) prevents the execution of runShellInterface()
. However, commenting out these functions allows runShellInterface()
to execute normally.
- Affected Functions:
AppInit()
,blinkLED()
,NvmInit()
. - Expected Behavior: After executing these functions,
runShellInterface()
should execute. - Observed Behavior:
runShellInterface()
doesn't execute when the mentioned functions are included. - Debugging Attempts: Tried debugging tools but couldn't identify the cause.