AURIX™ Forum Discussions
Hi there,
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 advance
Show LessThe 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
Show Less
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/Aurix-TC2xx-TC3xx%E6%98%AF%E5%90%A6%E6%9C%89%E5%81%9A%E5%85%85%E7%94%B5EVCC-ISO15118-%E7%9A%84%E5%BC%80%E6%BA%90%E8%B5%84%E6%96%99/td-p/655087
Show LessRegarding 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?
SAL-TC397XP-256F300S BD @Kunqiao_L
Thanks.
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/tc397-qspi-%E5%85%B3%E4%BA%8Etc397%E5%81%9Aspi%E7%9A%84master-sampling-point-%E7%9A%84%E9%85%8D%E7%BD%AE/td-p/655279
Show LessHI,expert:
在TC334的例程中看到这样的代码:
我感到奇怪的是:
1.这里的“.samplePoint = 8000,”是什么意思,为何设置8000,意味着采样点是80%?
2.一般同步段长度不都是1Tq吗?这里怎么设置“.syncJumpWidth = 3”,是基于什么考虑?
3.按照上述设置的参数,计算采样点是按照(syncJumpWidth+timeSegment1)/(syncJumpWidth+timeSegment1+timeSegment2)=(3+3)/(3+3+10)=37.5%,这显然不对吧?
希望能够得到英飞凌工程师的回复,谢谢!
Show LessHi Team,
I am following this geeting started document, to flash & debug example project for eval board Application Kit TC3X7 V2.0, with device SAK-TC397XX-256 F300S BD. SAK-TC397XX-256F300S BD
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.
Thank you,
Prasanna
Show Less
Hello, everyone.
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:
void send_data(void)
{
start=(uint64)IfxStm_get(IFXSTM_DEFAULT_TIMER) & TIME_INFINITE;
IfxAsclin_Asc_write(&g_ascHandle, g_txData, &g_count, TIME_INFINITE); /* Transmit data via TX */
}
void prio_DMA(void)
{
stop=(uint64)IfxStm_get(IFXSTM_DEFAULT_TIMER) & TIME_INFINITE;
g_correctTransactions++;
}
如何在TC264或者TC377中使用FOC呢,GTM模块相关配置实在太过于复杂了,实在有一些看不懂,有没有什么相关的中文资料或者开源代码可供参考。
How can we calculate the power consumption of TC389 and TC387 with same datasheet having different pin configuration?