Giter Site home page Giter Site logo

Comments (4)

GeorgeIoak avatar GeorgeIoak commented on June 12, 2024 1

Hi @gegedvd I'm not able to explain why we are getting different values to work. What I did to determine the value was in this post #102 (comment)

What did you measure in order to find that you had to increase from 51 to 71? You mentioned that you didn't have 1ms but what value did you have? Maybe this value isn't always the same and my value was at 1 end of the range and now your value is at the other end of the acceptable range. I just ran a few tests adjusting VALUE_IPL until I was close to 1ms and the code was working but I didn't spend time trying to find the window of acceptable values.

from onewirehub.

gegedvd avatar gegedvd commented on June 12, 2024

PlatformIO Project Configuration File

; PlatformIO Project Configuration File
;
;   Build options: build flags, source filter
;   Upload options: custom upload port, speed and extra flags
;   Library options: dependencies, extra library storages
;   Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[env:m5stack-atom]
platform = espressif32
board = m5stack-atom
framework = arduino
upload_protocol = esptool
upload_port = COM8
monitor_speed = 115200
lib_deps = 
	SPI
	Wire
	adafruit/Adafruit MLX90614 Library
	adafruit/Adafruit BMP3XX Library
	OneWire
	DallasTemperature
	orgua/OneWireHub@^3.0.0

from onewirehub.

gegedvd avatar gegedvd commented on June 12, 2024

I checked issue #102 VALUE_IPL and I didn't have 1ms on the debug pin , I adjusted the VALUE_IPL value from 51 to 71 to get 996µs and now the OneWireSlave works fine

@GeorgeIoak : can you explain different value of VALUE_IPL on ESP32 chip @240Mhz

Thanks a Lot

from onewirehub.

gegedvd avatar gegedvd commented on June 12, 2024

Hello , thank you for our reply
I have check with oscilloscope on debug pin with master 1w disconnect during measure
IPL:51 => Debug:1.38ms not run
IPL:55 => Debug:1.27ms not run
IPL:61 => Debug:1.13ms run flirckly
...
IPL:70 => Debug:1.01ms run (diff 10µs)
IPL:71 => Debug:0.996ms run (diff 4µs better)

I run on Stack-M5 Atom-U USB-A STICK
image

@GeorgeIoak do not hesitate to submit me a test on this platform

from onewirehub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.