This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430F5438A: Synchronous Data Transfer

Part Number: MSP430F5438A
Other Parts Discussed in Thread: TMS320F28377S, , MSP430F5438

Hi,

I have already asked this question from TMS320F28377S perspective in the respective forum. But I have this question for MSP430 Forum as well as the availability of peripherals in MSP430 are different.

I am interfacing MSP430F5438A to one of the transceivers which provide/need the following 4 set of RS422 signals:

1. A Data signal and a Clock signal for Transmit  (both signals are provided by the MSP430F5438A the transceiver)

2. A Data signal and a Clock signal for Receive (both signals are provided by the transceiver to the MSP430F5438A )

All signals are RS422 (so I need RS422 converters). The data signal is synchronized with the Clock signal.

What peripheral can I use for this kind of transfer?

Thanks and Regards,

Ankit

  • Hi Ankit,

    There is no such peripheral for this type of communication. But maybe the combination of SPI master and slave can implement this application. If MSP430F5438 runs as SPI master, it will provide synchronized clock and data signal. Otherwise, the transceiver runs as SPI master, MSP430 as SPI slave. But I have no experience on such application.
    BTW, what's your transceiver and system?

    Regerds,
    Winter
  • Hi Ankit,

    we have SPI or I2C as synchronous serial interfaces but normally RS422 is used together with UART similiar to RS232.

  • Hi Winter and Dietmar,

    I am interfacing my MSP430F5438A to a communication transceiver which has Synchronized data with clock for it's transmitter and receiver as well. Both are separate blocks each having two wires (clock and data) and none of the existing protocols fit in nicely. SPI requires at least three wires whereas I2C is two wired but needs and address on data line. Is there any two wired protocol which just have synchronized data with clock? Is it called USART?

    If I connect SPI, then maybe I need two different SPIs. One for the sending part and one for the receiving part since the clocks are separate and independent signals. Again there will be a problem of STE (slave select) when MSP430F5438A is in slave mode as there is no connection for STE from the communication transceiver. That means I have to manually do it in MSP430F5438A and synchronize it such that as soon as the communication transceiver starts sending data and clock to MSP430F548A, I generate a pulse on STE myself.

    I think I need to understand more about this and thanks for the help and support.

    Thanks and Regards,
    Ankit
  • Ankit,

    the UART is an async serial communication interface as described in users guide while SPI and I2C comes with a clock and are synchronous interfaces. As you mentioned a bit banging self written interface might be a solution.

    Hope following threads can help you,
    e2e.ti.com/.../553092
    forum.43oh.com/.../
    gist.github.com/.../fec1f28ce40c276334fb
    e2e.ti.com/.../255946

    Because it seems that you will work on individual solution I will close this thread. If something comes up pls open a new one.
  • Thank you Dietmar for the threads. I will look at them.

    Thanks and Regards,
    Ankit

**Attention** This is a public forum