How to set microsecond delay in CYBT-343026?

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

cross mob
AkJa_4647796
Level 4
Level 4
25 replies posted 10 replies posted 10 questions asked

Hello AnjanaM_61​,

I am implementing I2C in Cybt-343026, i want to set a delay of 10us? I have implement I2C code by bit banging method in CYBT-413034 and used wiced_rtos_delay_microseconds() api to get us delay. As the wiced_rtos.h doesnt support for cybt-343026 and using timer is not possible because it gives 1ms delay, not less than that. how can i generate us delay?

Thank You.

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

Hi AkJa_4647796 ,

I am sorry there is no direct APIs to get delays in 343026. You need to make use of timer APIs.

Thus there is no way to get less than 1ms delay.

Regards,

Anjana

View solution in original post

1 Reply
AnjanaM_61
Moderator
Moderator
Moderator
10 questions asked 5 comments on KBA First comment on KBA

Hi AkJa_4647796 ,

I am sorry there is no direct APIs to get delays in 343026. You need to make use of timer APIs.

Thus there is no way to get less than 1ms delay.

Regards,

Anjana