Banner_AURIX_Security-Solution Banner_AURIX_Safety_Products ShieldBuddy TC275 Banner_AURIX_OnzerOS


infineon4engi@twitter twitter

infineon4engineers Facebook

infineon@linkedin linkedin

infineon@youtube youtube


+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Beginner Beginner bsr656 is on a distinguished road
    Join Date
    Jul 2017
    Posts
    7
    Points
    55

    Serial Communication on Tricore on TC 297B

    Hello All,

    I am trying to establish serial communication on pc for debugging(TC 297B) and display the register contents on serial terminal window. I am using Hi Tech Tri core tool chain.
    I am able to establish serial communication with single core but when I run the same program with all the 3 cores enabled, then the output of the serial window is always a junk.
    Its not the issue with baud rate I checked it.Any inputs is appreciated.
    Thanks in advance

  2. #2
    Beginner Beginner dos6510 is on a distinguished road
    Join Date
    May 2016
    Posts
    5
    Points
    67.5
    You use one serial interface for all three cores?
    You thought about the problem of the three cores using the interface in parallel?

  3. #3
    Beginner Beginner bsr656 is on a distinguished road
    Join Date
    Jul 2017
    Posts
    7
    Points
    55
    Yes. All three cores are enabled but only core0, is sending and receiving.

  4. #4
    Beginner Beginner dos6510 is on a distinguished road
    Join Date
    May 2016
    Posts
    5
    Points
    67.5
    Are you sure to program isn´t running on all cores in parallel - would explain your problem.

  5. #5
    Beginner Beginner bsr656 is on a distinguished road
    Join Date
    Jul 2017
    Posts
    7
    Points
    55
    I figured out that there was grounding problem with the board. I couldnt fix the serial port problem. But any how I am using gpio pins for my testing.

  6. #6
    New Member New Member Pirate02 is on a distinguished road
    Join Date
    Jun 2019
    Posts
    15
    Points
    175
    Hello, I use the example code "HelloSerial_ApplicationKitTC275C-Step" and I'm not able to display the output text that the serial port send by usb. How can I make it on the free tool chain IDE. I try to retrieve something by the terminal of RealTerm in the port 38400 but I have nothing (I have just the connection between the PC and the board by USB/micro USB).

    Thank you in advance.
    Last edited by Pirate02; Jul 17th, 2019 at 08:47 AM.

  7. #7
    Intermediate Intermediate
    Infineon Employee
    Infineon Employee
    teoBits is on a distinguished road
    Join Date
    Nov 2019
    Posts
    20
    Points
    460
    Hello bsr656,

    You can extend the code example project for the UART module to show the registers you are interested in: UART training code example.
    this example also comes with a tutorial, which can be found here: UART tutorial.

    Furthermore, if you are interested in other modules and you want to start programming for AURIX™, you can get the new Integrated Development Environment (IDE) here: AURIX™ Development Studio and get inspired by numerous trainings from here: AURIX™ Trainings.

    If you are not familiar with Eclipse based IDE’s checkout the Getting Started guide!

    Hope it helps,
    teoBits
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.