CCG3 SDK : Need to know which module will call pd_hal_init()

Announcements

Live Webinar: USB-C adoption. Simple & Cost-efficient solutions | April 18th @9am or 5pm CEST. Register now !

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

cross mob
Anonymous
Not applicable

Hi,

As i trace/review in CCG3 SDK Version 3.0.1. call pd_hal_init() i not getting called from any module. Need to understand will system works without this?

0 Likes
1 Solution

Hi Arun,

Its being called from one of the libraries. In the following SDK: CCGx SDK v3.0.2, it is called from the libccgx_pd3.a.

Hope this answers your question.

Regards,
Sudheer

View solution in original post

3 Replies
ShifangZ_26
Moderator
Moderator
Moderator
10 likes given 250 sign-ins 1000 replies posted

Hi Arun,

without the initial function, CCGx will not sync interrupt handler. Which is means there is no response for any interrupt occurred.

Best Regards,

Lisa

0 Likes
Anonymous
Not applicable

Hi,

I search complete project for "pd_hal_init" but can't trace which module is calling this API.

So you said, its basic/API must be called. 

0 Likes

Hi Arun,

Its being called from one of the libraries. In the following SDK: CCGx SDK v3.0.2, it is called from the libccgx_pd3.a.

Hope this answers your question.

Regards,
Sudheer