6 years, 10 months ago.

1-Wire (OneWire) on W7500P

Im struggling to get DS18B20 working on W7500P with the same code that works just fine for Nucleo. Anyone have anly luck with this? Looking at the logic analyzer this looks like a noise/timing issue - the times seem not consistent for reading and writing timeslots. Also some noise appears during reset procedure. Am I missing something? Im using pin PC_9, also tried PC_12 and a few other ones.

Any suggestions?

Thanks, Marcel

Question relating to:

WIZwiki-W7500P is a SoC platform board based on the W7500P chip = ARM Cortex-M0 that integrates 128KB Flash and hardwired TCP/IP core and MacPhy. If you use WIZwiki-W7500 board, you …

I presume you are interested in this for software security. Does your target machine have the serial number facility that the ST machines do? If so, use that instead. I tried using the Dallas one wire part years ago, and eventually discarded it as an exercise that was not worth the effort.

posted by Dan Mackie 15 Jun 2016

1 Answer

6 years, 9 months ago.

it's a known problem with boards based on W7500P and Mbed drivers: 1: https://developer.mbed.org/questions/54363/WIZwiki-W7500-SystemCoreClock-at-20MHz-i/ 2: https://github.com/mbedmicro/mbed/issues/1524