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.

CC3235MODASF: Whether its Application MCU support Trace Macrocell

Part Number: CC3235MODASF
Other Parts Discussed in Thread: CC3200

Hi, whether the hardware of CC3235MODASF Application MCU contain the Trace Macrocell to support dynamic code coverage test?

If support, which ports should be used to do this, and an application note will be more helpful.

If not support, how can I deal with it to achieve my goal.

Thank you.

  • Hi,

    The CC3235 does support Trace Macrocell, specifically an instrumentation trace microcell. Please take a look at section 2.1 of the TRM for a detailed breakdown of what debug features are supported: www.ti.com/lit/swru465

    Now, to actually get ITM working, you will need to mux some CC3235 pins to a special SWO mode. There is little documentation on how to do so, but there is this E2E thread on the CC3200 that demonstrates how to setup the CC32xx ARM Cortex M4 MCU for ITM:

    https://e2e.ti.com/support/wireless-connectivity/wifi/f/wi-fi-forum/360927/cc3200-using-swd-swv-swo-itm

    The CC3200 uses the exact same ARM Cortex M4 core implementation as the CC3235, so the instructions provided will also be applicable for the CC3235.

    Do note that the pin numbers referenced are noted for the non-module ICs of the CC32xx product family. So for your module, you will need to keep in mind that the pin numbers need to be replaced with the appropriate ones for the modules. The way to do this is to look at which GPIO is mapped to a referenced IC pin, and then look at the CC3235MODASF datasheet and see which pin uses that GPIO. For example, in the linked thread it is mentioned that pin53 on the CC3200 can be used for SWO.

    Looking up pin 53 in the TRM provided above, in Table 16-7 we can see that it corresponds to GPIO3.

    If we take GPIO30 and see which module pin provides it, we find that it is muxed out of pin42 of the module. Section 7.2.1 of the CC3235MODASF datasheet confirms this module to IC pin mapping as well.

    Let me know if you need more clarification on the debug capabilities of the CC3235, or if you have any further questions on this topic.

    Regards,

    Michael