- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi:
I want to save more power comsumption of cyw20706, so after init rx pin and uart, I want to de-init it.
Is there any API function or example I can reference?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
There is no de-init API available.
For saving power, you can keep the gpio pins at appropriate configurations using GPIO APis. Please check wiced_hal_gpio.h
Thanks,
-Dheeraj.P.K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
May I know the APIs used by you to enable/init such items? - init rx pin and uart
Thanks,
-Dheeraj.P.K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I use wiced_transport_init(&transport_cfg); to init uart.
transport_cfg is be setting like :
wiced_transport_cfg_t transport_cfg =
{
.type = WICED_TRANSPORT_UART,
.cfg =
{
.uart_cfg =
{
.mode = WICED_TRANSPORT_UART_RAW_MODE,
.baud_rate = HCI_UART_DEFAULT_BAUD
},
},
.rx_buff_pool_cfg =
{
.buffer_size = TRANS_UART_BUFFER_SIZE,
.buffer_count = WICED_TRANSPORT_BUFFER_COUNT
},
.p_status_handler = NULL,
.p_data_handler = hci_control_proc_rx_cmd,
.p_tx_complete_cback = NULL
};
and I use wiced_hal_puart_select_uart_pads( WICED_PUART_RXD, WICED_PUART_TXD, 0, 0); to init uart pin.
is there any APIs I can close UART and remove function of uart pin ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
There is no de-init API available.
For saving power, you can keep the gpio pins at appropriate configurations using GPIO APis. Please check wiced_hal_gpio.h
Thanks,
-Dheeraj.P.K