Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/17/00 12:59
Read: times


 
#5770 - RE: parallel comm. between two 8032
Oliver, Cypress has many DPM's, they range from $2 to $many depending on size. My method has been to reserve 1/2 for a to b and the other half for b to a. a writes a block of data to its write section and then stores the length of the block in the flag byte. When b sees the flagbyte being non-zero, it reads the data block and clears the flagbyte. The overhead for this method is one memory write time (movx, inc dptr, djnz) per BYTE and thus beats any serial scheme by at leat a factor of 10. If you already are partitioning the data memory (e.g. for memory mapped I/O, there is virtually no cost associated but for the cost of the DPM.
Ben, DMA (in the case of UART) will relieve your processor from processing every byte you are transmitting; however, it has nothing to do with memory sharing, and the comm speed will be the same.

List of 9 messages in thread
TopicAuthorDate
parallel comm. between two 8032            01/01/70 00:00      
RE: parallel comm. between two 8032            01/01/70 00:00      
RE: parallel comm. between two 8032            01/01/70 00:00      
RE: parallel comm. between two 8032            01/01/70 00:00      
RE: parallel comm. between two 8032            01/01/70 00:00      
RE: parallel comm. between two 8032            01/01/70 00:00      
RE: parallel comm. between two 8032            01/01/70 00:00      
RE: parallel comm. between two 8032            01/01/70 00:00      
RE: parallel comm. between two 8032            01/01/70 00:00      

Back to Subject List