All Questions
74
questions
1
vote
1
answer
87
views
Problem in detecting the line feed character in inter-micro UART communication [closed]
Setup:
There are two MCUs, communicating with each other over UART. Let's call the transmitting MCU as A, and receiving MCU as B. MCU A and B are different. A is SAML22 (using IAR Compiler) and B is ...
1
vote
1
answer
83
views
For a UART communication, when do we enable/disable the peripheral wrt changing between transmitting and receiving mode?
I am working with SAML22 microcontroller and I am supposed to write the transmission code using the interrupt mode. I am confused in which case I am supposed to disable the peripheral.
When changing ...
0
votes
1
answer
94
views
STM32 - Implementing UART to USB convertor
Considering STM32 Nucleo Boards, implementing a communication by serial port with a computer is a matter of using UART on the Nucleo Board and connecting it to the computer via USB, where you emulate ...
1
vote
1
answer
111
views
Setting Boot Mode on Microcontroller without Boot Selection Pins
I've been tinkering around with this Generalplus microcontroller: GPM32F0118B and there are datasheets/some materials here: https://www.generalplus.com/GPM32F0118B-MkCri-...
0
votes
0
answers
164
views
Smart Card (SIM Card), connect to stm32 via USART
After get ATR and send PTS, I tried send APDU, but response always the same as APDU which has been sent.
I tried to change the frequency for USART (clock) and baud rate, after I tried to change PTS ...
0
votes
1
answer
183
views
Why would a UART only transmit the first character and then stop?
For some context I'm using a STM32H7A3 chip: reference manual
With this UART and pin configuration:
...
0
votes
3
answers
162
views
STM32 communication [closed]
I am using two stm32H7A3ZI-Q.
Both boards are used to generate data that is transmitted and received (IT) via UART to each other.
This data is used to as a variable to calculate a set of equations in ...
2
votes
1
answer
576
views
STM32 - HAL_UART_Receive first byte is always zero
I am implementing communication between Nucleo-F072RB board and an evaluation board with TI BQ75614 BMS IC.
I have succeeded to communicate with the IC using 1 Mbps UART interface, successfully ...
1
vote
0
answers
25
views
Using HM-10 module vs CC2540/1
Currently I'm trying to buy a BLE module, and the HM-10 module seems to be a module built around the CC2540 or CC2541 chips.
The HM-10 module is a module that works whit UART and AT-commands, I want ...
0
votes
2
answers
110
views
Connect to embedded device through serial, possible and how?
I have a device with embedded linux. I need to access the CLI of this device, and found a RS232 port in the motherboard. Can I access CLI with putty, using this RS232 port?
0
votes
1
answer
76
views
What is expected error rate and drop rate on ST-Link VCP USART?
What is expected error rate and drop rate on ST-Link VCP USART?
On the Nucleo STM32F446RE, my code reads the USART VCP (of ST-Link) and echoes it back. It uses DMA, FreeRTOS, and FreeRTOS queues (...
0
votes
1
answer
109
views
How to debug a failing USART?
I have simple code which writes to the USART on a Nucleo board that is connected to ST-Link, and appears on my workstation via VCP over USB.
I'm trying now to port it to a STM32H735G-DK Discovery but ...
1
vote
1
answer
200
views
STM32 USART RX with DMA
I'm trying to set up UART communication with DMA using the STM32F103C8 controller. I'm trying to receive data with DMA, but I can't receive data continuously. Can anyone correct me if I made a mistake?...
1
vote
1
answer
1k
views
STM32 UART with DMA
I'm working on firmware for an STM32F103 which is communicating over RS232 at 9600 baud. I need to transmit and receive the data by using UART_DMA method. For transmitting the data, the DMA register ...
0
votes
3
answers
1k
views
How to bypass strong pullup on RX pin of Wemos D1 Mini (ESP8266) to communicate with UART multiplexer (CD4052)?
I have designed an extension board for the Wemos D1 Mini module, where I wish to expand to 4 available UARTs to interface with other sensors/modules. Debug is carried out by UART1 pins. For UART ...