This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

problem regarding to TMS570 RTI

Other Parts Discussed in Thread: HALCOGEN

Dear all,

I''ve found a sample code (5736.TMS570LS20216PGE.zip) for programming the RTI from the forum. There are lots of functions regarding to PMU.

1st question: What's PMU? is there any literature about it?

2nd question: Since the sample code was generated by Halcode generator, how can i generate all the PMU related files?

Last question: Is it possible to program RTI without these PMU functions when using Halcode generator? Although there is no PMU related functions in the code provided by spna123, the code is not generated by Halcode generator.  

Thanks a lot

Rui

  • Hi Possessed,

    The PMU is the performance monitoring unit inside the ARM CPU.   You can find information on it in the ARM document DDI 0363E. (See Chapter 6)

    (Try this link: http://infocenter.arm.com/help/topic/com.arm.doc.ddi0363e/DDI0363E_cortexr4_r1p3_trm.pdf)

    I'm not sure I understand the other part of the question; looking at SPNA123 I don't think this code came from HalCoGen and I don't see PMU in the listing at all.  However, PMU shouldn't be needed for using the RTI.  PMU is for benchmarking CPU performance, like measuring cycles between events and occurrences of events (like stalls, etc.)  Maybe the code you're looking at is using PMU to meausure the RTI period in CPU clocks and just confirming it matches the way RTI was programmed (as a check) but this would just be for demonstration purposes. 

    -Anthony

  • Rui,

    PMU stands for Performance Monitoring Unit and is not related to the RTI. It is part of the ARM Cortex R4F CPU. For more information on this I'd refer you to the Events and Performance Monitor chapter of the R4 TRM. As the name suggests it is mainly used for performance monitoring / benchmarking.

    The files in the project you referred to is probably a good starting point for PMU functions.

    You do not need to do anything with the PMU to use the RTI.

    Hope this helps

    Abhishek

     

  • Hi, Anthony, Abhishek, thanks a lot for your replies. I deleted all the code of PMU and everything still works fine. I will check the PMU later on.