Skip to content

USB to Serial with RS485 driver control#46

Open
karlp wants to merge 1 commit intolibopencm3:masterfrom
karlp:pulls/usb-serial-rs485
Open

USB to Serial with RS485 driver control#46
karlp wants to merge 1 commit intolibopencm3:masterfrom
karlp:pulls/usb-serial-rs485

Conversation

@karlp
Copy link
Copy Markdown
Member

@karlp karlp commented Jan 21, 2014

Based on ST's app note and the existing examples.

This relies on libopencm3/libopencm3#246 being merged, and this pull cannot be merged without it, as it doesn't include the update of the submodule. It is here in it's present form for review, but will be updated with the submodule update later.

This also starts to split up some of the usb cdcd code that is copypasta all over the examples tree to have more chunks that can be shared

@karlp
Copy link
Copy Markdown
Member Author

karlp commented Jan 22, 2014

👎 This is missing a file that didn't get added to git, will fix and resubmit

Based on the existing lm4f implementation of cdc-acm to uart, and the existing
f4 cdc-acm loop back examples, this includes the ST appnote code on managing
rs485 signals
@karlp
Copy link
Copy Markdown
Member Author

karlp commented Jan 22, 2014

This is now ready to go, and the dependent changes are in the library now too.

@BuFran
Copy link
Copy Markdown
Contributor

BuFran commented Feb 8, 2014

Nice piece of code.

@karlp
Copy link
Copy Markdown
Member Author

karlp commented Feb 8, 2014

🔴 I've had a few problems with bulk transfers through this, so hold off on it for now, need to figure out if it's a problem with my host app or this code first :(

@karlp
Copy link
Copy Markdown
Member Author

karlp commented Oct 5, 2014

I've revisited this, and it's definitely a problem in this code. zmodem transfers don't seem to work being sent from this firmware, but it will receive ok at lower baud rates, with lots of errors. Probably not handling usb properly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants