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.

MSPM0G3507: How to set up a crystal oscillator in the MSP Zero Code Studio development environment.

Part Number: MSPM0G3507

Hello.
 I'm currently using the MSP Zero Code Studio environment and want to change the crystal oscillator on the LP-MSPM0G3507 board from 40MHz to 16MHz and check its operation. 

a) Is it possible to change the settings without changing the communication speed of the UART, etc., in the changed environment?

b) If so, could you please tell me the specific steps for changing and configuring the settings?

  • Hello,

    Using Zero Code Studio, there is currently no way to configure the clock to use an external oscillator. However, if you were to move this project to CCS, all you would need to do is edit the "HFXT" block in the clock tree to the new frequency and the baud rate on the UART peripheral will automatically recalculate the division to hit your expected baud rate.

    Here is an image of the SYSCFG UART Peripheral, with the important changes underlined.

    Here is an image of the clock tree in CCS, with the changes necessary for an external HFCLK underlined:

    For now, I would recommend transitioning to CCS to have more control over the clock, as Zero Code does not currently support alterations to the clock/frequency control.

    Best Regards,

    Tyler