micro-controllers
This commit is contained in:
parent
71ea8a1f9f
commit
ad54b0cc07
2 changed files with 33 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ In any terminal where you want to compile to the device.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Compilation process
|
## Compilation/flashing process
|
||||||
|
|
||||||
To demonstrate compilation, I have copied one of the demo projects provided:
|
To demonstrate compilation, I have copied one of the demo projects provided:
|
||||||
|
|
||||||
|
|
|
||||||
32
zk/Serial_transmission.md
Normal file
32
zk/Serial_transmission.md
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
---
|
||||||
|
tags:
|
||||||
|
- computer-architecture
|
||||||
|
- micro-controllers
|
||||||
|
---
|
||||||
|
|
||||||
|
A serial port/device transmits data sequentially, one bit at a time over a
|
||||||
|
single channel/data line.
|
||||||
|
|
||||||
|
This is in contrast to parallel transmission, where there are multiple
|
||||||
|
channels/data lines, used simultaneously.
|
||||||
|
|
||||||
|
With serial transmission, one bit is sent after another:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
With parallel transmission, each bit of a byte travels on its own channel in
|
||||||
|
parallel:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Although we say a serial device transmits over a single channel, this is a
|
||||||
|
logical distinction. The actual electrical signals will be transmitted
|
||||||
|
physically via multiple wires.
|
||||||
|
|
||||||
|
## Serial devices on Linux
|
||||||
|
|
||||||
|
Most serial devices today connect via [USB](./USB_protocols_and_connectors.md).
|
||||||
|
|
||||||
|
On Linux, `/dev/ttyUSB*` is a [device](./Devices.md) file representing the
|
||||||
|
physical USB connection to a serial device like, for example, an
|
||||||
|
[ESP32](./ESP_32.md) microcontroller.
|
||||||
Loading…
Add table
Reference in a new issue