applet.interface: Create the uart-pinout applet#1009
Closed
drosseau wants to merge 1 commit intoGlasgowEmbedded:mainfrom
Closed
applet.interface: Create the uart-pinout applet#1009drosseau wants to merge 1 commit intoGlasgowEmbedded:mainfrom
uart-pinout applet#1009drosseau wants to merge 1 commit intoGlasgowEmbedded:mainfrom
Conversation
whitequark
reviewed
Aug 22, 2025
Member
whitequark
left a comment
There was a problem hiding this comment.
Thanks. This is a pretty big addition so I'd like it to be split into two PRs: one modifying the UART and one adding the new applet. Please also take a look at our contributing guide.
Author
|
Ok I'll split it up and write a better commit message; I forgot to update that for the pull request oops |
Adds a uart-pinout applet that functions similar to the JTAGulator implementation for determining UART pinouts. Essentially this just sends data to the selected pins at various baud rates and looks for an echo. The default just sends a carriage return (0x0d) if no data is set, but the user can send arbitrary binary data up to 0xFF bytes long.
uart-pinout applet
Author
|
After thinking about it, this design is way more complicated than it had to be... way more logic is implemented on the FPGA side than needs to be. I have a different design I'm testing right now that is significantly simpler, but it will still require #1010 to work |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a
uart-pinoutapplet that functions similar to the JTAGulator implementation for determining UART pinouts. Essentially this just sends data to the selected pins at various baud rates and looks for an echo. The default just sends a carriage return (0x0d) if no data is set, but the user can send arbitrary binary data up to 0xFF bytes long.To make this work I also made some changes to the default UART implementation so I could use it with arbitrary signals instead of just ports. Basically the old
UART->ExternalUART. This allows other applets to repurpose theUARTwithout needing physical pins.Some example runs against a simple echoing UART 115200 baud: