Part Number: MSP430F6779A
Other Parts Discussed in Thread: MSP430WARE
I am working with the MSP430F6779A and trying to implement UART communication using DriverLib.
However, I am facing an issue where the functions in usci_a_uart.c are not getting compiled, and I receive errors indicating that UART-related macros and functions (e.g., USCI_A_UART_NO_PARITY) are undefined.
Upon investigation, I found that the condition:
#ifdef __MSP430_HAS_USCI_Ax__
used inside DriverLib is not satisfied, as this macro is not defined in the device header file (msp430f6779a.h).
Instead, I observe that macros such as:
__MSP430_HAS_EUSCI_A0__
are defined in the header file.
This leads to confusion regarding the UART peripheral type and DriverLib compatibility.
I would like clarification on the following points:
-
How should UART be correctly implemented on MSP430F6779A using DriverLib?
-
Does MSP430F6779A support standard USCI UART, or only eUSCI (enhanced UART)?
-
Is there a recommended or compatible version of DriverLib for this device?
-
Why does the device header define eUSCI-related macros while DriverLib expects USCI-related macros?
-
Are there any official DriverLib examples for UART on MSP430F6779A, or is register-level programming the recommended approach?
Currently, UART communication works correctly when implemented using register-level programming, as shown in the available example codes.
Kindly provide guidance on the correct approach and any recommended resources.
Thank you.