Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

MSP430 lauchpad + TI Eval Kit

Rank

Total Posts: 5

Joined 2014-03-25

PM

Hi,

I'm trying to realize ANT+ wireless connection by TI Eval Kit with MSP430 lauchpad (MSP430G2553) .

The code is mostly based on Jbremnant and goloveski 's work as cited below.

https://github.com/goloveski/msp430-launchpad-with-ANT

https://github.com/goloveski/msp430-launchpad-with-ANT


I soldered an external crystal 32768Hz on XIN XOUT for ACLK and connected MSP430 Tx/Rx/Gnd to ANT battery board Rx/Tx/Gnd.
The transmission protocol is UART and baud rate is 4.8kHz.
The switches on the battery board are
IOSEL : Vcc
PORSEL : Gnd
BR1 : Gnd
BR2 : Gnd
BR3 : Gnd

I used the ANT USB stick with ANTware II (slave, receive, 2457MHz, channel ID 0, 0, 0) to build the wireless connection, but no signal can be found.
Since RTS is connected to Switch IOSEL on the battery board, I'm not sure if the packets sent to the C7 module were well-received.

Any suggestions are greatly appreciated.
Thank in advance.      
RankRankRankRank

Total Posts: 156

Joined 2013-01-07

PM

Hi,

Could you verify your connections with the circuit diagram in Section 1.3.1 of the C7 Module Data Sheet: http://www.thisisant.com/resources/ant-c7-rf-transceiver-module-datasheet/.

Thanks      
Rank

Total Posts: 5

Joined 2014-03-25

PM

Hi,

Since I'm using MSP430G2553, some of the pins are different from the MSP430F1232.

I connect the Battery Board of TI Eval Kit to MSP430 Launch pad as following:

c7 - MSP430

GND - GND
RXD - P1.1 TXD
TXD - P1.2 RXD
RST - RST
sleep - GND

On the battery board, the switches are set as following:

IOSEL : Vcc
PORSEL : Gnd
BR1 : VCC
BR2 : VCC
BR3 : VCC

I changed the baud rate to 57.6kHz since I just noticed that the USB stick I used as the receiver is detected to be at 57.6kHz by

ANTware II.

The setup of the ANTware II now is (slave, receive, 2457MHz, channel ID 49, 78, 5)


The code is as attached. Any suggestion will be of great help.

Thanks a lot.


     

File Attachments

  • main.rar (File Size: 5KB - Downloads: 0)
RankRankRankRank

Total Posts: 156

Joined 2013-01-07

PM

Could you upload the code as a zip file. I am having trouble downloading the rar file.      
Rank

Total Posts: 5

Joined 2014-03-25

PM

Thanks a lot.      

File Attachments

  • main.zip (File Size: 5KB - Downloads: 462)
RankRankRankRank

Total Posts: 156

Joined 2013-01-07

PM

It looks like the code uses 0x78 as the Device Type, could you try using the decimal value 120 in ANTWare?

Also, if you have a logic analyzer available could you try reading the RTS signal, and see if it is asserted after you reset the C7 module?




     
Rank

Total Posts: 3

Joined 2024-09-17

PM

Thanks for sharing nice tips with source