micropython / micropython/micropython-esp32-ulp

Request for Clarification of ULP GPIO example

Open
#76 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
142
Forks
25
PR merge metrics
No merged PRs in 30d

Description

https://github.com/micropython/micropython-esp32-ulp/blob/7eb2a8034d7fd4eb3c588fc2fd3171780083ee8e/examples/readgpio.py#L40

Can I ask for a clarification on this line of the gpio example? What's got me confused here is that it references bit 13 of this register:

image

Bit 13 is reserved. I don't know if the intent here really was to write an input enable, like this:

image

What am I missing?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with examples/readgpio.py at line 40 and compare the referenced register bit with the ESP32 ULP GPIO documentation. Determine whether the bit reference is intentional or needs clarification, then update the example or its documentation and verify that it matches the register definition.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.