gaj
Newbie level 4
- Joined
- Oct 29, 2012
- Messages
- 7
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,344
Hello all :razz:
I am planning to do parallel communication between two pic32. My aim is to transfer data as fast as I can from master to slave. I can just use 8 bit mode (as slave only work in 8 bit mode). I have a couple of questions.
Slave end:
As we know that the PMP module provides 8-bit (byte) legacy Parallel Slave Port (PSP) functionality as well as new buffered and addressable slave modes. I am thinking to use buffered mode as I think for simple transfer from master to slave "addressable mode" is not necessary. Moreover, I think that "buffered mode" will be faster than the "legacy mode". What you guys suggest? Am I thinking right?
Master end:
I am thinking to use 8 bit demultiplexed mode. But I am not sure how to set the external address field when we are using functions like
void PMPMasterWriteByteBlock(unsigned int address,unsigned int bytes, unsigned char* pSrc);
address External 16-bit starting address.
bytes The number of bytes to write.
pSrc 8-bit (byte) pointer to source data in user memory.
So am I thinking on the right directions for both master and slave end. Any recommendations, personal experience and tips will be really appreciated :razz:
I am planning to do parallel communication between two pic32. My aim is to transfer data as fast as I can from master to slave. I can just use 8 bit mode (as slave only work in 8 bit mode). I have a couple of questions.
Slave end:
As we know that the PMP module provides 8-bit (byte) legacy Parallel Slave Port (PSP) functionality as well as new buffered and addressable slave modes. I am thinking to use buffered mode as I think for simple transfer from master to slave "addressable mode" is not necessary. Moreover, I think that "buffered mode" will be faster than the "legacy mode". What you guys suggest? Am I thinking right?
Master end:
I am thinking to use 8 bit demultiplexed mode. But I am not sure how to set the external address field when we are using functions like
void PMPMasterWriteByteBlock(unsigned int address,unsigned int bytes, unsigned char* pSrc);
address External 16-bit starting address.
bytes The number of bytes to write.
pSrc 8-bit (byte) pointer to source data in user memory.
So am I thinking on the right directions for both master and slave end. Any recommendations, personal experience and tips will be really appreciated :razz: