[quote user="MOHIT KUMAR"] Part Number: MSP430F5659 Tool/software: Code Composer Studio Hi Everyone, I know that serial communication is very much often. But what about parallel communication. I want to send and 16 Bit data parallel through 16 port pins at the same time so is it possible to send and read 16 bit data through 16 port pins? can anyone help me to find the answer of this question? [/quote] I you want 16-bit bi-directional, it is not that simple. But if you split it in 8-bit (all pins on one port) for sending, and another 8-bit for receiving, than DMA can do the job, by coping byte from/to port/RAM in 2 CPU cycles. Of course, depending, what is on the other side, and if transmission can be aligned, and triggered, without extra signals for timing / clock. EDIT: in MSP430F5xx family, port pins are grouped in 16-bits (P1&2, P3&4...) so 16-bit transfer can be implemented on the same way, with word (2-bytes) DMA copy from/to port/RAM in 2 CPU cycles.
↧