- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Platform CYW20719/CYBT_413034_EVAL
wiced_hal_gpio_configure_pin() with config param = GPIO_OUTPUT_ENABLE (16384) fails
Attached are logs and used code (only added extra TRACEs to snip/hal/gpio example)
wiced_hal_gpio_configure_pin(output_pin_list[index], GPIO_OUTPUT_ENABLE, GPIO_PIN_OUTPUT_HIGH); //fails
WICED_BT_TRACE("BeforeO pin: %d cfg: %d default: %d\n\r",
output_pin_list[index],
GPIO_OUTPUT_ENABLE,
GPIO_PIN_OUTPUT_HIGH);
//prints: BeforeO pin: 26 cfg: 16384 default: 1
WICED_BT_TRACE("AfterO pin: %d cfg: %d default: %d\n\r",
output_pin_list[index],
wiced_hal_gpio_get_pin_config(output_pin_list[index]),
wiced_hal_gpio_get_pin_output(output_pin_list[index]));
//prints: AfterO pin: 26 cfg: 0 default: 1
Also proposal – better wiced_hal_gpio_configure_pin to return Ok|ErrorCode instead void
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thanks for pointing out the findings.
I will forward this to our software team. Sorry for the inconvenience caused.
Regards,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thanks for pointing out the findings.
I will forward this to our software team. Sorry for the inconvenience caused.
Regards,
Anjana