One 32bit Port versus Four 8bit Ports
![LoopyByteloose](https://forums.parallax.com/uploads/userpics/025/nC57NMH1BTW54.gif)
I was looking at documentation for another 32-bit processor in order to have some idea of what 32 bit means.··I noticed that they have provided·4· single byte width ports while the Propeller has one 32 bit wide port.· Quite a departure from other RISC architectures.
To me it seems a·little difficult to·visualize how·one pin·of the Port A will be clocking an EEPROM, another pin will be Bit banging data from the EEPROM, a few more pins with be handling Chip select, AND other functions [noparse][[/noparse]such as video and a key board interface] will be working off of other pins which are all on this one and only Port.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)
······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
To me it seems a·little difficult to·visualize how·one pin·of the Port A will be clocking an EEPROM, another pin will be Bit banging data from the EEPROM, a few more pins with be handling Chip select, AND other functions [noparse][[/noparse]such as video and a key board interface] will be working off of other pins which are all on this one and only Port.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)
······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
1+1=10
dira[noparse][[/noparse]17] := 1
outa[noparse][[/noparse]17] := 1
outa[noparse][[/noparse]13..15] :=0
affect the the named pins only. The one addressed to p17 would certainly make p17 a high output, no matter what other cogs have done to it previously. The command addressed to p13 to p15 would make those pins low, only if somewhere else they had been made outputs, and provided no other COG had set those pins high in its output register.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
Thanks, I'll have to take another look at the docs and the Assember instructions [noparse][[/noparse]I see there are some 70plus compared to the SXes 40 or so].
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)
······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
Post Edited (Kramer) : 4/9/2006 4:11:04 PM GMT