The maximum clock frequency of the MSP430F5340IRGZT is 25 MHz.
To configure the MSP430F5340IRGZT to use an external crystal oscillator, connect the crystal to the XIN and XOUT pins, and set the XT2OFF bit in the SYSCTL2 register to 0. Then, set the SELOSC bit in the SYSCTL3 register to 1 to select the external crystal oscillator as the clock source.
The maximum current consumption of the MSP430F5340IRGZT is approximately 2.1 mA at 25 MHz and 3.3V supply voltage.
To use the built-in UART module on the MSP430F5340IRGZT, configure the UART module by setting the UART control registers (UCTL0, UCTL1, etc.) and enable the UART module by setting the UART enable bit (UE) in the UCTL0 register. Then, use the UART transmit and receive functions to send and receive data.
The flash memory endurance of the MSP430F5340IRGZT is 10,000 write/erase cycles.