Перейти к содержанию

Навигация

UART Communication Settings/en: различия между версиями

Новая страница: «In this case, a paradoxical situation arises: we can not know the value of the speed, if we do not specify its value in advance when referring to the device! Ther…»
(Новая страница: «Writing to the appropriate registers changes the parity and the number of stop bits.»)
(Новая страница: «In this case, a paradoxical situation arises: we can not know the value of the speed, if we do not specify its value in advance when referring to the device! Ther…»)
Строка 45: Строка 45:
Writing to the appropriate registers changes the parity and the number of stop bits.
Writing to the appropriate registers changes the parity and the number of stop bits.


При этом возникает парадоксальная ситуация: мы не можем узнать значение скорости, если мы заранее не укажем её значение при обращении к устройству! Поэтому стоит внимательно относиться к тому, какие коммуникационные параметры вы устанавливайте. Наклейте на устройство наклейку с новыми параметрами. В случае, если все коммуникационные параметры неизвестны, найти их можно только перебором:
In this case, a paradoxical situation arises: we can not know the value of the speed, if we do not specify its value in advance when referring to the device! Therefore, you should pay attention to what communication parameters you set. Stick a sticker with the new settings on the device. If all communication parameters are unknown, you can find them only by searching:


     #/bin/bash
     #/bin/bash
12 063

правки