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.
Tool/software: Code Composer Studio
Dear TI team,
I've noticed that in the out-of-the-box example for the MSP430FR6989 launchpad the pin multiplexing (for the 32.768 kHz oscillator) is done this way:
GPIO_setAsPeripheralModuleFunctionInputPin(
GPIO_PORT_PJ,
GPIO_PIN4 + GPIO_PIN5,
GPIO_PRIMARY_MODULE_FUNCTION
);
but when I open the datasheet (rev. B) I notice the following:
To me from the datasheet it looks like the PJ4 should have SECONDARY module function and PJ5 should have TERNARY.
Any ideas what I'm getting wrong?
Regards
Hi Lubomir,
Please make sure that you are referring to RTC_C examples. If you look at Table 12-2 of the User's Guide then you will see that primary mode refers to PxSEL1 = 0 and PxSEL0 = 1, which for the case of PJ.4/PJ.5 selects the LFXIN/LFXOUT crystal mode. You can also refer to the MSP430FR5xx/6xx DriverLib User's Guide: software-dl.ti.com/.../MSP430FR5xx_6xx_DriverLib_Users_Guide-2_80_00_01.pdf
Regards,
Ryan
Thank you for you clarification, Ryan!
I thought the row of the table was indicator for the function mode. Now everything adds up!
Regards,
L. B.
**Attention** This is a public forum