??? 10/03/05 23:04 Read: times |
#101882 - Need more info Responding to: ???'s previous message |
If You have internal Code. You can use the I/O and RAM.
Are you using C or ASM? The Ports are free while you are not reading or writing to the RAM. In ASM "MOVX" in C XDATA or PDATA pointers AND your choice of memory model. What ever you are doing to the bus, it must be idle during a read on write to RAM. If not you get junk. Also the data will goto the IO pins during the write. I2C Master to Master is more code then a Master to Slave configuration. SPI is simpler and faster. If you have HW support of either that may change the rules. There is always serial O/I Ports if you are short of lines. And , parallel ones if you have room for the chips and decoders. |
Topic | Author | Date |
need clarification on xram/io pins ports | 01/01/70 00:00 | |
In principle yes | 01/01/70 00:00 | |
SBC | 01/01/70 00:00 | |
You can, but is is far simpler to use | 01/01/70 00:00 | |
I2C ? | 01/01/70 00:00 | |
Need more info | 01/01/70 00:00 | |
SBC | 01/01/70 00:00 | |
Size critical | 01/01/70 00:00 | |
size | 01/01/70 00:00 | |
then go for an 8 port device such as the | 01/01/70 00:00 | |
Huge RAM, why ? | 01/01/70 00:00 | |
why? | 01/01/70 00:00 | |
project | 01/01/70 00:00 | |
Buy a devboard, they cost about $10. | 01/01/70 00:00 | |
if you build it...![]() | 01/01/70 00:00 | |
Possible but uncomfortable | 01/01/70 00:00 |