Skip to content

Conversation

@the-snowwhite
Copy link
Contributor

This PR Concerns only the DE10_Nano_FB_Cramps and DE0_Nano_Soc_Cramps designs:
Adds: Routing input pins to Mesa VHDL cores
Adds: config with 2x (qcounter) encoder inputs on GPIO_1
Fixes ADC reading (Qsys HPS clock generated a 50MHz adc clock instead of the specified 40Mhz)

ADC and Encoder functionality tested OK

…pare

Signed-off-by: Michael Brown <producer@holotronic.dk>
…with cap sensor

Signed-off-by: Michael Brown <producer@holotronic.dk>
…sion)

Signed-off-by: Michael Brown <producer@holotronic.dk>
…nd update firmware id

Signed-off-by: Michael Brown <producer@holotronic.dk>
Signed-off-by: Michael Brown <producer@holotronic.dk>
… restore former

Signed-off-by: Michael Brown <producer@holotronic.dk>
… read upto 24 bits in the hal)

Cosmetic changes: change all line ends to msdos type as this is what quartus produces
Change all tabs to soft tabs (4 spaces)
Rename ADC data input signal to: measured_data

Signed-off-by: Michael Brown <producer@holotronic.dk>
Cosmetic changes: change all line ends to msdos type as this is what quartus produces
Change all tabs to soft tabs (4 spaces)

Signed-off-by: Michael Brown <producer@holotronic.dk>
Due to a bug in qsys the ADC clock was running at 50Mhz making it's behaviour inconsistant
as it is rated for max 40Mhz.
Fixed by moving the clock signal source to a qsys pll keeping qsys soc system pinouts unaltered.

Signed-off-by: Michael Brown <producer@holotronic.dk>
Copy link
Contributor

@ArcEye ArcEye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll defer to @cdsteinkuehler on this.
What little knowledge I have in this area is restricted to massaging the package build back to life

@cdsteinkuehler cdsteinkuehler merged commit c214630 into machinekit:master May 8, 2019
@the-snowwhite the-snowwhite deleted the encoder_work_adc_fix branch May 8, 2019 21:30
@the-snowwhite
Copy link
Contributor Author

@ArcEye
Build went smoothly through thanks for great massage...:-)

@the-snowwhite
Copy link
Contributor Author

@ArcEye
@cdsteinkuehler
Ups seems like the green success flags are somewhat mis-leading as the new package got lost:
#102

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.

3 participants