OneWire on STM32F405 not working
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- python
- 領域
- embedded-iot
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
[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
- 主要言語
- C
- スター
- 4.6k
- フォーク
- 1.4k
- 平均マージ
- 1日 1時間
- マージ済み PR(30日)
- 164
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
adafruit/circuitpython のほかの issue
-
nordic
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
adafruit/circuitpython#11611 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
adafruit/circuitpython#11606 ·
メンテナーはふだん 1 日以内に返信
-
busio zephyr
難易度 5/5 1週間以上 初心者へのやさしさ 18/100
adafruit/circuitpython#11605 ·
メンテナーはふだん 1 日以内に返信
-
busio zephyr
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
adafruit/circuitpython#11604 ·
メンテナーはふだん 1 日以内に返信
-
zephyr: do dynamic bus allocation on CLUE boards対応中かも @dhalbert が今日担当しました。 オープンbusio zephyr
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
adafruit/circuitpython#11603 ·
メンテナーはふだん 1 日以内に返信
adafruit/circuitpython の issue をすべて見る
似ている issue
-
Symlink in release archive attempts traversal対応中かも @Tiancheng-Xu が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
redis/hiredis#1388 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] Small issues on iMXRT found by Claude対応中かも @Sarthak-Pandey が今日担当しました。 オープンArch: arm Area: Networking OS: Linux Type: Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
eclipse-cyclonedds/cyclonedds#2474 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
Genymobile/scrcpy#7104 ·
メンテナーはふだん 1 日以内に返信
-
kind/new-feature
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
yugabyte/yugabyte-db#35142 ·
メンテナーはふだん 1 日以内に返信