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.

MSP432E401Y: Add a counter to a project

Part Number: MSP432E401Y
Other Parts Discussed in Thread: SYSCONFIG

Hello forum,

a project shouts contain a clock. I opended the given .syscfg file with the sysconfig editor. But there are only timers.

But in SPRUEX3V the chapter 5.2 is about clocks. Should clocks added manually?

Chapter 5.3 deals with the timer module. Timers are available in the sysconfig editor.

In the simpleLink example timerLed a timer is used to toggle the led. A counter provokes Swi's (software interrupts).

I could use the timer module for my project, but I'm interested when it is better to use a clock and how to implement it.

Best regards

Guenther

  • Hello Guenther,

    The clocks section of SYSCONFIG is around setting up the clocks required for your MCU or its peripherals to run. For example, a timer or ADC module needs a clock in order to operate. Which clock and at what frequency will be dependent on your application and its needs. 

    A timer module would be better fitted to count things in your project. 

    The available SYSCONFIG configurations for this particular part are limited, and it is assumed the user is setting up the clocks independently of the SYSCONFIG setup. you may be better served looking at the DriverLib examples within the MSP430E4 SDK: https://dev.ti.com/tirex/explore/node?node=AHuMXn0JNAfhu2ng-3xZzg__J4.hfJy__LATEST