Skip to main content
3 votes
Accepted

Communication does not occur when connecting an LED to the UART line

As Dave already suggested, change R7 and R8 to 10kOhms. You also need to change R5 and R6 to 150 Ohms because there is too low current available for the LEDs.
Stefan Wyss's user avatar
  • 7,653
3 votes
Accepted

LED does not blink when transmitting/receiving UART

It's easier to see an LED that blinks 'on' when it is off than an LED that blinks 'off' when it is on. So you could reverse the logic (use a PNP transistor as below) so the LED is on for the input ...
Spehro Pefhany's user avatar
3 votes
Accepted

STLink v3 serial doesn't work

Reading the manual for the product reveals the following: The largest issue is that the STLink V3MINIE needs an external IO reference voltage to communicate with the target MCU at the same voltage, ...
Justme's user avatar
  • 159k
2 votes

Is it normal to get garbage output through UART when resetting the microcontroller?

your call to SM_transmit_buffer(); returns as soon as the final '\n' is in the the transmitter shift register of the UART. (it ...
Jasen  Слава Україні's user avatar
2 votes
Accepted

Do FT232 come pre-programmed out of the package?

From the FT232RN datasheet: Section 4.1 Key Features contains: The CBUS lines can be configured with any one of these output options by setting bits in the internal EEPROM. The device is supplied ...
Chester Gillon's user avatar
2 votes

Do FT232 come pre-programmed out of the package?

FT232 are ready to use chips. As they are factory pre-programed microcontrollers, you don't need to ever program them yourself in any way. And your computer needs a driver for any chip before it can ...
Justme's user avatar
  • 159k
1 vote

In AVR-GCC, I am trying to get an atmega328p to sleep and then wake on USART RX, but it locks up

I think you should review the data sheet in which sleep modes it is possible to wake up on which events and which clock source you are using. For example, in all sleep modes except "Idle", ...
Justme's user avatar
  • 159k
1 vote

CH32V003 MCU max USART baud rate

The English version of the reference manual can be found on their website. On page 135, it says the maximum is 3Mbps. The formula to compute the USART clock divisor is on page 136. The given example ...
kaosad's user avatar
  • 1,226
1 vote

CH32V003 MCU max USART baud rate

It looks like generic STM32 lookalike. The main thing is, it depends how much error you tolerate and how are you going to clock it (frequency and type of clock source). The MCU has 48 MHz max system ...
Justme's user avatar
  • 159k
1 vote
Accepted

Problem in detecting the line feed character in inter-micro UART communication

I did not mention in the question about what method I was using to create the string which I am sending on UART. Please find the code below: ...
user8737703's user avatar
1 vote

LED does not blink when transmitting/receiving UART

No there is nothing wrong. That is the expected operation of your circuit. The LED will be on during logic high idle when nothing is transmitted, and turns/blinks off momentarily when something is ...
Justme's user avatar
  • 159k
1 vote

Efficient Padding for UART to Minimize Power Consumption

It is likely that there is no detectable difference regarding what you transmit from the UART point of view. Sending 0xFF or 0x00 has equal amount of data transitions anyway. Unless you know that your ...
Justme's user avatar
  • 159k
1 vote

FT230X using USB-C receptacle not working for data transfer

Since you are making a self powered device, you need to wire it up in a self powered way. You need to configure one of the configurable pins into the VBUS_SENSE mode and the power descriptor should be ...
Ferrybig's user avatar
  • 1,194

Only top scored, non community-wiki answers of a minimum length are eligible