mbed-os/connectivity
nazar.palamar 1d6843e538 Fixed MCU deep-sleep locking flow in CYW43XXX Cordio HCI driver. The CYW43XXX Cordio HCI driver incorrect handles lock/unlock deep-sleep entry, as results it allows to put PSoC6 in to deep-sleep when CYW43xx does not expect this (the host_wake_up pin in ACTIVE_LOW state, which means hat host must be in ACTIVE mode ).
Now, CYW43XXX Cordio HCI driver has the following MCU deep-sleep locking scenarios/flows:
a) A BT device or MCU does not support Low Power mode (MBED configuration does not include MBED_TICKLESS, DEVICE_SLEEP, DEVICE_LPTICKER or CYCFG_BT_LP_ENABLED features). In this case, CyH4TransportDriver locks deep-sleep in the initialize() function and unlocks the terminate() function.

b) A BT device and MCU support Low Power mode. In this case, the control of the unlock/lock of the deep-sleep functionality will be done in bt_host_wake_rise_irq_handler and bt_host_wake_fall_irq_handler handlers. Finally, CyH4TransportDriver unlocks the deep-sleep in terminate() function (if it was locked before) by checking the bt_host_wake_active flag.

Fixes #13076, #13700, #13295.
2021-08-06 16:41:24 +03:00
..
FEATURE_BLE Merge pull request #14941 from hazzlim/update-tests-to-use-chrono 2021-07-30 12:02:10 +01:00
cellular Unit tests: Remove redundant CMake target mbed-headers-base 2021-08-02 17:42:43 +01:00
docs fix(docs): corrects various typos in project documentation 2021-04-23 23:31:11 -05:00
drivers Fixed MCU deep-sleep locking flow in CYW43XXX Cordio HCI driver. The CYW43XXX Cordio HCI driver incorrect handles lock/unlock deep-sleep entry, as results it allows to put PSoC6 in to deep-sleep when CYW43xx does not expect this (the host_wake_up pin in ACTIVE_LOW state, which means hat host must be in ACTIVE mode ). 2021-08-06 16:41:24 +03:00
libraries CMake: Limit the mbed-stubs-nanostack-libservice to required dependency mocks 2021-07-13 05:49:53 -07:00
lorawan Unit tests: Remove redundant CMake target mbed-headers-base 2021-08-02 17:42:43 +01:00
lwipstack Add LWIP Broadcast option for UDP socket. 2021-06-09 01:44:51 +02:00
mbedtls CMake: Move mbedtls stub headers to the mbedtls doubles dir 2021-07-12 07:19:04 -07:00
nanostack Merge pull request #14817 from artokin/add_nanostack_system_time_callbacks_to_master 2021-07-08 14:38:18 +02:00
netsocket Unit tests: Remove mbed.h stub from target_h 2021-08-02 17:42:42 +01:00
nfc CMake: Require TEST_SOURCES in greentea CMake file 2021-06-29 13:33:42 +01:00
CMakeLists.txt CMake: Create mbed-headers-ble library 2021-07-21 01:51:48 -07:00