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.

MSPM0G1506: Manchester encoding

Part Number: MSPM0G1506
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi, 

What is the maximum baud rate achievable using UART Extend with Manchester encoding enabled? 

Is there another way to implement Manchester encoding communication in SW or with external circuitry ?

Thanks

Geoffrey 

  • Hi Geoffrey,

    The usage of Manchester encoding does not limit the UART communication rate. On the MSPM0G1506, the only extended / Manchester encoding-enabled UART is UART0, which is in power domain 0. According to section 7.21 of the device datasheet, the baud rate limit for this UART is 5MHz.

  • Hi Dylan, 

    Thank you for the feedback. 

    I need a 25MHz baud rate so I guess I will need to implement it with an external XOR gate and a 50 MHz PWM. 

    I checked on sysconfig and there is a config which seems to allow a 50 MHz PWM, do you confirm it is possible? 

    Regards

    Geoffrey 

  • To save me the trouble of fiddling with the sysconfig parameters trying to see if I can replicate, would you mind posting an image of the PWM settings you are using to get this output? 

    Additionally I'd be curious what your clock tree settings are. Unless you have an external crystal, I am struggling so far to find clock settings using the internal components that allow you to generate a 50MHz PWM without violating some datasheet spec.

    Typically if you can get Sysconfig to do it, then it is a valid configuration. Of course it is always possible that some error case has been missed but generally speaking Sysconfig's error checking will tell you if the configuration you use is invalid.

  • Hi Dylan, 

    Indeed I set a 25 MHz external crystal to reach this PWM frequency. There is no issue in setting the PWM period count at very low values like 1 or 2 for example ? 

    Regards

    Geoffrey 

  • Ah that makes sense thanks for confirming.

    You won't have the room to make small adjustments to the duty cycle but if you are only using a 50% duty cycle then you should be fine. I do think this is also the only way to get the 50MHz PWM output anyway, as the maximum clock input to your timers is going to be 80MHz anyways.