Skip to content

WIZwiki-W7500 timing issues #1524

Closed
Closed
@ghost

Description

Hello!

I'm having issues performing correct timing for 1-Wire operations (such as reading a DS18B20 temperature sensor) on WIZwiki-W7500 platform. Other bitbanged protocols like the one in use for DHT11/22 sensors also seem to fail.

Take this code as example, since it explicits microseconds time delays: https://developer.mbed.org/forum/mbed/topic/101/?page=1#comment-829

On STM32 NUCLEO-F446RE and F303K8 it works just fine and the temperature is read correctly. Timing is also spot on, see this logic analyzer trace:

screenshot from 2016-02-03 17 36 31

On WIZwiki-W7500 I can't really say the same:
screenshot from 2016-02-03 17 38 52

Could this be related to the choice of SystemCoreClock and internal Xtal in #1237, which has not been fixed?

Thank you for your help.

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