AURIX™ Forum Discussions
I'm using tasking compiler version:TASKING_TriCore-VX_v6.3r1,I'm using #pragma section all"section_name",to place the local static variables under that section,by using this syntax,it is providing proper naming for all variables of one file in the map file,and for variables in some files it is providing some extra information that includes numbers like _999001_,inorder to overcome this I'm using __attribute((section("section_name"))); so that I'm getting desired naming in map file.please help why this pragma is working fine with some files and not with some other files in same package.I went through compilers documents also,but i didn't get any clue.Thanks in advanceShow Less
The FlexRay demo program initialization using TC397 cannot be completed and loops indefinitely in a do while statement. Since the controller entered integration-listen state, may I ask why this state is and what does this state represent? How can I make hardware or software adjustments? Thanks
Regarding the configuration of the tc397 as the master of SPI and sampling points, I would like to ask the following questions:
The sampling point is a range value, between B and C, right? My current configuration is: A=2 B=0 C=1. Can I mark the actual sampling points in the data transmission in the waveform below?
In the actual test, I will find situations where the probability is wrong. Can I give some ideas for optimization?
1.这里的“.samplePoint = 8000,”是什么意思，为何设置8000，意味着采样点是80%？
2.一般同步段长度不都是1Tq吗？这里怎么设置“.syncJumpWidth = 3”，是基于什么考虑？
I have installed AURIX development studio on windows 10.
Building the project works without any problems, but while launchuing the debugger , I get the below error "FTD2XX.dll not found ".
I get the same problem with both Tasking Debugger & WinIDEA debug configurations.
Additioanlly there is one more error when starting the tool "Check IFX Network" has encountered a problem.
Any help in getting over this problem is appreciated.
I'm working on a Tricore TC399 and i would like to try to measure the transfer time from the receiving hw FIFO of the uart to the DSPR0 memory via DMA. For this purpose, I started from the example "UART_DMA_Transfer_1 for KIT_AURIX_TC375_LK".
I first tried to run the code by debugging it, and according to the file "Infineon UART_DMA_Transfer_1_KIT_TC375_LK-Training-v01_00-EN" I should get the value of the variable g_correctTransactions=12 but unexpectedly it turns out to be equal to 1. I don't know if anyone knows what this problem is due to.
Furthermore, my objective is to measure the transfer time of the DMA; I therefore thought of using the Stm module, via two uint64 variables: start and stop. The start variable takes the number of ticks of the stm counter via the function: "(uint64)IfxStm_get(IFXSTM_DEFAULT_TIMER) & TIME_INFINITE;" and this is done inside the function void send_data(void) before the command IfxAsclin_Asc_write(&g_ascHandle, g_txData, &g_count, TIME_INFINITE); .
The stop variable takes the number of ticks always via the function: '(uint64)IfxStm_get(IFXSTM_DEFAULT_TIMER) & TIME_INFINITE;' and this is done inside the ISR of the DMA: void prio_DMA(void).
I wanted to know if this technique is correct and accurate, also because, every time I debug, I get different results from the 'start-stop'(which should be the number of ticks between the start of the transmission and the ending of the DMA operation) operation.
I reported below the two pieces of code where the two ticks acquisition are done:
start=(uint64)IfxStm_get(IFXSTM_DEFAULT_TIMER) & TIME_INFINITE;
IfxAsclin_Asc_write(&g_ascHandle, g_txData, &g_count, TIME_INFINITE); /* Transmit data via TX */
stop=(uint64)IfxStm_get(IFXSTM_DEFAULT_TIMER) & TIME_INFINITE;