AURIX™ Forum Discussions
Hi everyone,
I started working with Linker scripts and startup code that comes in the demo, but I can't find a reference/ manual that will documents the scripting language used in the LSL files mainly the HighTech one.
Can anyone please point me towards it?
And I want to know what does a FLAGS(z) mean I can't find any answer to what this "z" flag do.
Thank You.
Show LessIm using tc377 for uart communication, I have to send data from tx without interrupt by using Timer(Gpt12)
when i using this Data is stored in Tx buffer but not transmitting to Rx.
This is timer function
void interruptGpt12_T3(void)
{
IfxCpu_disableInterrupts();
IfxPort_togglePin(LED);
if(g_flag1 == 1)
{
send_receive_ASCLIN_UART_message();
}
IfxGpt12_T3_setTimerValue(&MODULE_GPT120, RELOAD_VALUE_T3);
IfxCpu_enableInterrupts();
}
This one data transfer and receive function through uart
extern void send_receive_ASCLIN_UART_message(void)
{
IfxAsclin_Asc_write(&g_ascHandle, g_txData, &g_count, TIME_INFINITE); /* Transmit data via TX */
IfxAsclin_Asc_read(&g_ascHandle, g_rxData, &g_count, TIME_INFINITE); /* Receive data via RX */
}
Show Less
Hi infineon
As the title said, I got a problem with "Vddk", I use the next formula to configure "Vddk", but some products(not all, same program) will exceed the threshold(±2%) when ambient temperature increasing, and the calculated value close to low boundary? Could you give me some advise? Thanks
Show Less
We have been working on debugging an issue where the TC29x Ethernet receiver halts after being saturated with messages and the Ethernet module must be restarted for the receiver to continue receiving messages. We have seen this behavior on two of our designs and on the TC2X9 Triboard. In debug mode the Receive Watchdog Timeout bit causes an interrupt and data corruption is seen when reviewing the Rx buffers. This eventually leads to the receiver halting, no longer receiving any messages and the missed FIFO counter being filled with the missed messages. We are trying to determine the root cause of the data corruption and the halting of the receiver. Any help on this would be greatly appreciated.
Note, with our current test configuration we have also seen that disabling the "Automatic Pad or CRC Stripping" and "CRC Stripping of Type FRAMES" in the MAC configuration prevents the receiver from halting, but we would like to know the root cause of this issue.
Show LessI'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.