Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

How I to set RTS PIN?

RankRankRankRank

Total Posts: 523

Joined 2012-11-15

PM

Hello ,
I have a question is I need control at3 module.
I choose to use async. communication with at3 module.
After I had read the "interfacing ..." doc.
I don't know how to set the RTS line in my msp430
Who can get me some suggestion?

Assume I use p1.2 as the RTS pin , how I to set …?
1.set rts pin as input pin?
2.set rts pin as low voltage?
3.set rts pin as low to high interrupt trigger?      
Avatar
RankRankRankRank

Total Posts: 213

Joined 2011-05-02

PM

Hello,

You can find embedded reference code for the MSP430 here. TI has reference code for pretty much all of their MSP430 devices.

Cheers,

Kassandra      
RankRankRankRank

Total Posts: 523

Joined 2012-11-15

PM

rizopoulos,
Thank you for your reply.

The embedded reference(five demo example?) use sync. interface to implement.

so, i have two problem,
First , I didn't read part of sync. communication,
but I know sync. interface not have rts pin.
so, you think i should read the part of sync.?

Second, according to the following code

P1DIR &= ~PIN_RTS;//rts pin as input/low voltage
P1IES &= ~PIN_RTS;//lo to high trigger(because rts will produce a pull-up pulse by ant module)
P1IE |= PIN_RTS;//enable interrupt

Can you tell me that code is right or wrong.      
Avatar
RankRankRankRank

Total Posts: 213

Joined 2011-05-02

PM

Hello,

I think your questions are more directed towards specifics with the MSP430, which is handled by TI on their forums. We have no part in the TI reference designs, so any questions that you have regarding that should also be directed towards TI. You can try posting on their e2e forum.

Cheers,

Kassandra