Post AvUvk7jpNfGvxADI2a by [email protected] | |
More posts by [email protected] | |
Post #AvUvk6o2qV3F3xB8yW by [email protected] | |
0 likes, 0 repeats | |
With 286 and 386 stalled for the moment, I'm thinking back to the 8087 situ… | |
Post #AvUvk6uQSm9hNkAEvA by [email protected] | |
0 likes, 0 repeats | |
Plus there's no guarantee that the 8087 tolerates 3V. It's a toasty chi… | |
Post #AvUvk70o53G9hX9Kro by [email protected] | |
0 likes, 0 repeats | |
The Arduino Giga has a STM32H747 for its main CPU, which is a dual core design … | |
Post #AvUvk77tegvm3WSzuy by [email protected] | |
0 likes, 0 repeats | |
It's possible on an Arduino to make a basic clock by setting a GPIO pin int… | |
Post #AvUvk7DvIHkeMDHoJM by [email protected] | |
0 likes, 0 repeats | |
The STM32H747 however has a whole crap ton of internal timing facilities. Chec… | |
Post #AvUvk7JaxCHwdnwL9U by [email protected] | |
0 likes, 0 repeats | |
What we're interested is over on the Advanced Peripheral Bus 1, where we fi… | |
Post #AvUvk7Pcan6owUl9Xs by [email protected] | |
0 likes, 0 repeats | |
You know what else was a 16-bit, auto-reloading counter? The Intel 8253 in the … | |
Post #AvUvk7WMBkUrHNuX2m by [email protected] | |
0 likes, 0 repeats | |
We can drive the timer counter clock from different sources, but the internal i… | |
Post #AvUvk7dRlOATdNEC5w by [email protected] | |
0 likes, 0 repeats | |
The GPIO registers have a rather confusing matrix of Alternate Functions. Up t… | |
Post #AvUvk7jpNfGvxADI2a by [email protected] | |
0 likes, 0 repeats | |
Bit 7 of GPIO register Port A can be mapped to timer channel 14's output, i… | |
Post #AvUvk7quxIwYJ9Wx5k by [email protected] | |
0 likes, 0 repeats | |
But we want a square wave. Luckily, there's a feature for that using the ti… | |
Post #AvUvk7xIZa30cwW32O by [email protected] | |
0 likes, 0 repeats | |
A divisor of 12 (10Mhz) and a period of 2 (for two clock edges) gives us pretty… | |
Post #AvUvk83KDArsvdKrQm by [email protected] | |
0 likes, 0 repeats | |
@gloriouscow how do you probe it? Are you sure it isn't the ground wire of … | |
Post #AvUvk88zs5PBDDzOGu by [email protected] | |
0 likes, 0 repeats | |
@hennichodernich That's just it, I'm not sure of anything. what makes a… | |
Post #AvUvk8EJYJetTiTdYm by [email protected] | |
0 likes, 0 repeats | |
@gloriouscow well, a steep slope...You need to use the ground spring instead of… | |
Post #AvUvk8KLBuTlmPIRxA by [email protected] | |
0 likes, 0 repeats | |
There's just one little problem. The 8086 and 8087 specify a 33% duty cycle… | |
Post #AvUvk8L39H2vobd13g by [email protected] | |
0 likes, 0 repeats | |
@hennichodernich Neat, thanks. I wonder if I can find that thing. :D | |
Post #AvUvk8VKX3GmKURE5A by [email protected] | |
0 likes, 0 repeats | |
@hennichodernich Thanks that did reduce the ringing a lot. I was wondering wha… | |
Post #AvUvk8iRkHlGzAZhWi by [email protected] | |
0 likes, 0 repeats | |
But look at the other modes available in the datasheet - PWM mode 1 looks inter… | |
Post #AvUvk97yDOB6GKW5JI by [email protected] | |
0 likes, 0 repeats | |
Now we have our square wave with the appropriate 33% duty cycle. Messing aroun… | |
Post #AvUvk9X8hoJLWOIBXc by [email protected] | |
0 likes, 0 repeats | |
Maybe... a capacitor might help? Capacitors are magic right? | |
Post #AvUvk9wfAujAnYEZKC by [email protected] | |
0 likes, 0 repeats | |
Anyway, if the 8086 & 8087 are running at full speed what's the plan fo… | |
Post #AvUvkALpfKrQ3c0fYW by [email protected] | |
0 likes, 0 repeats | |
The READY line prevents the 8086 and 8087 from completing bus transfers. If RE… | |
Post #AvUvkAjaF1rLFH7dZo by [email protected] | |
0 likes, 0 repeats | |
Then in our main program loop, we can read the bus signals from the 8288. If th… | |
Post #AvUvkBAWcrPUapj9ZQ by [email protected] | |
0 likes, 0 repeats | |
The only trick is that we have to very quickly reset READY low again or we may … | |
Post #AvUvkBa35xpJrzfXM0 by [email protected] | |
0 likes, 0 repeats | |
The worst case scenario here are back to back bus transfers - a clock cycle at … | |
Post #AvUvkByrbhfz6xHM24 by [email protected] | |
0 likes, 0 repeats | |
Here's a gist of the code that sets up the timer on the Arduino Giga.I swit… | |
Post #AvUvkU8O71zRPhsDNQ by [email protected] | |
0 likes, 0 repeats | |
@gloriouscow I just got a flash back to last week where I watched https://www.y… | |
Post #AvUvkUF7hzNTkb1asK by [email protected] | |
0 likes, 0 repeats | |
@krono Ben's a legend! | |
Post #AvUvkawEobQkW3F6uW by [email protected] | |
0 likes, 0 repeats | |
@gloriouscow True. |