Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

ANT_OpenChannel causes device reset

Avatar
Rank

Total Posts: 21

Joined 2011-11-08

PM

Hi.

I'm trying to get heart rate working with an ANTC782M4IB as the slave. The code was working on the PC using a North Pole Wasp WiFi/ANT Bridge. Now I am trying to port it to my micro.

I am following "4.1.2 Receiver Channel Code Example" in ANT_Device)Profile_Heart_Rate_monitor.pdf.

When I do ANT_Open_Channel the ANT module responds with success.

Then it reports 0x6F 0x00 which is Startup Message / POWER_ON _RESET.

Any idea what could be causing my module to reset? I am using it with the asynchronous interface at 57,500.      
RankRankRankRank

Total Posts: 523

Joined 2012-11-15

PM

Here is my message log:

ant txA4 09 ...  // set network key
ant rxA4 03 40 00 46 00 A1      // set network key ok
ant txA4 03 42 00 00 00 E5      // assign channel
ant rxA4 03 40 00 42 00 A5      // assign channel ok
ant txA4 05 51 00 00 00 78 00 88     // set channel id
ant rxA4 03 40 00 51 00 B6      // set channel id ok
ant txA4 03 43 00 86 1F 7D      // set channel period
ant rxA4 03 40 00 43 00 A4      // set channel period ok
ant txA4 02 45 00 39 DA       // set channel freq
ant rxA4 03 40 00 45 00 A2      // set channel freq ok
ant txA4 01 4B 00 EE        // open channel
ant rxA4 03 40 00 4B 00 FF      // open channel ok
ant rxA4 01 6F 00 CA        // startup message / power on reset ???? 
     
RankRankRankRank

Total Posts: 523

Joined 2012-11-15

PM

Solved it, turns out the chip wasn't getting enough power.      
Rank

Total Posts: 1

Joined 2012-12-12

PM

I met the exact same problem when I using MSP430 driving CC2570. Please share a bit more details on what's the real problem of power supply. I double checked my board, I didn't find any problem with power.      
Avatar
Rank

Total Posts: 21

Joined 2011-11-08

PM

I didn't have the power pin connected. :-$

The chip was getting back powered via the other pins, which was enough until the radio turned on.