Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

RTS never goes up

Rank

Total Posts: 5

Joined 0

PM

The pull up resistor is using. After I reset the the chip by set reset pin to 1,I wait for 500ms, and then send the reset message to ANT, and then send the channel config message to the ANT, and the RTS never goes up, I always receive 0xEB in the receive buffer
I want to make sure one thing ,what is the correct value for the pull up reister. The ANT chip I used is nRF24AP2
My code is as below....Thank you very much!

WDTCTL = WDTPW + WDTHOLD;
System_Init();//Initialize the System
bPendingRxMessage = FALSE;//No message Received
pucTxBuffer = NULL;//No message need to be transmit.
int WaitingForRTS;

/////////////////////////
//Begin ANT Communication
/////////////////////////
P1DIR = 0x0E;
P3DIR = 0X10;
P1OUT = 0x00;
__delay_cycles(500000);
P1OUT = 0x02;
__delay_cycles(500000);


WriteByte(0xA4);
WriteByte(0X01);
WriteByte(0X4A);
WriteByte(0X00);
WriteByte(0XEF);
__delay_cycles(500000);

WriteByte(0XA4);
WriteByte(0X03);
WriteByte(0X42);
WriteByte(0X00);
WriteByte(0X10);
WriteByte(0X00);
WriteByte(0xF5);
_delay_cycles(5000000);      
Rank

Total Posts: 5

Joined 0

PM

In my code, P1.1 is the reset pin.I want to connect the ANT with msp430 by UART. I think it should be easy. But I got no response.
Is that may caused by wrong CLK settings?      
Rank

Total Posts: 5

Joined 0

PM

The problem is still there      
Avatar
RankRankRankRank

Total Posts: 745

Joined 2012-09-14

PM

Hi,

The reset pin on the AP2 is active low, and an internal pull-up is already integrated on chip, so no external pull-up resistor is necessary.

Could you provide timing diagrams? After you send the 0x4A reset command after a reset, you should see [A4][01][6F][20][EA] come back from the AP2.

I've attached an example.
[img size=796]http://www.thisisant.com/images/fbfiles/images/Reset_Message.png[/img]

Cheers