Skip to main content

How to implement hardware flow control on the MSP430? In order for it to work with DSPS.

4 years ago

How to implement hardware flow control on the MSP430? In order for it to work with DSPS.

Posted byFernando Effting0 points 1 reply
0 upvotes

Hi.

我使用需求方概要文件连同hardware flow control, and the PAN1740.
When I setup a connection between two PAN1740, using sps_device on the first PAN1740 and sps_host on the other, it does work nicely with hardware flow control on.

But I need to make one of the PAN 1740 communicate via UART with a MSP430, which does not have flow control support via hardware. So I would need to implement it completely via software.
I would like to know how one would implement flow control in a microcontroller (MSP430) which does not have support for hardware flow control?

Thanks!

4 years ago

MT_dialog -30 points

Hi Fernando,

You can implement a hw flow control in your MCU by using two gpio's that will implement the CTS and RTS functionallity without having hardware implementation on your MCU. Via interrupts you can stop the flow of outcoming data and by toggling the gpio set as output you can stop incoming data.

Thanks MT_dialog