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.

TM4C123GH6PZ: Bandwidth calculations

Part Number: TM4C123GH6PZ

Hi team, helping a customer with this device. Thesoftware is bare metal with no operating system. They have a simple calculation of how much of the CPU bandwidth they are using. Getting too close to 100% utilization and they would like to get better insight into which function is causing most of the load. They have xds100v2 JTAG emulator connected to our target (in fact two Tivas in daisy chain) and so far they haven’t found a way to make CCS measure the time each function consumes. Any help is much appreciated!

  • Hello Kannan,

    Neither myself or my colleague have heard of any CCS features that let you measure CPU load for bare metal code. Only for RTOS situations.

    If I were in that situation and had available I/O, I'd use GPIO to toggle high and low as functions are entered and exited in order to understand the processing time for those functions - especially any that are suspected to be potential bottlenecks.

    That's the best idea I can offer on my end.

    Best Regards,

    Ralph Jacobi

  • Getting too close to 100% utilization and they would like to get better insight into which function is causing most of the load.

    CCS has Statistical Function Profiling to find which functions are taking the most time.

    They have xds100v2 JTAG emulator connected to our target (in fact two Tivas in daisy chain) and so far they haven’t found a way to make CCS measure the time each function consumes.

    A debug probe which supports SWO trace, e.g. a XDS110 or XDS200, is required to perform the Statistical Function Profiling.