Bs2p-40
Hi everyone,
two things today,
1/
on a bs2p-40 there are 32 i/o pins. Do you set dirs:
Mainio
dirs=0101011010101010
auxio
dirs=0101011010101010
or do you do it as 1 32bit number?
2/
i am currently working on a new project based on the bs2p-40 chipset,
i would like to try and build future proofing into the design ready
to accept the next generation of stamp chipset. Can someone indicate
to me the number of i/o pins the device is likely to have?
Regards
jon millard
two things today,
1/
on a bs2p-40 there are 32 i/o pins. Do you set dirs:
Mainio
dirs=0101011010101010
auxio
dirs=0101011010101010
or do you do it as 1 32bit number?
2/
i am currently working on a new project based on the bs2p-40 chipset,
i would like to try and build future proofing into the design ready
to accept the next generation of stamp chipset. Can someone indicate
to me the number of i/o pins the device is likely to have?
Regards
jon millard
Comments
> HI EVERYONE,
>
> TWO THINGS TODAY,
>
> 1/
>
> ON A BS2P-40 THERE ARE 32 I/O PINS. DO YOU SET DIRS:
>
> MAINIO
> DIRS=0101011010101010
> AUXIO
> DIRS=0101011010101010
>
> OR DO YOU DO IT AS 1 32BIT NUMBER?
>
> 2/
>
> I AM CURRENTLY WORKING ON A NEW PROJECT BASED ON THE BS2P-40 CHIPSET,
> I WOULD LIKE TO TRY AND BUILD FUTURE PROOFING INTO THE DESIGN READY
> TO ACCEPT THE NEXT GENERATION OF STAMP CHIPSET. CAN SOMEONE INDICATE
> TO ME THE NUMBER OF I/O PINS THE DEVICE IS LIKELY TO HAVE?
Since stamps are based on a PIC internally, you can probably predict what
the next generation stamp looks like from the current-generation pic.
Sean T. Lamont, CTO / Chief NetNerd, Abstract Software, Inc. (ServNet)
Seattle - Bellingham - Vancouver - Portland - Everett - Tacoma - Bremerton
email: lamont@a... WWW: http://www.serv.net
"...There's no moral, it's just a lot of stuff that happens". - H. Simpson
1) The Stamp only deals with 16-bit numbers, so YES, the method you're using
to set DIRS for all 32 pins is correct.
2) The BS3 is very likely to have the same format/footprint as any of our
BS2-24 series modules. It is very advanced, uses new technologies not seen
before and -- in a word -- rocks! Be patient, though, getting it finished
and to production may take us a while. As a long-time Stamp user (I bought
'em for eight years before I got hired), I can tell you that the wait will
be worth it.
-- Jon Williams
-- Applications Engineer, Parallax
In a message dated 9/20/01 2:47:29 PM Central Daylight Time, jonm@p...
writes:
> 1/
>
> ON A BS2P-40 THERE ARE 32 I/O PINS. DO YOU SET DIRS:
>
> MAINIO
> DIRS=0101011010101010
> AUXIO
> DIRS=0101011010101010
>
> OR DO YOU DO IT AS 1 32BIT NUMBER?
>
> 2/
>
> I AM CURRENTLY WORKING ON A NEW PROJECT BASED ON THE BS2P-40 CHIPSET,
> I WOULD LIKE TO TRY AND BUILD FUTURE PROOFING INTO THE DESIGN READY
> TO ACCEPT THE NEXT GENERATION OF STAMP CHIPSET. CAN SOMEONE INDICATE
> TO ME THE NUMBER OF I/O PINS THE DEVICE IS LIKELY TO HAVE?
>
[noparse][[/noparse]Non-text portions of this message have been removed]
lamont@a... writes:
> Since Stamps are based on a PIC internally, you can probably predict what
>
Don't put any money on that bet....
[noparse][[/noparse]Non-text portions of this message have been removed]
>DIRS=0101011010101010
>AUXIO
>DIRS=0101011010101010
That is correct, except for a small syntax change, %:
DIRS=%0101011010101010