Hi all,
How do I control the configuration of CS (MSP432) in TI-RTOS?
How do I set an MCLK/HSMCLK/SMCLK/ACLK rate of my choosing?
How do I specify the source for these clocks? (e.g. MCLK comes from external oscillator, not DCO, e.g. ACLK comes from an accurate 32768 source so that the RTC keeps accurate time)??
There are lots of places where clock related items. How do they interrelate?
- The standard empty TI-RTOS project give you a file called MSP_EXP432P401R.c and in the Power section there is a power config structure. I can only assume that the RTOS knows this structure exists and uses it if Power_Init() is called. This structure allows me to select one of three existing "performance level profiles" (combination of clock speeds, core voltages, wait states). If I want something different to those profiles, what do I do? Is there a way to change MCLK/SMCLK/HSMCLK/ACLK sources as well here?
- 2. If you are not using "device specific timer support" for timer module instances, you can set a clock period in the advanced settings of a timer module instance. Why?
- In the BIOS module - runtime tab there is a CPU clock frequency setting
- There is a "ClockFreqs" module (bios_6_46_00_23/ti/sysbios/family/arm/msp432) that lets you set ACLK/SMCLK/HSMCLK frequencies, but this doesn't actually set the clocks to those frequencies, it just changes what is reported by ROV in the ClockFreqs section.
There are probably others that I have forgotten....