AURIX™ Forum Discussions
Hello, everyone.
I need to use the ASCLIN module in ASC mode to make two Tricore tc3 communicate using the UART protocol. One tc3 will be the Tx and the other will be the Rx and each transmission must be 5 bytes long.
For this purpose, I created two projects in ADS, one for the transmitter and the other for the receiver.
I have some doubts about the receiving mechanism, reading the description of the ASC mode in the manual "Infineon-AURIX_TC3xx_Part2-UserManual-v02_00-EN" in section 36.3.2.7 I did not quite understand what happens each time a byte is received.
Referring to the example "ASCLIN_UART_1_KIT" I did not understand what the receive buffer g_ascRxBuffer[UART_RX_BUFFER_SIZE + sizeof(Ifx_Fifo) + 8] is used for, and I did not understand what element to associate it with in the manual description.
I would also like to understand what happens inside the receiving ISR, in particular what the function IfxAsclin_Asc_isrReceive(&g_ascHandle) does.
I would like to understand the communication mechanism because I would like to try out the various interrupt modes: single move, batch and combined to see which one is best for my application.
Thank you in advance for your help
Show Lesswhere can i find the interrupt vector table and the included lsl files "tc1v1_6_2.lsl" and "inttab0.lsl" ?
i´m working with TC387 and the Aurix Development Studio.
Thanks in advance and best regards H. Show Less
I'm using AURIX TC397 ASCLIN UART and it receive up to 16 byte perfectly with baud rate 921600 , if the data exceed than 16 byte I face a data shifting a circular shift , I need a help to design a piece of SW that Handle the receiving
Show LessQuestion: Is there a standard process for TLF35584+AURIX TC2XX in hardware and software to reach function safety target?
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/%E9%97%9C%E6%96%BCTLF35584-AURIX-TC2XX-safety-target/td-p/652677
Show LessWe are using “TC367DP” MCU in our project. MCAL version is 2.20.
We make Lbist to Ssw, so we have activated LBISTENA in Bmhd0.
Every 10 seconds we turn the power on and off.
After 1-2 hours the system hangs.
No error when Lbist is disable.
In the Errate Sheet, [SCU_TC.H021] LBIST execution affected by TCK/DAP0 state.
section in the Errate Sheet, I also get an error when the debugger cable is not connected.
In addition, we also tried by connecting a pull down resistor, we connected 10k ohms, is this wrong?
We think that Lbist is affected by TCK/DAP0 pin, can you help with this?
Or does anyone have any other ideas about this?
Hello,
I am working on Resolver application with TC387 Aurix, I use the TC387 motor control software for running this application.
I am not successful in getting the ADC result of the Sin and Cos.
The round trip delay values are captured in SDCAP using the SDCOUNT counter. the counter is running and the SDCAP value is capturing the delay value but the SDPOS and SDNEG are not changing it is showing a constant value.
What i am missing here?
Please can anyone shed your thoughts how this works.
Kind Regards,
Deepak
Show Less
For tc397 to be the master, call ifxQSPI_spimaster_exchange at once to exchange 4 bytes of data. When transferring between bytes, how is clk configured to be non-continuous? In other words, after each byte has been transferred, we want to have an idle clk state, and then start transferring the next byte.
SAL-TC397XP-256F300S BD @Jeremy_Z
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/tc397-qspi-%E5%85%B3%E4%BA%8Etc397%E5%81%9Amaster-%E4%B8%80%E6%AC%A1%E8%B0%83%E7%94%A8IfxQspi-SpiMaster-exchange%E4%BA%A4%E6%8D%A24%E4%B8%AA%E5%AD%97%E8%8A%82%E7%9A%84%E6%95%B0%E6%8D%AE-byte%E4%B9%8B%E9%97%B4%E4%BC%A0%E8%BE%93%E7%9A%84%E6%97%B6%E5%80%99/td-p/653474
Show LessHello Team,
currently using the Evolution board (TC3X4L TH V1.0 SN: TB7QKV86) with the Part number (TC364DP64F300WAAKXUMA1).
Having an External EEPROM memory, which is communicating with I2C from Host CPU.
Our plan is to communicate the EEPROM using the SPI interface. Is it possible to replace I2C interface with SPI in the Evolution board. Or please suggest do we have any other possibilities to replace I2c with SPI.
Thank you
Show Less
Hi all,
I'm using TC3xx and trying to make a FCE module works. I also integrated DMA ME to move 16kB data into FCE's input register. After DMA confirm back to software that transaction process done, The FCE needs about 0.25ms to calculate CRC8 0x1D, 0.95ms to calculate CRC16 0x1D, and 0.45ms to calculate CRC32. That makes me confuse why does it take too much time to complete the calculation. I setting the amount data transaction each time below:
DMA:
- bytes per transaction: 16000 bytes
- TREL reload value: 4000 for CRC32, 8000 for CRC16, and 16000 for CRC8
- RROAT on, destination address offset.
Final RES result from FCE produced is not synchronized with the DMA transaction process. I use Trace 32 and see that FCE input register received last bytes data but no CRC, RES results.
Show Less