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.

MSPM0L2228: MSPM0L2228 – Bit-Banging I2C Not Working at 4 MHz SYSOCS, MFPCLK Not Usable for UART

Part Number: MSPM0L2228
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi TI Team,

I am working on a project using the MSPM0L2228 microcontroller and I am facing issues with clock configuration affecting I2C and UART.

Issue 1: Bit-Banging I2C Not Working at SYSOCS = 4 MHz

  • I am using a software-based (bit-banging) I2C to communicate with a TRH sensor.

  • When I configure SYSOCS to 2 MHz, the I2C works correctly.

  • But at SYSOCS = 4 MHz, the I2C stops working (no signal or improper waveform).

  • I enabled MFCLK, thinking it might help with peripheral clocks, but it didn’t resolve the issue.

Issue 2: Cannot Use MFPCLK for UART

  • I am trying to use MFPCLK as the UART source clock.

  • UART does not transmit or receive data when MFPCLK is selected.

  • I am using SysConfig for clock setup and UART configuration.

Thnak you,

ANKUSH.