cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 6

JiaweiL_16
Employee

Hi ,

May I know Cy_BLE_StoreStackData() in PSoC63 is Blocking Flash write function or non-blocking?

Regards,

Ray

0 Likes
1 Solution
Yugandhar
Moderator
Moderator

Hello Ray,

The Cy_BLE_StoreStackData() API writes to the flash in non-blocking mode.

Thanks,

P Yugandhar.

View solution in original post

0 Likes
4 Replies
Yugandhar
Moderator
Moderator

Hello Ray,

The Cy_BLE_StoreStackData() API writes to the flash in non-blocking mode.

Thanks,

P Yugandhar.

View solution in original post

0 Likes
JiaweiL_16
Employee

Hi Yugandhar,

I have another question about the Cy_BLE_StoreStackData() API, I found that in the CE217632, it set the Power Mode as 0.9V SIMO, but refer to the Function descrition below:

* \note: Flash operation is not permitted with protection context (PC)

*        value > 0 and core voltage 0.9V, because of a preproduction

*        hardware limitation.

Why the Cy_BLE_StoreStackData() can success to store the data in Flash? Will it change the Power Mode to 1.1V internally during Flash writing?

Regards,

Ray

0 Likes
Yugandhar
Moderator
Moderator

Hello Ray,

In CE217632 code example, we use Cy_BLE_StoreBondingData() to store the bonding data. Inside this API, before doing the flash write it will increase the core voltage to 1.1V for flash operation in Cy_BLE_HAL_NvramWrite() function as shown in attached image(Increase_core_voltage.png). After doing the flash operation it will return the core voltage value to set core voltage value which is 0.9V as shown in attached image(Return_core_voltage.png).

Please refer to the API Cy_BLE_StoreBondingData() for more information.

Thanks,

P Yugandhar.

0 Likes
JiaweiL_16
Employee

Hi Yugandhar,

Thanks for response.

Regards,

Ray

0 Likes
Top labels