AURIX™ Forum Discussions
Hi team,
We are working with AURIX TC397x. We implemented CAN external loopback and can successfully able to transfer and receive CAN messages using CAN0 and CAN1.
We want to make it as CAN FD for that both nominal and data bit registers are feeding with correct bit timing parameters(auto calculation is enabled). And to enable CAN FD, CCCR.FDOE and CCCR.BRSE is being set. But still it is behaving as classical CAN, no switching of baud rate is observed.
Are we missing anything to enable CAN FD?
Why it is falling back to classical CAN even though we configured as CAN FD?
Help is most appreciated.
Regards,
Shafi.
Show Lesshi,
i'm trying to review bscan test for this device on In-circuit tester, this ASIC will be mounted our pcba . so i would like to know if the bsdl file for MPN: TC297TP128F300NBCKXUMA1 --> TC297x_B-step_BSDL_BGA292.bsd works well. i see that there are some descriptions on TRST pin to pull HI to enable JTAG Mode. but i'm unsure if this is the only setup required. need a quick advise. thank you.
Rgds,
Mahesh
Show Less
Hello,
I am a software developer working on autopilot applications and have shortlisted the target device as the Aurix TC399 as the first step in the prototype phase. Once the prototype is running as required, we would like to order multiple pieces of hardware for mass production. We have encountered few obstacles that need to be addressed in this process. I urge you to help us with this.
Problem : The current code is compiled using the GNU compiler and the code runs as defined. However, we would like to make it run on the Aurix TC399 development kit. In doing so, I am using the Aurix Development Studio IDE which uses the Tasking Compiler. There are multiple issues (compilation errors) with the Standard Definition Stock during the porting of the code from the GNU compiler to the TASKING compiler.
Do you already have a C/C++ standard library that is supported by the TC399 controller and CAN compiled? Or do you provide any help/guidance to fix the porting issues?
Please note: I have read the document - "GCC to TASKING Infineon AURIX-WEB Migration Guide". But this does not help us to fix the porting issue.
Thank you!
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/%E5%B0%86-C-%E4%BB%A3%E7%A0%81%E4%BB%8E-GNU-%E7%A7%BB%E6%A4%8D%E5%88%B0-Tasking-%E7%BC%96%E8%AF%91%E5%99%A8/td-p/460807
Show LessDear Community
I am using AURIX Tricore Microcontroller TC234 with Tasking Toolset IDE.
I am generating CAN messages with some specified message IDS from another Node, which I want to receive in my TC234 ECU and check for a particular message ID eg. 0x630, and if such a message is received, I am calling a function MultiCanBasicDemo_run(), which I have attached below.
void MulticanBasicDemo_run(void)
{
const uint32 dataLow = 0x00000000;
const uint32 dataHigh = 0x00000000;
/* Transmit Data */
{
IfxMultican_Message msg;
IfxMultican_Message_init(&msg, id, dataLow, dataHigh, IfxMultican_DataLengthCode_8);
while (TRUE)
{
if(IfxMultican_Can_MsgObj_sendMessage(&g_MulticanBasic.drivers.canSrcMsgObj, &msg) == IfxMultican_Status_busOff)
break;
}
}
}
Currently The message with ID 0x630 is being generated and that is visible in CAN BUS monitor as well. However the below code snippet for receiving the CAN message is not working. I have written this code in cpu0. Please check the below snippet.
uint32 id;
const uint32 dataLow = 0x02000125;
const uint32 dataHigh = 0x010acdfe;
while (TRUE)
{
IfxMultican_Can_MsgObj_readMessage(&g_MulticanBasic1.drivers.canSrcMsgObj, &rxMsg);
IfxMultican_Message_init(&rxMsg, id, dataLow, dataHigh, IfxMultican_DataLengthCode_8);
if(rxMsg.id == 0x630)
{
MulticanBasicDemo_run();
}
}
Can you help me with the correct code for receiving messages, check their ID and if that ID matches with 0x630, my MulticanBasicDemo_run() function would work.
Thanking You
Regards
Arka
Show Less
Hi all
i'm trying to configure node2 and node3 on module CAN1 to be connected to internal can bus and out.
My final goal is to send some data on cun node 1-2 and receive it on can node 1-3 without any processing in the CPU.
no fiter configuration and messages to be sent, no pack/unpack function - just as simple as that loop back out.
so i set all required configuration where i had the node working on normal mode (send and receive messages, filter and messages defined), but than i've removed the filters configurations and added to configuration the required flag:
what finally happens is that i send from an outside source and it looks like the cpu recieve (no errors on bus) but the other bus has errors on it.
how can i be sure that the messages received to that node? will interrupt for TX/RX receive?
Hello,
I'm running an application on Triboard EVK with TC399.
I program it via UDE STK 5.0 and the application works well.
When I reset the application via the UDE the reset works fine but when I press the reset button it seems that the board goes to a trap.
I think that the reset vector or start address is not well defined.
Unfortunately, I can't really share my code but I would like if someone can point me in the right direction.
Show Less
Hello Everyone,
I would like to get some clarification on QSPI frame shaping using BACON register, could you help me in understanding the idle, leading and trailing delays configuration and it would be great if their usage is also explained here along with the calculation of above delay time.
Show LessWho knows the difference between SAK-TC237LP-32F200S AB and SAK-TC237LP-32F200S AC? Thank you.