Shop OBEX P1 Docs P2 Docs Learn Events
PropNET Module = Propeller Web Server beta / software development tester — Parallax Forums

PropNET Module = Propeller Web Server beta / software development tester

Timothy D. SwieterTimothy D. Swieter Posts: 1,613
edited 2010-06-24 13:11 in Propeller 1
OK gang, the discussion over in the Propeller Web Server thread has me geeked. I like the WizNET chip and I think it pairs well with the Propeller. I have wanted to design a system like what Parallax is doing because of some various projects and learning I wanted to do so I am inspired to see their product work. Once I saw Parallax working on a design I figured I would wait for them to finish. However as the discussion developed I realized there is an opportunity right now to quickly put some parts together to start working on software. At first I was thinking of attaching modules to the Propeller ProtoBoard, but that was a little messy. So I thought I would do a simple plug 'n work PCB. So therefore that is what I did and I chose to use the Propeller Platform as the basis of the design:

PropNET Module - a W5100 based Propeller Platform Module (for the Propeller Platform sold at Gadget Gangster)

Included in the design:
  • A longboard module that plugs on top of Propeller Platform.
  • A footprint for plugging in the WizNET WIZ812WJ module. This module has a W5100 IC on it. The module can be bought from various dealers on-line.
  • A footprint for plugging in the Parallax MicroSD-Card Adapter.
  • A footprint for the Maxim DS2502-E48 IC, which shares the /INT line to the WizNET module. This IC is a user option to include a MAC ID - or just store data on the SD card or in the EEPROM.
  • A footprint for the MoBo header.
  • Footprints for the proposed RTC S-35390A IC and super capacitor
  • LEDs for Link, Tx, and Rx indicators from the WizNET module.
  • User interface LED and switch.
  • Solder jumper pads for configuring the WizNET module to use only SPI interface or to use the 8-bit and SPI interface. If only using the SPI interface the other I/O can remain free for stacking another module on top of the PropNET module.
  • The majority of the design is through-hole components and modules, so just about anyone can assemble the module for prototyping. The RTC IC is the only surface mount components and is an SOP-8 package.

For the most part I followed the schematic published by Parallax. There are a couple oddities though, for instance the WizNET module doesn't bring out the W5100 /SCS and SEN signals. Instead there is glue logic on the WizNET module and only a SPI ENABLE signal is brought out on the headers. I attached the SPI ENABLE signal where the SEN normally goes on the Propeller. I also left off the 3-pin 'serial' interface header.

The solder jumper pads I think are a bonus in this design. When one setups of the PropNET you can decide if you want to use the W5100 in SPI or 8-bit mode/Indirect. Obviously the 8-bit mode takes more pins and with the Propeller Platform stackable I didn't want to connect pins to the modules that aren't going to be used if you wanted SPI mode. There is flexibility then in expanding to other modules without the risk of burning the W5100 up. Most pins are already connected for SPI module. The solder jumpers should take a drop of solder to ensure the pads are bridged. The pads are those half circle shape devices between the WizNET module headers. Some pins are shared between SPI and 8-bit mode so those are always connected such as /RESET and a couple others.

The design is a two layer PCB. The schematic and PCB are being worked on in EAGLE. I plan to order plenty of PCBs. I hadn't thought through if I or someone else will offer kits. Again, since the majority of the items are headers/resistors and through-hole most people may have the items sitting around. And of course, you can populate only those items you need so if you are interested in the WizNET module and don't care about the RTC or SD card, then you can leave those items unpopulated.

What do you think? I am hoping to order the PCB early next week.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter, E.I.
www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
www.tdswieter.com
1149 x 759 - 60K
«1

