Replies: 5 comments 5 replies
-
Maybe at a soft UART for SBUS on radio where the inpit can not be inverted? |
Beta Was this translation helpful? Give feedback.
-
First of all, thanks a lot for putting this together! It’s just splendid! i have only a couple remarks:
|
Beta Was this translation helpful? Give feedback.
-
@rotorman as you mention it, I don’t think it will be 100% covered in the first PR, which goal is for now to get rid of the mess and dust on the current code. But we need to have goals and designs if this is supposed to be heading anywhere. |
Beta Was this translation helpful? Give feedback.
-
How about adding RTT as well, can probably only be used for cli and debug. I had errors when enabling debugging because uart debugging is slow and changed some timings (was when we were testing the touch screen lockup). Will mostly only be useful for devs, but it works really well, is fast so doesn't affect real-time operation, and does not take a lot of code space. |
Beta Was this translation helpful? Give feedback.
-
1-All should be Model specific and not Set by Hardware Tab. 2-Standard Baudrates should be Marked somehow (with STD Label or else?) to give users a hint what Baudrate they should choose in most cases. 3-Talking over Chip interconnection like writen already above... 4-Configurable uart 4 also would be Nice. Especially for the x12s because it's the only physical connector available without Soldering. Just my thoughts. 🙂 |
Beta Was this translation helpful? Give feedback.
-
Come and join in spawning ideas for PR #1089 (Serial refactor) by discussing requirements and usage scenarios of serial ports in the radios.
Update: text in this post was augmented with discussion input from below posts (until Nov. 21st, 2021).
One goal is to make interacting with a serial port (either physical UART/USART or virtual VCP/CDC over USB) uniform and better interchangeable in order to be able to less tediously integrate future ideas.
The mapping between the port and the application should be user selectable and not hard-coded. E.g. consider the current implementation of GPS and Bluetooth (BT) on TX16S, where both are hard-wired to USART6. This is unnecessary, as both could also be used e.g. on USART3 (AUX1 on TX16S instead of AUX2) as well. In addition, the present implementation does not allow due to this hard-coding GPS and BT to be used simultaneously.
Please feel free to augment and brainstorm!
Ports to consider
Configurability
Possible use cases
Beta Was this translation helpful? Give feedback.
All reactions