Delta / NNN50_WIFI_API

Dependents:   NNN50_CE_Test_UDP NNN50_linux_firmware NNN50_SoftAP_HelloWorld NNN50_BLEWIFISensor ... more

Embed: (wiki syntax)

« Back to documentation index

nm_bsp_reset

nm_bsp_reset
[Function]

Resetting WINC1500 SoC by setting CHIP_EN and RESET_N signals low, then after specific delay the function will put CHIP_EN high then RESET_N high, for the timing between signals please review the WINC data-sheet. More...

Functions

void nm_bsp_reset (void)
 Applies a hardware reset to the WINC board. The "nm_bsp_reset" is used to apply a hard reset to the WINC board by setting CHIP_EN and RESET_N signals low, then after specific delay the function will put CHIP_EN high then RESET_N high, for the detailed timing between signals please review the WINC data-sheet. After a successful call, the WINC board firmware will kick off to load and kick off the WINC firmware. This function should be called to reset the WINC firmware after the BSP is initialized and before the start of any communication with WINC board. Calling this function at any other time will result in losing the state and connections saved in the WINC board and starting again from the initial state. The host driver will need to be de-initialized before calling nm_bsp_reset and initialized again after it using the " m2m_wifi_(de)init".

Detailed Description

Resetting WINC1500 SoC by setting CHIP_EN and RESET_N signals low, then after specific delay the function will put CHIP_EN high then RESET_N high, for the timing between signals please review the WINC data-sheet.


Function Documentation

void nm_bsp_reset ( void   )

Applies a hardware reset to the WINC board. The "nm_bsp_reset" is used to apply a hard reset to the WINC board by setting CHIP_EN and RESET_N signals low, then after specific delay the function will put CHIP_EN high then RESET_N high, for the detailed timing between signals please review the WINC data-sheet. After a successful call, the WINC board firmware will kick off to load and kick off the WINC firmware. This function should be called to reset the WINC firmware after the BSP is initialized and before the start of any communication with WINC board. Calling this function at any other time will result in losing the state and connections saved in the WINC board and starting again from the initial state. The host driver will need to be de-initialized before calling nm_bsp_reset and initialized again after it using the " m2m_wifi_(de)init".

Parameters:
[in]None
Precondition:
Initialize nm_bsp_init first
Note:
Implementation of this function is host dependent and called by HIF layer.
Warning:
Calling this function will drop any connection and internal state saved on the WINC firmware.
See also:
nm_bsp_init, m2m_wifi_init, m2m_wifi_deinit
Returns:
None