Hi All,
New commer to the EEVBlog forums here, but been watching Dave do his thing on YT for a number of years now... (Dave if you read these posts, Dude... you crack me up, your nuts... :-) but awesome with it )
Anyway.....
First a little background
---------------------------
I'm not wet behind the ears when it comes to EE but I'm not a die-hard pro either. I first passed my computing and digital electronics degree in the early 1990's, but I unfortunately went on to work in Mobile/GSM communications, then ultimately stuck with computer software, which today accounts for about 98% of the work I do.
Recently, Iv'e decided to get back into embedded computing and digital electronics, and to say things have changed somewhat is a bit of an understatement :-)
Iv'e gotten myself some Arduino Megas, and a couple of RPi's and been trawling eBay/Banggood getting hold of some cheap IC's etc to experiment with (I prefer cheap because them I'm not so gutted if I release the magic smoke from them)
One of the job lots I picked up, was a tube of "Microchip 16F54"'s, seemed like a good buy, until I found out they didn't have an internal oscillator.
Now onto my question
-------------------------
Iv'e had a little success getting an RC network working, but it was very jittery, and not particularly stable. The 16F54 is not a particularly powerful PIC, in fact it's basically one 8 BIt I/O port and one 4 BIt I/O port (Spec is here :
https://www.jprelec.co.uk/pdffiles/pic16c57c.pdf ,a quick Goog will get you the full Data Sheet. ) , but I don't want to waste them, so I'm thinking about just using them as programmable I/O expanders.
However, I dont think I have the board space to create an RC for every chip (I have 25 of them on my desk at the mo) and I don't believe I can share an RC between multiple chips either.
I do note from the Data Sheet however, that Microchip mentions, it's easy to drive these devices off of a 1 wire clock produced by another device.
That got me thinking.....
I also have a DSPIC30F4011 DSP, that has an internal Oscillator and can apparently do 40Mhz but try as I might, even at a dramatically slowed down speed, and even using an RC with the same values, I just cannot get the DSPIC30F and it's clock out (or a rapidly changing digital pin) to clock to 16F54.
I also tried to see if I could clock it using a custom PWM frequency coming out of the Arduino Mega and failed on that too (Trying to calculate the correct values fro timers 2/3 or the Arduino to change the PWM frequency is mind bending to say the least... The maths are.... well.... let's leave it there shall we :-) )
Anyway, I guess what I'm asking is can I have some guidance here on
a) Putting together a proper RC network for multiple chips, and also some advice on crystals/resonators too
b) Clocking these devices from another source such as the DSPIC30F4011 and/or an Arduino
Iv'e also gotten some IC's from some old 70's/80's devices (Namely sound chips from computers in my childhood) and they too need clock lines to drive them, and well I guess I'm just not making a very good job of it all. This old brain's forgotten most of the electronics theory it learned over 30 years ago :-)
Thanks in advance to all those that help.
And to those who celebrate it, happy holidays and seasons greetings.....
and Dave..... Keep up the great work, keep making people laugh. I saw the Xamarin video the other week, if anyone here wants software advice in .NET/C# then I'm your man.....
Shawty