Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed from November 25 through December 2. Thank you for your patience.

MSPM0L1228: How to disable RTC_A Out Pin in SysConfig tool?

Part Number: MSPM0L1228
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi 

Is the configuration of the "RTC_A Out Pin" mandatory? At present, it cannot be disabled, and a warning is generated if it is not configured.

These pins have already been repurposed for other functions.

error: /ti/driverlib/RTCA peripheral.rtcaOutPin: Resource conflict
      PA9/17 is currently in use by GPIO_PWR(/ti/driverlib/GPIO) associatedPins[0].pin
      PA13/28 is currently in use by GPIO_PWR(/ti/driverlib/GPIO) associatedPins[3].pin
      PA27/47 is currently in use by ADC12_0(/ti/driverlib/ADC12) peripheral.adcPin0
 

Best regards,

Eason Tsai

  • Hello Eason,

    I will help you on this issue tomorrow morning.

    Best Regards,

    Janz Bai

  • Hello Eason,

    It is caused by Sysconfig. Sysconfig must choose one RTC output pin. You can resolve this issue:

    1). Choose one output pin in Sysconfig such as PA9 and don't configurate PA9 in "GPIO" part on Sysconfig;

    2). In your main.c file, you can reinitialize the PA9 to general GPIO (according to your detailed requirement) in your code. (Refer to the IOMUX chapter and GPIO chapter of L1228 technical reference manual which can be download from ti.com).

    Best Regards,

    Janz Bai

  • What I do is first create a sysconfig with the GPIO. Then I compile it and dig into the sysconfig generated code to pull out the GPIO confguration and add it to my code. Then redo sysconfig with the RTC and *without* the GPIO and let it generate the new code. You can then run the stolen GPIO configuration after the sysconfig generated configuration.

    If this makes sense.

  • Hello Eason,

    Yes, what I mean is what Keith said. Thanks for your further explanation, Keith.

    Best Regards,

    Janz Bai

  • Hi Janz,

    Yes, it is currently functioning properly using this method, but each time a modification is made, it requires manual adjustment.

    Will this issue be addressed and fixed in the future?

    Best regards,

    Eason Tsai

  • Hello Eason,

    It sounds good that you have resolved this issue. I can try to contact with my software team colleague about whether they plan to fix it in the future. 

    Best Regards,

    Janz Bai