All Questions
Tagged with serial microcontroller
193
questions
0
votes
2
answers
50
views
CH32V003 MCU max USART baud rate
I will work with the CH32V003A4M6 microcontroller and must configure its USART for serial communication.
My application needs to go up to 460800 baud rate.
Does someone know if this is possible, or ...
0
votes
2
answers
120
views
Is it normal to get garbage output through UART when resetting the microcontroller?
I have written functioning code for Serial Communication through UART, and when stepping through the code it transmits characters just fine. I have done this using microlib, so I can use printf (I ...
0
votes
3
answers
97
views
How do I convert a structure's data to the character data type and fill it in an array for UART transmission and reception?
I am trying to solve the following problem where I am supposed to send the data of a structure from one micro-controller to another using UART.
The problem statement is as follows:
Write a sample ...
0
votes
3
answers
127
views
What is Multiprocessor Communication in 8051, and how to use it?
In 8051, one of the bit, SM2 or the D5 or SCON.5, is about "Used for Multiprocessor Communication." I am not clear about it. I watched quite many tutorials or explanations about 8051 on ...
0
votes
0
answers
43
views
How to use nRF24L01 on ATTiny85 and together with serial TX?
I am using ATTiny85 + nRF24L01 to receive radio messages.
After connecting nRF24L01 to ATTiny85 I don't have much PINs left, as I use all pins except PB5=RST:
...
0
votes
1
answer
76
views
MSSP setup on PIC16F18313
I am new to using PIC16F18313 and having some difficulty setting up the MSSP module. I am using PICKit 3 on Windows 10 with MPLAB X IDE v5.40 and XC8 compiler v2.41.
The IC has pullup resistors 4.7k ...
0
votes
1
answer
262
views
Interfacing RS422 with microcontroller
I want to use RS422 to communicate two MCUs. In a serial protocol, RX from MCU1 goes with TX from MCU2 and viceversa. RS422 is differencial, so I don't really know how to manage this. Where do I ...
1
vote
2
answers
121
views
IC suggestions for WS28xx like functionality for driving transistors
I'm trying to light up string lights that run off of 12v taking up 500mA.
I'm using BC337 NPN transistor to turn individual string lights on/off where all of them are connected through a DC rail of ...
1
vote
1
answer
98
views
DTR pin in the FT232RL working confusion
I have seen one of the schematics of the Arduino Nano where I have the DTR pin of the FT232RL connected to the capacitor and then to the reset of the Arduino. As far as I have understood, when the USB ...
0
votes
1
answer
122
views
How should I debug this ARM Cortex M STM32 UART write?
I have a STM32F446RE on a Nucleo F446RE, and I'm trying to learn how to program the UART to write over the Virtual COM Port (connected to USART2).
I'm able to download someone else's code, modify it ...
1
vote
1
answer
651
views
How can I find which serial port is connected to Nucleo board via ST-LINK?
I have a Nucleo board connected via USB to ST-Link running on Ubuntu Linux. ST-Link works well in that it can program the board. I would like to use the built in virtual serial port, but am not sure ...
0
votes
1
answer
485
views
How to set up RS232 UART in Proteus?
I am having difficulties sending the correct message to the hyper terminal from ATmega32 micro controller. For some reason, the MAX232 chip is giving undesirable voltage levels. I want it to give ±15 ...
0
votes
1
answer
540
views
ESP32-S3: Serial stops working after a random period of time
I am using a ESP32-S3 Dev Kit (Arduino code) connected to a MAX3232 to read data from a solar inverter. I am facing a strange problem as follows:
The UART (Serial1, ...
-1
votes
2
answers
328
views
How many UART interfaces can be used in this MCU
I want to understand how many UART interfaces can I use in this ATSAMD21 MCU.
I searched for "UART" in the datasheet to find which pins and how many UART interfaces I can connect to. But I ...
-3
votes
1
answer
131
views
Definitions of Serial TTL UART MCU acronyms
I was looking for a comprehensive list of terms and acronyms concerning serial peripheral communication including their descriptions and, crucially, how they relate to each other. Since this site ...