-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libfx2-migration: serial examples #50
base: master
Are you sure you want to change the base?
Conversation
now PB0 and PA0 are still hard-coded in parts of implementationHDMI2USB-fx2-firmware/common/uart.h Lines 11 to 16 in 7548a73
This comment was generated by todo based on a
|
is it that when =0, RI will fire even with invalid stop bit?HDMI2USB-fx2-firmware/common/uart_hard.c Lines 23 to 28 in 7548a73
This comment was generated by todo based on a
|
make clock two times slower when not in full-duplex modeHDMI2USB-fx2-firmware/common/uart_soft.c Lines 105 to 110 in 7548a73
This comment was generated by todo based on a
|
is it that when =0, RI will fire even with invalid stop bit?HDMI2USB-fx2-firmware/common/uart_hard.c Lines 23 to 28 in faea5c5
This comment was generated by todo based on a
|
This is a part of splitting #47 into smaller PRs.
This PR is a minimal set of changes that adds serial examples:
Examples are located in examples/. Each comes with a Makefile and README.md.
Examples that use UART can be compiled either using software bitbanged UART or hardware UART (FX2 serial port 0).
Bitbanged pins will are not yet fully configurable. While configuring TX pin is not a big problem, RX pin uses external interrupt for clock synchronization, so we will be able to choose only between PA0 and PA1.
Common code is located in common/. It includes consists of implementations of CDC-ACM and UART.
Most files from master have been left intact to avoid cluttering the PR diff.