OneWire on STM32F405 not working
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 42/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- python
- Área
- embedded-iot
Línea de trabajo
Start by running the linked onewire_simpletest.py example on the STM32F405 and compare its behavior with the working Metro Express or Playground Express boards. Read adafruit_onewire/bus.py around the reported scan failure and check whether the results match the issue’s two cases: no sensor connected and sensors connected; done means the bus behaves correctly on the STM32F405.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
[Redo of #3935 to remove original reporter.]
DS18B20 OneWire sensors connected to STM32F405 Pin D5 (I tried also D6, etc.) failed. Pull Up resistor is not the issue.
ow_bus.scan() shows different behavior in case of:
a) pin is not connected or
b) sensor or multiple sensors are connected
Case a) IndexError: list index out of range
Case b) nothing is showing up
Same code (with different pins) and same sensors with Metro Express and Playground Express boards is working well.
Tried "Simple Test" for one wire from GitHub
Even the pull up resistor is not the issue because it works on other boards the result is:
code.py output:
Resetting bus...Traceback (most recent call last):
File "code.py", line 14, in <module>
RuntimeError: Nothing found on bus.
If I remove the one wire sensors the result is:
code.py output:
Resetting bus...OK.
Scanning for devices...Traceback (most recent call last):
File "code.py", line 18, in <module>
File "adafruit_onewire/bus.py", line 158, in scan
RuntimeError: Maximum device count of 10 exceeded.
Perhaps stm32duino / Arduino_Core_STM32 group is working on something similar (no. 412) and maybe the link is helpful even it is not CircuitPython related: Support OneWire device (ex: DS1822) #412
- Lenguaje dominante
- C
- Estrellas
- 4.6k
- Forks
- 1.4k
- Merge medio
- 1 d 1 h
- PR fusionados (30 d)
- 161
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de adafruit/circuitpython
-
Web Workflow Locks UpAbiertobug esp32 web workflow
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
adafruit/circuitpython#11616 · 6 comentarios ·
Los mantenedores suelen responder en 1 día
-
nordic
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
adafruit/circuitpython#11611 ·
Los mantenedores suelen responder en 1 día
-
zephyr: REPL on console?Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
adafruit/circuitpython#11606 ·
Los mantenedores suelen responder en 1 día
-
busio zephyr
Dificultad 5/5 Más de una semana Aptitud para principiantes 18/100
adafruit/circuitpython#11605 ·
Los mantenedores suelen responder en 1 día
-
busio zephyr
Dificultad 4/5 3-5 días Aptitud para principiantes 28/100
adafruit/circuitpython#11604 ·
Los mantenedores suelen responder en 1 día
Todos los issues de adafruit/circuitpython
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Los mantenedores suelen responder en 1 día
-
base-files: 82_config_generate: regenerate /etc/board.json if 0-bytes / truncated after power cutAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
openwrt/openwrt#25940 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
FujiNetWIFI/fujinet-lib#186 ·
Los mantenedores suelen responder en 1 día