Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

control CC2571 by pattern generator

Rank

Total Posts: 5

Joined 2014-03-25

PM

Hi,

I'm trying to control CC2571 through asynchronous serial interface by pattern generator
The parameters are
Assign channel: channel #0, Type 0x10, Network #0
Set Channel ID: channel #0, device #0, device type 1, trans. type 1
Open channel
Transmit Broadcast message 0x4E

According to the documents, the control messages are:
A4-03-42-00-10-00-F5
A4-05-51-00-00-01-01-01-F1
A4-01-4B-01-EF
A4-01-4E-55-BE

The baud rate is 4.8kHz and the wave form is as attached.

The signal is connected to the CC2571 as in ckt.png.

However, the RTS signal remains low; and I use the USB Sticks+CC2571 of the TI Eval Kit as a receiver and ANTware II receives no signal.

I would like to know if the packets or my setup has any problems.

Thank in advance for any help.      

File Attachments

  • fig.zip (File Size: 263KB - Downloads: 434)
RankRankRankRank

Total Posts: 156

Joined 2013-01-07

PM

Hi,

It looks like you have some mistakes in your control messages:

Open Channel Command: The command tries to open channel 1 rather than the assigned channel 0.
Setting Channel ID: Your device number is actually being set to 1, this shouldn't have an effect on your channel acquisition if you are searching for device number 0 on ANTWare.
Transmit Broadcast Message. The byte following [4E] should be the Channel number you wish to transmit the broadcast message on, and the valid values are 0-7 on the CC2571. Additionally the 8 bytes following the channel number should be the broadcast message payload.
     
Rank

Total Posts: 5

Joined 2014-03-25

PM

Thank you sooo much for your suggestions.
I've changed my setting to
Assign channel: channel #0, Type 0x10, Network #0
Set Channel ID: channel #0, device #1, device type 1, trans. type 1
Open channel
Transmit Broadcast message 55 (repeatedly for 8 bytes)

And my packets now are as following:
A4-03-42-00-10-00-F5
A4-05-51-00-00-01-01-01-F1
A4-01-4B-00-EE
A4-09-4E-00-55-55-55-55-55-55-55-55-E3

However, I still can't connect with the receiver.

The feedback display on the ANTware II were
>Opening Channdel...
EVENT_RX_SEARCH_TIMEOUT_0x01
::40,00-01-01
EVENT_CHANNEL_CLOSED_0x07
::40,00-01-07

It seems that the channel is not properly opened.

As far as I know, for asynchronous communication, the ANT chipset is ready for communication after the initial power up
phase has completed. No further initialization is required. Or did I miss any necessary setup?

Thanks again for your suggestions.      
RankRankRankRank

Total Posts: 156

Joined 2013-01-07

PM

From packet_1.png it looks like you are asserting the reset line correctly and you should receive a RTS pulse after you deassert the reset line. Could you try having the reset line stay low for a longer period of time?