# BSP\_TICKS\_PER\_SECOND wrong on Connect ME BSP?

**URL:** <https://forums.digi.com/t/bsp-ticks-per-second-wrong-on-connect-me-bsp/5917>\
**Category:** NET+OS\
**Created:** [September 8, 2003, 10:53pm UTC](https://forums.digi.com/t/bsp-ticks-per-second-wrong-on-connect-me-bsp/5917 "2003-09-08T22:53:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/digi/original/1X/11da31a6a1fbcd03ef21d3f785c317c824009ae2.png) [@system](https://forums.digi.com/u/system)\
**Post date:** [September 8, 2003, 10:53pm UTC](https://forums.digi.com/t/bsp-ticks-per-second-wrong-on-connect-me-bsp/5917/1 "2003-09-08T22:53:23Z")

</div>

I’ve got an application I wrote originally for the NS7520 development board, and now I’m using the connect ME. The problem is that when I try to use BSP\_TICKS\_PER\_SECOND and tx\_time\_get() to determine time intervals, I get very large numbers on the connect ME. The BSP has BSP\_TICKS\_PER\_SECOND defined as 100, but it looks much much higher than that. The same code worked perfect on the NS7520 development board. Thanks! Kevin

---

<div class="post-metadata">

**Author:** ![muscleman](https://avatars.discourse-cdn.com/v4/letter/m/f1d935/32.png) [@muscleman](https://forums.digi.com/u/muscleman)\
**Post date:** [September 9, 2003, 11:49am UTC](https://forums.digi.com/t/bsp-ticks-per-second-wrong-on-connect-me-bsp/5917/2 "2003-09-09T11:49:43Z")

</div>

Are you sure? I just performed two a test both on 7520 and ConnectME and as I see tx\_time\_get() gives me correct value after a sleep of 10.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/digi/original/1X/11da31a6a1fbcd03ef21d3f785c317c824009ae2.png) [@system](https://forums.digi.com/u/system)\
**Post date:** [September 9, 2003, 3:36pm UTC](https://forums.digi.com/t/bsp-ticks-per-second-wrong-on-connect-me-bsp/5917/3 "2003-09-09T15:36:14Z")

</div>

Since tx\_thread\_sleep takes ticks as it’s parameter (not milliseconds), isn’t your test code always going to be right, regardless of BSP\_TICKS\_PER\_SECOND?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/digi/original/1X/11da31a6a1fbcd03ef21d3f785c317c824009ae2.png) [@system](https://forums.digi.com/u/system)\
**Post date:** [September 9, 2003, 9:09pm UTC](https://forums.digi.com/t/bsp-ticks-per-second-wrong-on-connect-me-bsp/5917/4 "2003-09-09T21:09:09Z")

</div>

At any rate you are right, it isn’t broken. The bug is mine, and too embarrasing to show what I had wrong here! 🙂 Sorry for wasting your time. Kevin
