MSPM0H3216: MSPM0H3216 Development using VsCode and the SDK

Part Number: MSPM0H3216

Hello, 
I have been trying to do some development using an MSPM0H3216 in vscode. I had been devloping off the back of the out_of_box/demo example, and essentially stripped it down untill it was just blinky. this ran fine and i have had no issues there. But i am now trying to take the next steps and get the system clock configured along with a timer to verify it . i was following this https://dev.ti.com/tirex/explore/node?isTheia=false&node=A__AeBsSdJZWfmG963nj3KU1Q__MSPM0-ACADEMY__2f1Egw1__LATEST
as a template. where the function  DL_SYSCTL_setULPCLKDivider(DL_SYSCTL_ULPCLK_DIV_1);
both of these are undefined in the SDK.
can i get some assistance where these are defined as a search through the SDK doesn't find either of them

Thanks,
Josh

  • Hello Josh,

    M0H is different from M0G. In M0H, the ULPCLK can't be divided. If you check the difference of MCLKCFG register of M0H and M0G, you will find that M0G has the UDIV, but M0H doesn't have the UDIV. You can check M0H and M0G TRM, chapter2 PMCU, the MCLKCFG register. 

    BR,

    Janz Bai

**Attention** This is a public forum