S
S
Sergey2018-02-16 17:20:14
Microcontrollers
Sergey, 2018-02-16 17:20:14

What is the most capacious way to transfer data via UART between an 8-bit microcontroller and a PC?

Hello,
I would like to know how to universally transfer integer data between the MK and the computer? I'm currently using atoi/itoa or fprintf, but it feels like 8 times the required bits to run.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Gusev, 2018-02-16
@Sanchogus

Well, integers are stronger than in binary form, especially not to shrink. :)
Raise the transmission speed. If the line is long and the uart is buggy from speed, then go to LVDS or RS-485 between USB and MK.

V
Vladimir Belov, 2018-02-18
@MaxMcu

integer data

Move away from ASCII

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question