Comments

  • Paul Sr.Paul Sr. Posts: 435
    edited 2010-01-30 15:08
    Looks good Tim. Will this be compatible with the WIZ810MJ (from the CC project)? I haven't checked out the pin config, but I believe that's the model you also have from back then.
  • Bill HenningBill Henning Posts: 6,445
    edited 2010-01-30 17:07
    Looks good!

    And like you said - it allows for an early start for the software.
    Timothy D. Swieter said...
    OK gang, the discussion over in the Propeller Web Server thread has me geeked. I like the WizNET chip and I think it pairs well with the Propeller. I have wanted to design a system like what Parallax is doing because of some various projects and learning I wanted to do so I am inspired to see their product work. Once I saw Parallax working on a design I figured I would wait for them to finish. However as the discussion developed I realized there is an opportunity right now to quickly put some parts together to start working on software. At first I was thinking of attaching modules to the Propeller ProtoBoard, but that was a little messy. So I thought I would do a simple plug 'n work PCB. So therefore that is what I did and I chose to use the Propeller Platform as the basis of the design:

    PropNET Module - a W5100 based Propeller Platform Module (for the Propeller Platform sold at Gadget Gangster)

    Included in the design:
    • A longboard module that plugs on top of Propeller Platform.
    • A footprint for plugging in the WizNET WIZ812WJ module. This module has a W5100 IC on it. The module can be bought from various dealers on-line.
    • A footprint for plugging in the Parallax MicroSD-Card Adapter.
    • A footprint for the Maxim DS2502-E48 IC, which shares the /INT line to the WizNET module. This IC is a user option to include a MAC ID - or just store data on the SD card or in the EEPROM.
    • A footprint for the MoBo header.
    • Footprints for the proposed RTC S-35390A IC and super capacitor
    • LEDs for Link, Tx, and Rx indicators from the WizNET module.
    • User interface LED and switch.
    • Solder jumper pads for configuring the WizNET module to use only SPI interface or to use the 8-bit and SPI interface. If only using the SPI interface the other I/O can remain free for stacking another module on top of the PropNET module.
    • The majority of the design is through-hole components and modules, so just about anyone can assemble the module for prototyping. The RTC IC is the only surface mount components and is an SOP-8 package.

    For the most part I followed the schematic published by Parallax. There are a couple oddities though, for instance the WizNET module doesn't bring out the W5100 /SCS and SEN signals. Instead there is glue logic on the WizNET module and only a SPI ENABLE signal is brought out on the headers. I attached the SPI ENABLE signal where the SEN normally goes on the Propeller. I also left off the 3-pin 'serial' interface header.

    The solder jumper pads I think are a bonus in this design. When one setups of the PropNET you can decide if you want to use the W5100 in SPI or 8-bit mode/Indirect. Obviously the 8-bit mode takes more pins and with the Propeller Platform stackable I didn't want to connect pins to the modules that aren't going to be used if you wanted SPI mode. There is flexibility then in expanding to other modules without the risk of burning the W5100 up. Most pins are already connected for SPI module. The solder jumpers should take a drop of solder to ensure the pads are bridged. The pads are those half circle shape devices between the WizNET module headers. Some pins are shared between SPI and 8-bit mode so those are always connected such as /RESET and a couple others.

    The design is a two layer PCB. The schematic and PCB are being worked on in EAGLE. I plan to order plenty of PCBs. I hadn't thought through if I or someone else will offer kits. Again, since the majority of the items are headers/resistors and through-hole most people may have the items sitting around. And of course, you can populate only those items you need so if you are interested in the WizNET module and don't care about the RTC or SD card, then you can leave those items unpopulated.

    What do you think? I am hoping to order the PCB early next week.
    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.mikronauts.com E-mail: mikronauts _at_ gmail _dot_ com 5.0" VGA LCD in stock!
    Morpheus dual Prop SBC w/ 512KB kit $119.95, Mem+2MB memory/IO kit $89.95, both kits $189.95 SerPlug $9.95
    Propteus and Proteus for Propeller prototyping 6.250MHz custom Crystals run Propellers at 100MHz
    Las - Large model assembler Largos - upcoming nano operating system
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2010-01-31 06:43
    Paul Sr. - Unfortunately PropNET will not be compatible with the WIZ810MJ from Circuit Cellar contest, however that doesn't mean a Propeller Platform module couldn't be made to accommodate that. I chose to use the WIZ812MJ because it has 0.1" spacing of the headers (the WIZ810MJ has 2.00mm pitch). The WIZ812MJ also has various LED indicators brought to the headers where the WIZ811MJ does not. The WIZ812MJ and WIZ811MJ will both fit and work with the module as it is designed now, however if one choses to use the WIZ811MJ they should not populate the Tx, Rx and Link LEDs as they won't work and may actually short 3.3V DC to Ground.

    The module is a quickly thrown together design. I truely intend to use it as a development for the Parallax product. Perhaps with time and feedback this module can evolve.

    You can review the info on the WIZ812MJ here: [noparse][[/noparse]urlhttp://www.wiznet.co.kr/en/pro02.php?&ss=2&page=1&num=91

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
    www.tdswieter.com

  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2010-01-31 07:40
    I attached an updated pictures. I expanded the 1-wire portion slightly. I made it so two 1-wire TO-92 items could be mounted. I added a pull-up resistor for one wire as well as solder jumper configurations for deciding which Propeller I/O pin to use and which voltage to apply to the third leg of the TO-92 case. I will step away from the design for a couple hours, then come back, check it and go ahead with ordering a fistful of PCBs.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
    www.tdswieter.com
    1532 x 1012 - 91K
  • Nick McClickNick McClick Posts: 1,003
    edited 2010-02-01 18:19
    I think it looks really slick - I especially like the jumper pad configuration options and adding holes to see the power LED's is novel. The one surface mount IC is pretty easy to do, too.

    Always have to ask, but I think the Wiznet is $20(?) by itself, what do you think the retail price will be for this as a kit, with the Wiznet?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Forums RSS Feed!

    Gadget Gangster - Share your Electronic Projects
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2010-02-01 23:43
    I haven't thought through the kit aspect too much yet. One would think I would simply carry kits at Brilldea, right? However I have a couple things that are keeping me from jumping straight to that answer. One thing is that I have to dedicate my time carefully over the next couple months as I need to also prepare for the Professional Engineering Exam. Therefore I need to pick carefully the Brilldea items I work on and building kits is low on the list at the moment. Another problem I face is that Digikey isn't letting me buy the RTC IC. It says there are vendor restrictions, which probably means I can't buy it and ship it to Singapore. There are ways around that like finding it locally (maybe) or looking at another vendor like Mouser or RSComponents or Jameco or getting the shipment lumped with another shipment from my family or office. Nick - you are the master of kits, maybe you are interested in providing the kit since some people will also need to get a Prop Module as well.

    The kit could be offered ala cart. For instance, the kit could have the RTC IC, but another add-on option could be the MAC ID IC. The user can also get the microSD module as they wish or the WIZnet module as they wish. I was thinking an entire kit for everything on the PCB would be nice, but may be that would discourage sales too.

    For the moment I do know this - I ordered PCBs and I will be giving them away some of them for others to get going on software. I will also be selling them too. The PCBs ship to me on February 6th so I should get them early next week. This is good because the following week is Chinese New Year and I hope to have some time then to code and try out the PCB.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
    www.tdswieter.com
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2010-02-03 07:13
    I've done a first pass at the PropNET BOM. Attached is a PDF with the parts lists. Some parts are vague because I tried to design with standard parts that people would have or could procure easily such as resistors or LEDs.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
    www.tdswieter.com
  • Don MDon M Posts: 1,653
    edited 2010-02-03 13:04
    Tim- What program do you use to create that great looking pcb & schematics?
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2010-02-03 13:51
    Thanks for the comment Don M. I'm an EAGLE fan. However I will point out that good looking schematics and PCBs are one part software and one part user. By that I mean that the designer needs to be active in putting together a nicely documented, spaced out schematic or PCB board. Part of that comes from experience and part of it comes from experimenting. You don't want to see the schematic for this PCB (yet) as I rushed it together so I could get to the board routing.

    One last tip....take your time on a design. Work on it. Put it aside. Come back to it later and review it with clean eyes. Print it out. Lay parts on it. Turn the design different colors on the monitor, rotate. Basically take time to review the design to make it the best it can. Don't worry if it comes out with problems or looking awkward, iteration is an important part of design - though not always affordable in time or money.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
    www.tdswieter.com
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2010-02-05 09:08
    I've ordered my parts from Digikey, well most of the parts. Digikey wouldn't allow me to buy the Seiko RTC IC. I ordered a different brand, but unfortunately the pin/package doesn't line up. For verifying the circuit board that should be fine. I believe Gadget Gangster will be selling kits with the correct parts in it.

    Tomorrow I should confirmation of the PCBs shipping, and then it is only matter of time for delivery and assembly and verifying.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
    www.tdswieter.com
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2010-02-10 11:26
    The latest update is that the PCBs are in Singapore, just not delivered yet. They took longer to get out of China, which is typical around Chinese New Year. My box of parts such as the super capacitor is coming from Digi-key. Last I checked it was in Hong Kong which usually means I receive it the next day. It is looking good to get the parts before the holiday weekend - yahoo!

    I will pick up the parts from the office Thursday or Friday. I post pictures once I get the items. The goal over the holiday weekend (besides writing some software for work) is to populate and verify circuits and connections on the PCB. Then I can announce plans for distributing the PCBs.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
    www.tdswieter.com
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2010-02-12 12:45
    YAHOO! I got the parts and PCB in.....well most of the parts. I forgot to pickup some sockets when I was at the market to socket the modules, but surely there are some around my home somewhere.

    Attached are a couple of photos of the PCB and of some of the components placed on the PCB. In the next couple days I should be able to solder up a test unit and prove the PCB design is OK. Off the bat I can see that I could have improved a couple component placements like the uSD card module. I also see that the holes for the WIZnet module to the PCB are slightly off (really small, but off), but that is OK for my app since I wasn't planning to use them.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
    www.tdswieter.com
    1024 x 768 - 166K
    1024 x 768 - 118K
    1024 x 768 - 163K
    1024 x 768 - 142K
  • Bob Lawrence (VE1RLL)Bob Lawrence (VE1RLL) Posts: 1,720
    edited 2010-02-12 13:29
    Nice work and design. You sure work fast. yeah.gif
  • Nick McClickNick McClick Posts: 1,003
    edited 2010-02-12 18:55
    Looks very good - nice, symmetrical layout, too.

    Random question - what's the current consumption of the Wiznet? I wonder how long it will run on batteries.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Forums RSS Feed!

    Gadget Gangster - Share your Electronic Projects
  • Bill HenningBill Henning Posts: 6,445
    edited 2010-02-12 19:13
    Looks great!
    Timothy D. Swieter said...
    YAHOO! I got the parts and PCB in.....well most of the parts. I forgot to pickup some sockets when I was at the market to socket the modules, but surely there are some around my home somewhere.

    Attached are a couple of photos of the PCB and of some of the components placed on the PCB. In the next couple days I should be able to solder up a test unit and prove the PCB design is OK. Off the bat I can see that I could have improved a couple component placements like the uSD card module. I also see that the holes for the WIZnet module to the PCB are slightly off (really small, but off), but that is OK for my app since I wasn't planning to use them.
    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.mikronauts.com E-mail: mikronauts _at_ gmail _dot_ com 5.0" VGA LCD in stock!
    Morpheus dual Prop SBC w/ 512KB kit $119.95, Mem+2MB memory/IO kit $89.95, both kits $189.95 SerPlug $9.95
    Propteus and Proteus for Propeller prototyping 6.250MHz custom Crystals run Propellers at 100MHz
    Las - Large model assembler Largos - upcoming nano operating system
  • hover1hover1 Posts: 1,929
    edited 2010-02-12 20:08
    Very nice layout Tim. All that gold reminds me of HP boards from the 80's.

    Jim
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2010-02-13 05:13
    Thanks for the nice comments. When I get an idea in my head I like to work on it full steam ahead. I enjoy creating schematics and PCBs. I also enjoy the prototyping process. I have been through creating large products and small products and I generally enjoy the small and quick products like this one.

    I spent my Saturday morning soldering together a PropNET. You can see the pictures of the assembly attached. Don't worry about those blue wires, there is nothing wrong with the PCB. Digi-key would not let me buy the RTC IC that was chosen for the design, the same one as shown on the Parallax schematic (Seiko S-35390A) and therefore I bought a different IC and had to map the pins to the footprint. The assembly of the board was fairly easy because of the through hole design. You can also see in the pictures how well the solder jumper bridges work. I have my first unit to run on either SPI or indirect address to the W5100. I also have the SD card detect wired in as well as the one-wire bus to an unused Prop pin.

    I got a small list of nice to haves should I ever do a design revision, but at the moment this design is looking solid from the assembly and board documentation view point. Next step is to power it up and see how it works!!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
    www.tdswieter.com
    1024 x 768 - 134K
    1024 x 768 - 147K
    1024 x 768 - 128K
    1024 x 768 - 118K
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2010-02-14 04:40
    Quick update on the PCB verification process. So far things look good.

    Done:
    • Verified LED and Switch circuit works.
    • Verified that the 1-Wire circuit works and both 1-wire devices can be discovered. I have installed a DS1822 (temp sensors) and DS2502-E48 (EEPROM/MAC ID).
    • Verified the uSD-Card adapter interface. I used FSRW from the obex to verify that a card can be read and tested.

    Left to do:
    • Verify W5100 in SPI mode. Probably use Hydra EtherX sample code.
    • Verify W5100 in Indirect mode. Will require some coding, but if I can quickly verify reading/writing that is all that is needed.
    • Verify I2C RTC IC interface

    Stay tuned....

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
    www.tdswieter.com
  • Mike HuseltonMike Huselton Posts: 746
    edited 2010-02-14 05:43
    I don't use profanity, Tim - but, damn! Fast, accurate and inspired work. Why don't you do something lame once and awhile to make me feel better?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    JMH
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2010-02-14 07:58
    Update:

    Done:
    • Verified I2C RTC IC - it is nearly similar to the DS1307 so I tested it with an obex out of the OBEX.
    • Verified W5100 SPI mode. I tried Hydra EtherX code, but I realized it is isn't simple to configure the pin configuration because the driver is written specifically for the EtherX and generically enough. Therefore I dug up my old start at a W5100 driver in spin http://forums.parallax.com/showthread.php?p=693560 and used that to set the IP address and ping it. It pings fine.

    To do:
    • Verify W5100 in indirect mode.
    • Verify how long the super cap stays alive.
    • Distribute the boards for others to start using and writing software since the board is nearly verified I feel comfortable selling them now. Stay tuned for details in next 12 hours or so.

    As a community we should coordinate the effort for writing the software. I think we need to right two solid, generic (configurable) routines for the W5100. One is an SPI routine and one is an Indirect routine. The routines should be similar enough such that the application code doesn't have to change the routine names for reading and writing data. That is to say that an application code could work with either the SPI or the Indirect interface based on which driver is initialized and few, if any, other changes to the code. We should parse out the tasks to different individuals who want to pitch in for coordinating this effort.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
    www.tdswieter.com
  • Mike HuseltonMike Huselton Posts: 746
    edited 2010-02-14 10:52
    I have enjoyed the benefits (and pitfalls) of joint hardware and software development for over 30 years.

    The only thing I can forewarn you about is this: if one commits to a task, make sure it is carried out. This entails a means of task scheduling and management.
    This group seems mature enough to entrust each member to finish a job, and we can have a lot of fun doing it. But, if it becomes a drag and a nag, we can run into "issues"

    Count me in, especially if the job is sufficiently described (SPECIFICATIONS!). I've written specs all my professional life, and I am sure the majority here has, too.
    Maybe some sample projects, specs and simple management forms are in order.

    I know, this can suck all the fun out of it (you're FIRED Huselton!). So keep it simple, light-hearted and fun.

    Just sayin'

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    JMH
  • DynamoBenDynamoBen Posts: 366
    edited 2010-02-14 17:18
    Timothy D. Swieter said...

    As a community we should coordinate the effort for writing the software. I think we need to right two solid, generic (configurable) routines for the W5100. One is an SPI routine and one is an Indirect routine. The routines should be similar enough such that the application code doesn't have to change the routine names for reading and writing data. That is to say that an application code could work with either the SPI or the Indirect interface based on which driver is initialized and few, if any, other changes to the code. We should parse out the tasks to different individuals who want to pitch in for coordinating this effort.

    A while back myself and others started work on the SPI code. We decided that while the hydra driver worked it wasn't fast enough (written in spin). We were able to speed things up so we could read/write to the W5100 at 10mhz (the W5100 couldn't go any faster, see the datasheet). At present I think the only thing left to do is move the Tx/Rx code (maybe more) into the assembly portion and possibly create a circular buffer. This should give the SPI code a boost.

    http://forums.parallax.com/showthread.php?p=851153

    Post Edited (DynamoBen) : 2/14/2010 7:02:56 PM GMT
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2010-02-16 01:40
    Here ye, here ye.....The PropNET Module PCB is now available for ordering. www.brilldea.com/product_PropNET.html.

    I am working with Nick at Gadget Gangster to see about offering a kit. I won't be able to offer a kit because Digi-key is blocking the ability to ship the Seiko RTC IC to Singapore and I haven't found another source locally yet. The minimum you need to get started is a PCB, a WIZ812MJ module and a couple headers/sockets. Then you can attach the PCB to a Propeller Platform or wire it up to another Prop board. The other items such as uSD, RTC IC, etc can be added if you want them.

    Yesterday I started cooking up a new SPI driver in ASM. This is based on the previous code I started. So far I am only as far as setting the various addresses. Next step is adding function for opening/closing sockets, etc. One thing I like about the attached driver, if I do say so myself, is that it is easy to follow and well documented. I would appreociate any feedback to make it even better. Stay tuned for added functionality. Another reason for creating this new SPI driver is that I am trying to structure it so that it is easy to pull the "SPI RUG" out from under it and replace it with "Indirect bust mode carpet".

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
    www.tdswieter.com

    Post Edited (Timothy D. Swieter) : 2/16/2010 1:48:53 AM GMT
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2010-02-16 01:44
    Mike - thanks for the thoughts. Certainly spec writing is important for a community project. I haven't organized anything in a community like this so I am not sure what path to follow best. I might even be hurting the effort by forging ahead with an SPI ASM driver of my own. Overall I think the key is to get the API the same between the SPI or the Indirect driver. First define the API - function names and function parameters, then from there one can write SPIN and ASM versions to handle the functions.

    Ben - thanks for the link to the thread. I need to reread that thread.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
    www.tdswieter.com
  • DynamoBenDynamoBen Posts: 366
    edited 2010-02-16 01:55
    Timothy D. Swieter said...

    Ben - thanks for the link to the thread. I need to reread that thread.

    The important bit is that counters are being used to speed up SPI communication I see no reason why this same method couldn't work the same for the indirect mode.
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2010-02-16 01:56
    That is the part that I am wanting to learn the most. I recall a couple other non-related threads that use counters for clocking data in and out and that is a trick I want to learn. My latest ASM driver doesn't use this trick - yet - but I hope to learn from you and others.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
    www.tdswieter.com
  • DynamoBenDynamoBen Posts: 366
    edited 2010-02-16 02:01
    Timothy D. Swieter said...
    That is the part that I am wanting to learn the most. I recall a couple other non-related threads that use counters for clocking data in and out and that is a trick I want to learn. My latest ASM driver doesn't use this trick - yet - but I hope to learn from you and others.

    When you look at the code each line is one bit, hence 32 lines of ASM. The speed that this occurs is based on the counters speed.

    Post Edited (DynamoBen) : 2/16/2010 2:14:01 AM GMT
  • VIRANDVIRAND Posts: 656
    edited 2010-02-16 04:47
    I am interested in Propeller webservers, especially the possibility of dynamic webpages
    that are arranged only by Spin to generate interactive html with with images and sounds.
    (One cgi language should be enough.) smile.gif
    I have the Etherx module for Hydra but haven't put it to good use yet.

    Just commenting for encouragement. This may be something I would like to build or buy.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    I should be typing in Spin now.
    Coming soon. My open Propeller Project Pages and favorite links index.
  • reklawreklaw Posts: 1
    edited 2010-02-17 04:09
    ha guys i am new to the form what i am looking for is a way to hook a ethernet to the propeller chip
    so i can control my rov over a net work cable,i am useing a sytech joystick· usb· from a lap top and sending all the control down throw a rj45 cable can anybody help me
  • DynamoBenDynamoBen Posts: 366
    edited 2010-02-17 04:14
    reklaw said...
    ha guys i am new to the form what i am looking for is a way to hook a ethernet to the propeller chip
    so i can control my rov over a net work cable,i am useing a sytech]joystick</B> usb from a lap top and sending all the control down throw a rj45 cable can anybody help me

    I would suggest you start a new thread, this will ensure you get the attention you deserve.
Sign In or Register to comment.