OneWire on STM32F405 not working
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- python
- Ambito
- embedded-iot
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
[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
- Lingua principale
- C
- Stelle
- 4.6k
- Fork
- 1.4k
- Merge medio
- 1g 7h
- PR unite (30g)
- 166
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di adafruit/circuitpython
-
board breaks api
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
adafruit/circuitpython#11099 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
storage usb zephyr
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
adafruit/circuitpython#11531 ·
I maintainer di solito rispondono entro 1 giorno
-
Move silabs to ZephyrApertasilabs
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
adafruit/circuitpython#11507 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Feature/API request: portable camera capture across ESP-IDF, Zephyr, and parallel interfacesForse già presa @tannewt l’ha presa 1 giorno fa. Apertacircuitpython api displayio enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
adafruit/circuitpython#11505 · 5 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
adafruit/circuitpython#11472 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di adafruit/circuitpython
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 5 giorni
-
area:backend bug launch:p2 scope:core
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Chelis-Lang/chelis#3494 ·
I maintainer di solito rispondono entro 1 giorno
-
IO.get_env on Node truncates names at embedded NULForse già presa @Yi-111-a l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
HigherOrderCO/Bend#1449 · 1 commento ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
FujiNetWIFI/fujinet-firmware#1872 ·
I maintainer di solito rispondono entro 1 giorno
-
bug C/C++ code
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
webarkit/WebARKitLib#84 ·
I maintainer di solito rispondono entro 1 giorno