cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Bluetooth

Contributor

Hi:

   as we know, when we process the interrupt routin ,the mcu should enter the critical section,if there is any API to make  the mcu to enter the critical section and exit the critical  section on the CYW20735B1 platform !

thanks!

mandy

0 Likes
Reply
1 Solution
Moderator
Moderator

The CYW20735B1 device uses a event callback system which is different from a interrupt system. There is no API for the critical section enter and exit.

View solution in original post

0 Likes
Reply
4 Replies
Moderator
Moderator

The CYW20735B1 device uses a event callback system which is different from a interrupt system. There is no API for the critical section enter and exit.

View solution in original post

0 Likes
Reply
Contributor

HI OwenZ_26:

   thank you for your reply.

if so . there seems to be a question that  when the MCU is going on an  important  task for example  the NVram write operation.

  however at this time, a event callback is triggered. if the NVram operation will fail.

how can I  avoid  such things!

thanks!

mandy

0 Likes
Reply
Moderator
Moderator

The priority for different thread is predefined and the device will avoid that scenario. Customer doesn't need to worry about it.

0 Likes
Reply
Contributor

Hi OwenZ_26:

    OK ,  I  have  gotten what you said.   thank you for your patient reply !

0 Likes
Reply