Skip to content
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

Uart glitching improvements #193

Conversation

mbrugman67
Copy link
Contributor

@mbrugman67 mbrugman67 commented Jan 19, 2025

This closes issue #196

A few changes to the glitcher to:

  • increase resolution from 1 microsecond to 10 nanosends: changed clock divider in PIO state machine, removed magic multiplier from FIFO to SM
  • renamed setup_hardware() and teardown_hardware() methods to setup_uart_glitch_hardware() and teardown_uart_glitch_hardware() respectively. The original generic names would doubtlessly resulted in a collision at some point in the future
  • clean up some wrong/misleading comments
  • fix loop counter variable datatype (from uint8_t to size_t)

The timing seems correct with test equipment I have.

@DangerousPrototypes DangerousPrototypes merged commit 7ccd44e into DangerousPrototypes:main Jan 20, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants