Skip to content

K64F Ethernet cannot connect in tickless mode #10062

@janjongboom

Description

@janjongboom

Description

Mbed OS 5.11.4 (ecb3c8c), K64F, develop profile, GCC ARM 6. Running Pelion Device Management Client.

When enabling tickless mode on K64F it can no longer connect to Ethernet.

int main() {
    NetworkInterface *net = NetworkInterface::get_default_instance();
    nsapi_error_t net_status = NSAPI_ERROR_NO_CONNECTION;
    while ((net_status = net->connect()) != NSAPI_ERROR_OK) {
        printf("Unable to connect to network (%d). Retrying...\n", net_status);
    }

Throws 'Unable to connect to network (-3015).'

If you wrap the call to connect with sleep_manager_lock_deep_sleep(); and the corresponding unlock call connection works fine.

Issue request type

[ ] Question
[ ] Enhancement
[X] Bug

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions