-
Notifications
You must be signed in to change notification settings - Fork 27
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
FPGA: Increase clock frequency to 21 MHz #237
Conversation
Testing using tkey-random-generator pushing out 1 MB of data, no bit-errors. So UART/USB transfers seems stable. Also running long term tests, locally by using a TKey with this daily. Will continue a few days more to see how it behaves. |
ae474dd
to
72588eb
Compare
I see a need to be able to build the bitstream with the original baudrate of 62500. |
Should that baudrate be the default, no matter what the clock speed is? Basically what I'm asking is if the default baudrate should be independent of the clock speed, or the default baudrate is tied to to the clock speed. The easiest, from a HW or build system point of view, is of course leave this to the FW. But otoh that adds complexity to the FW. At the same time, we want the FW to as soon as possible use the highest possible baudrate for the specific device it is running on. We could of course create build flags and compile time defines that sets the PLL parameters to the expected clock speed. And then derive the UART clock cycle counter target to get the default baudrate based on the target clock speed. Being able to set the target clock speed is probably something we want anyway. |
72588eb
to
35d51be
Compare
35d51be
to
9ad4bc1
Compare
Signed-off-by: Joachim Strömbergson <[email protected]>
Signed-off-by: Joachim Strömbergson <[email protected]>
9ad4bc1
to
7f93b78
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the UART baudrate change, only increasing clock frequency for this PR.
FPGA clock increased to 21 MHz
UART bitrate increased to 500 kbps