AURIX™ Forum Discussions
I'm trying to eliminate one particular ISR from my old OS configuration. So currently RTA-OS configuration tool, tricore tasking of version 6.2 with licensed & old configured file .rtaos & .arxml. To build i'm using BuildOS.bat (tricore compiler) file.
But when i try to check documents related to build using available file i'm unable get it. As i'm new user to this not getting where the mistake is done. Kindly it's my humble requesting for guidance to build with correct path & setup.
Show Lesshi
i want to use the SCR in order to reduce the power consumption , and meet some block point. please check state flow bellowing :
if SW switch to SCR domain to execute, which position will sw execute next after wake up source login and exit from SCR domain ?
Step A (step A as the SW first code after reset )? or back to Step B?
Show Less
i'm trying SPI_CPU_1_KIT_TC334_LK.. I've joined SPI_A to SPI_B (confirmed on schematic for dev kit - - i hope).
when the code runs i dont have an LED on which says the data has transfered ok -- 😞 .. sad face .
i've run it a few times and set a break point . plus used a logic analyser ..
if i disconnect the MISO / MOSI lines i receive no data .. so i know the SPI slave is getting data.. ..
i've added this line , but nothing has changed ..
spiSlaveConfig.base.mode = SpiIf_Mode_slave; /* Configure the mode */
into the init config for the slave module..
i will continue to look but if anyone has seen this before.....
Dear Team,
I want to know the difference between DAP miniwiggler and XMC_LINK_SEGGER_V1.
Hi,
starting from the examples MCMCAN_1_KIT_TC375_LK and ADC_Single_Channel_1_TC375_LK I have to send the value acquired from the analog channel with a CAN message. This is how I've tried to do that:
void transmitCanMessage(void)
{
/* Initialization of the RX message with the default configuration */
IfxCan_Can_initMessage(&g_mcmcan.rxMsg); // @suppress("Field cannot be resolved")
/* Invalidation of the RX message data content */
memset((void *)(&g_mcmcan.rxData[0]), INVALID_RX_DATA_VALUE, MAXIMUM_CAN_DATA_PAYLOAD * sizeof(uint32)); // @suppress("Field cannot be resolved")
/* Initialization of the TX message with the default configuration */
IfxCan_Can_initMessage(&g_mcmcan.txMsg); // @suppress("Field cannot be resolved")
/* Define the content of the data to be transmitted */
//g_mcmcan.txData[0] = TX_DATA_LOW_WORD; // @suppress("Field cannot be resolved")
//g_mcmcan.txData[1] = TX_DATA_HIGH_WORD; // @suppress("Field cannot be resolved")
/* Define the content of the data to be transmitted */
g_mcmcan.txData[0] = (uint16)(g_result & 0xFFFF); // @suppress("Field cannot be resolved")
g_mcmcan.txData[1] = (uint16)((g_result >> 16)& 0xFFFF); // @suppress("Field cannot be resolved")
/* Set the message ID that is used during the receive acceptance phase */
g_mcmcan.txMsg.messageId = CAN_MESSAGE_ID; // @suppress("Field cannot be resolved")
/* Send the CAN message with the previously defined TX message content */
while( IfxCan_Status_notSentBusy ==
IfxCan_Can_sendMessage(&g_mcmcan.canNode, &g_mcmcan.txMsg, &g_mcmcan.txData[0]) ) // @suppress("Field cannot be resolved")
{
}
}
but it does not work.In addiction I cannot understand where the global variable g_result is stored.
I'm at a very beginner level and this is for a scolar project, could someone please help me?
Thanks in advice, I'll also share the entire file in the upload section.
The current TC397_TFT v1.0 development board uses the TC397 A step of the chip, but I see ADS are TC397 B step routines, I will ADS in a few examples compiled and burned to the development version, can not run normally, respectively, through the TASKING and winIDE DEBUG found that the chip startup process will enter the Context Maneger Error Trap, the following figure belongs to, please ask! Please ask:
1. For Context Maneger Error Trap should be solved in what way?
1. Current ADS 1.9.20 supports TC397 A step chip, if not support and TC397A step corresponding to the example tutorial?
2. What is the difference between TC397 A step and TC397 B step?
TASKING DEBUG
winIDE
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/TC397-TFT-v1-0%E5%BC%80%E5%8F%91%E6%9D%BF%E7%BC%96%E8%AF%91%E7%83%A7%E5%BD%95%E4%BB%BB%E6%84%8FADS%E7%A8%8B%E5%BA%8F%E4%BC%9A%E8%BF%9BContext-Maneger-Error-Trap/td-p/743094
Show LessI found all the sample projects are using hard coded pin configuration.
As an example for "Ethernet_1_KIT_TC397_TFT" project all the pins are hardcoded in files Configuration.h and implementation is in IfxGeth_PinMap.c
And from IDE seems it is not even shows as configured.
After manual configuration it became like below
But all codes are generated in Library directory in mentioned file
Now question is how to use those PIN from program to configure Ethernet for RMII0? Should I need to do it manually reading datasheet?
Is there anyway that those PINs will be automatically configured and I can use the auto generated code directly?
Show Less
Hello,
I am investigating possibilities to use FlexRay (E-Ray) message RAM for the custom debug purposes, as FlexRay communication will not be needed.
Can it be accessed directly by the CPU core? If yes, what would be the starting address of the Message RAM?
Controller I am using is AURIX TC36x (SAK-TC364DP-64F300F AA).
Thanks for your support,
BR,
Djordje
Hi,
I want to configure my UART module
TX should happen with 10US that i have configured with GPT ,
RX should happen with Interrupt based.
same when i tested RX got struck in IfxStm_isDeadLine(inline) function.
I want to know why it is getting strucked
Show Less