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.

MSPM33C321A: MSPM33 configuration support needed

Part Number: MSPM33C321A
Other Parts Discussed in Thread: SYSCONFIG

Hello Team,

I'm requesting a Sysconfig hardware configuration check for the MSPM33C321A device.

 

My customer requested the basic configuration shown below, and I attempted to implement it using the SDK.

 

image.png

 

Here are the main problems I'm facing:

 

  1. HSADC Oversampling

 

I don't know how to oversample 8 ADC channels with 1 ADC module using 4 PPBs and 4 sequencers.


Do I need to use another ADC module?
(e.g., ADC channels 0~3 for ADC1, ADC channels 4~7 for ADC2...)

 

 

  1. I2C Bus speed

 

I was not able to achieve 120kHz bus speed even when using MCLK.

 

Do I have to change clock tree for I2C?

 

 

If you have an example sysconfig file for 8-channel ADC oversampling, please share it with me.

  • Hello,


    For the over sampling use the above settings in sysconfig in the PPB. The accumulation limit is the sum block that allows you to add consecutive samples then you can right shift by 3 to divide by 8. This gives you the 8x oversampling mentioned.




    Use a different unicomm instance for a more accurate clock if you're specifically looking for a 120KHz clock input. With UC1_1 the max input clock will be 40 MHz which leads to this inaccuracy. You can use UC15_1 which has a 80MHz input clock and gives you a bit more accuracy. 

    Sincerely,

    Erik Vaughn

  • Hello Erik,

    I have question about oversampling.

    If I want to oversampling 6 ADC channel, do I have to use 6 PPB? 

    My customer wants to ADC 6 channel with 8x oversampling each channel.

    Is this need 2 ADC module?

    If you can provide Syscfg file that setted to achieve 6 channel ADC, please share it.

    Thank you,

    James

  • I believe the PPB is SOC specific so you would just need to configure the PPB block so it's connected to the corresponding SOC.

    I wasn't able to build a sysconfig file today but let me know if you get the chance to once try building it and I can directly support if there's any issues.