irc for YBox2- Project

Talk about YBoxen, widgets, Propeller hacking, etc!

Moderators: adafruit_support_bill, adafruit

Re: irc for YBox2- Project

Postby adafruit » Wed May 06, 2009 6:18 pm

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
User avatar
adafruit
 
Posts: 10491
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: irc for YBox2- Project

Postby Abysmal » Wed May 06, 2009 6:30 pm

I have.. I've built 3 interfaces on top of the ybox2.. the 25 mhz crystal frees up an extra pin on the propeller and saves program/cog space..
User avatar
Abysmal
 
Posts: 46
Joined: Sun Apr 12, 2009 10:52 pm
Location: Toronto Canada

Re: irc for YBox2- Project

Postby justamar » Wed May 06, 2009 9:18 pm

Hey guys thanks for the help! and about the 25 mhz crystal? Should i replace the 5mhz one that i got with the order that i recieved today? Parralex has EXTREMELY fast shipping. USPS first class was orderded on the 4th and I got it in the mail today. The fastest shipping i ever got for $0.59. Next step is to order all the other parts. You know what would be cool if there was a way to share the checkout with other people, at sites like mouser, and digikey that way the ordering process can go alot faster. :lol:
MEEP BLEEP BOOP
justamar
 
Posts: 45
Joined: Thu Dec 11, 2008 2:37 am

Re: irc for YBox2- Project

Postby adafruit » Wed May 06, 2009 11:50 pm

Abysmal wrote:I have.. I've built 3 interfaces on top of the ybox2.. the 25 mhz crystal frees up an extra pin on the propeller and saves program/cog space..


i think we're not communicating well :lol:

when i said "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)"
i meant that i thought that the reason there was a 25mhz crystal in the schematic (in addition to the standard 5mhz)
harrison seems to be implying that propirc can still generate said 25mhz thus making it so that i dont have to disable the webserver in order to free up another cog

or am -i- confused???
User avatar
adafruit
 
Posts: 10491
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: irc for YBox2- Project

Postby harrison » Thu May 07, 2009 1:43 am

ladyada wrote:harrison seems to be implying that propirc can still generate said 25mhz thus making it so that i dont have to disable the webserver in order to free up another cog


That is correct. The driver_enc28j60.spin object that propirc uses can generate the 25MHz clock required by the enc28j60. There was just a typo in the contest version that caused it to generate the wrong frequency.

My custom board uses a 25MHz xtal, which is why it was in the schematic. You could easily omit the xtal and let the propeller generate the clock.
harrison
 
Posts: 8
Joined: Mon Jun 09, 2008 2:55 am
Location: Texas

Re: irc for YBox2- Project

Postby adafruit » Thu May 07, 2009 10:20 am

OK! at least that is all clear and its good because that means we can keep the webserver. I'll probably look at using TV instead of VGA out.
harrison, do you know if there's -any- ram left? do you happen to know if the VGA library uses more RAM than TV?

i thought it would be so rad if it could store a backlog of messages, yknow so one can scroll up in the 'history' using the arrow keys :)
User avatar
adafruit
 
Posts: 10491
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: irc for YBox2- Project

Postby Abysmal » Thu May 07, 2009 1:47 pm

The VGA does use more memory, both in resources and code ..
User avatar
Abysmal
 
Posts: 46
Joined: Sun Apr 12, 2009 10:52 pm
Location: Toronto Canada

Previous

Return to YBox2

Who is online

Users browsing this forum: No registered users and 0 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [103]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[61]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]