Timer callback in CYW20719 not coming in

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
PK
Level 2
Level 2
10 sign-ins 5 replies posted 5 questions asked

We are using CYW20719B1KUMLG device on our custom board for a Bluetooth BLE application. Our board is based on the reference design of the Evaluation kit – CYW920719Q40EVB-01. On our board, we do not have the 32 kHz XTAL oscillator as you have on the Evaluation kit. The following is an excerpt from the User Guide of the Evaluation kit.

PK_0-1634586513635.png

 

 

What we have found is that our timer callback routine does not get called. The following is the way we are doing the setup, e.g.,

if ( WICED_SUCCESS == wiced_init_timer( &seconds_timer, &comboread_cb, 0, WICED_SECONDS_PERIODIC_TIMER )) {

        if ( WICED_SUCCESS != wiced_start_timer( &seconds_timer, POLL_TIMER )) {

            WICED_BT_TRACE( "Seconds Timer Error\n\r" );

        }

    }

 

The timer callback is defined as follows.

static void comboread_cb (uint32_t arg);

void comboread_cb (uint32_t arg)

{

}

We are using Wiced Studio 6.4 since our device has B1 version of CYW920719.

Is there some other setup we have to perform? If yes, could you please point us to that.

Thank you.

0 Likes
1 Solution
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked
0 Likes
1 Reply
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hello,

Can you try the method suggested here: https://community.infineon.com/t5/Wireless/CYW20719B1-Internal-vs-External-Clock/td-p/291254

Regards,

Anjana

0 Likes