Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: MSP430FR2633: MSP430FR2633(Capacitive touch Development board) UART0 configuration issue

$
0
0
Part Number: MSP430FR2633 Hello Everyone, I am working on MSP430FR2633 Capacitive touch development board. Using the capacitive touch user guide i have worked on example codes and all the peripherals(buttons,wheel,slider) are working fine. Right now the interface between the main MCU( MSP430FR2633 ) and GUI is happneing using BULKI2C using the HID bridge controller. There is also a option to interface using UART, which right now is unused. ISSUE: Now i need to use that UART for one of my other application externally ,but as i am trying to configure the UART its not working. The main clock is ACLK (32768) which i am using as clock to UART0. i have set the clock as device specific Board has a external crystal oscillator (32768) which is been used. UCA0CTL1 |=UCSSEL_1; which is device specific. Pins (Tx and Rx) are port 1 pins 1.4 and 1.5. What might be the issue? can i use the UART0 as it is also used for Bridge interface but unused? there is a jumper in the board (which i have removed )which bypasses the UART communication between the bridge so that it can be used for some other application. this is my code for UART0 configuration. P1SEL0 = (BIT4 + BIT5); P1SEL1 = (BIT4 + BIT5); UCA0CTL1 |= UCSWRST; UCA0CTL1 |= UCSSEL_1; // Set ACLK = 32768 as UCBRCLK UCA0CTL1 = UCMODE_0; UCA0BR0 = 0x03; // 9600 baud UCA0BR1 =0x00; UCA0MCTLW |= 0x53; UCA0CTL1 &= ~UCSWRST; // release from reset UCA0IE |= UCRXIE; // enable RX interrupt Regards, Sanath Rai

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>