- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In the Low Power Mode (ePDS), GPIO settings are initialized except for UART_TX and UART_RX.
And GPIO I/O settings can be restored by using wiced_hal_gpio_slimboot_reenforce_cfg() when wake-up.
But UART hardware flow control setting is not restored so we issue the following APIs at wake-up and it works well.
------------------------------------------------------------------------------------------
wiced_hal_gpio_select_function(WICED_P00, WICED_UART_2_RTS);
wiced_hal_gpio_select_function(WICED_P10, WICED_UART_2_CTS);
wiced_hal_puart_flow_on();
------------------------------------------------------------------------------------------
Now I'd like to set UART_RTS high (Flow ON) when CYW20819 enters into PLM (ePDS).
Does anyone have good method to achieve it?
Regards,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Are you calling wiced_platform_init() in post sleep callback? If not, please call it. This will initialize all the required pins and configure their functionality.
Please note that PUART hardware flow control has some in the current SDK. Our dev team has already fixed the issue, and the fix will be available on the next SDK. For now, you can try software flow control mechanism as a workaround where you can toggle RTS/CTS pins using GPIO APIs.
Thanks,
-Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Are you calling wiced_platform_init() in post sleep callback? If not, please call it. This will initialize all the required pins and configure their functionality.
Please note that PUART hardware flow control has some in the current SDK. Our dev team has already fixed the issue, and the fix will be available on the next SDK. For now, you can try software flow control mechanism as a workaround where you can toggle RTS/CTS pins using GPIO APIs.
Thanks,
-Dheeraj