14.1(h) - Serial Communication on the MSP430: The UART - Transmitting a Character to the Terminal

  Рет қаралды 5,779

Digital Logic & Programming

Digital Logic & Programming

Күн бұрын

Пікірлер: 4
@Xevion
@Xevion 2 жыл бұрын
Really great tutorial for learning UART. Very helpful while getting my MSP430FR2355 working.
@omartusson
@omartusson 2 жыл бұрын
Great video as usual. Thank you very much.
@HirilPatelhexagonal
@HirilPatelhexagonal 2 жыл бұрын
Thank you for such detailed description. can you advice me on a question here? I am recieving sampled data from ADS1220 chip from 3 channel sequentially via spi in MSP430f5529 Mcu but when I try to forward that value to serial port via UART to see it in Maltab I get "ñ/ c ó Ó/ "  p/ ] ‰ -/ A ‘ ¿/ ˆ ä &/ " note that I am using "/" to seperate transactions. But my question is is there a way to send Hex value via uart? Thank you
@Project-f7b
@Project-f7b 11 ай бұрын
Why does the code not work? #include //MSP430F5358 int main(void) { WDTCTL = WDTPW | WDTHOLD; // stop watchdog timer P5DIR |= BIT3;//LED 4 //--setup UART A2 UCA2CTLW0 |= UCSWRST; // software reset UCA2CTL0 |= UCSWRST; |= set bit UCA2CTLW0 |= UCSSEL__SMCLK; //choose SMCLK=BRCLK (115200 baud) UCA2BRW = 8; // prescalar = 8 UCA2MCTL = 0xD6; // OS16=low freq, set modulation P9SEL &= ~BIT3; // change P4.3 function to A1 UART Tx P9SEL |= BIT3; PM5CTL0 &= ~LOCKLPM5; // turn on io UCA2CTLW0 &= ~UCSWRST; // out of software reset UCA2CTL0 |= UCSWRST; &= ~ clear a bit int i; while (1) { P5OUT ^= BIT3;//LED 4 // Toggle the pin (XOR operation) __delay_cycles(100000);// Add a delay to observe the toggling UCA2TXBUF = 'A'; // transmits ASCII code for 'A' over UART for(i=0; i
14.1(b) - Serial Communication on the MSP430: The UART - The UART Standard
20:23
Digital Logic & Programming
Рет қаралды 6 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Serial UART with STM32 Microcontroller-Transmit and Receive Data
18:44
The RS-232 protocol
26:10
Ben Eater
Рет қаралды 865 М.
PROTOCOLS: UART - I2C - SPI - Serial communications #001
11:58
Electronoobs
Рет қаралды 1,4 МЛН
Understanding SPI
11:50
Rohde Schwarz
Рет қаралды 115 М.
Beginners Guide to I2C on the Raspberry Pi Pico (BNO055 IMU Example)
16:57
Learn Embedded Systems
Рет қаралды 79 М.
14.1(d) - Serial Communication on the MSP430: The UART - Configuring the Baud Rate
17:37
14.1(a) - Serial Communication on the MSP430: The UART - Serial Com Overview
12:06
Digital Logic & Programming
Рет қаралды 5 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН