Abysmal wrote:ladyada wrote:harrison wrote:
There was a typo in the contest version of propirc which broke the 25MHz freq generator. I didn't catch it until I tried to run the stack on the ybox2...
To fix it, open up driver_enc28j60.spin and change:
- Code: Select all
enc_freq = 5_000_000
to
- Code: Select all
enc_freq = 25_000_000
After fixing that you should be able to run the code with minimal changes (you don't have to disable the webserver or the software rtc).
oh ok. to be honest i didnt look in the enc driver and i assumed there were not enough cogs to generate a 25mhz clock (theres a crystal in the schematic posted)
will check it out soon!
The crystal is for the propeller itself.. then nic chip needs a 25 mhz crystal that is simulated via pin 7 on the prop via code..
you may want to check out harrisons schematic
http://www.parallax.com/Portals/0/Downl ... ematic.pdf

