Azure / embedded-wireless-framework

Microsoft's Embedded Wireless Framework is a design concept that enables users to abstract application code from host port drivers and communication adapter drivers primarily in microcontroller-based projects.
MIT License
63 stars 31 forks source link

Renesas RYZ014A, RYZ024A Not enough time to wait for reset #17

Closed KeitaKashima closed 1 year ago

KeitaKashima commented 1 year ago

I think RYZ014A code like below for RA and RX MCUs are not enough time to wait for release reset.

The below code is wait for 300 tick(300ms) however I checked the timing of receiving URC of SYSSTART, it is needed about 1.5 second,like you can see below.

https://github.com/Azure/embedded-wireless-framework/blob/main/examples/CK_RX65N_GCCRX/ewf_netx_duo_azure_iot_embedded_sdk_pnp_ryz014/src/rtos_skeleton/application_thread_entry.c#L177

So, the code should be changed to "1500".(I think this code is there into other projects.)

image

The integration Manual of RYZ014A says below.

https://www.renesas.com/jp/ja/document/apn/ryz014-module-system-integration-guide?r=1503996 image

bhnaphade commented 1 year ago

This can be modified by user in the application code as needed. for the demo the power on function is called at the start followed by other initializations which gives sufficient time to skip the start up URC's.