Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
<MCU>: MSP430P401R
<IDE>: CCS 7.1.0.00016
<Code Reference 1>: MSP-EXP432P401R - Rev 2.x (Red) in TI-RTOS for MSP430 V2.20.00.06
<Code Reference 2>: SimpleLink MSP432 SDK V1.30.00.40
Hi,
I'm trying to use a 48MHz crystal in my application.
I imported project "cs_hfxt_start_MSP_EXP432P401R_nortos_ccs" from <Code Reference 2>.
It works perfect !!!
But I have no idea how to do this in TI-RTOS.
In this thread(https://e2e.ti.com/support/embedded/tirtos/f/355/t/505658
I import an empty project from <Code Reference 1>.
And add following code in empty.cfg
var Timer = xdc.useModule('ti.sysbios.family.arm.msp432.Timer');
Timer.intFreq.hi = 0;
Timer.intFreq.lo = 48000000;
var BIOS = xdc.useModule('ti.sysbios.BIOS');
BIOS.cpuFreq.hi = 0;
BIOS.cpuFreq.lo = 48000000;
I got an error shows "ti.sysbios.family.arm.msp432.Timer: no property named 'intFreq'"
Q1. External crystal and DCO, which one is working on MCLK and SMCLK now? how to prove?
Q2. How do I set MCLK/SMCLK source to external crystal?
Any response would be helpful, thanks for the time you spent to read this post.
YHH