← index #18551Issue #11384
Off-topic · high · value 1.575
QUERY · ISSUE

docs: RP2 DMA some defaults missing/incorrect

openby sfe-SparkFroopened 2025-12-11updated 2026-02-09
docs

Documentation URL

https://docs.micropython.org/en/latest/library/rp2.DMA.html#rp2.DMA.pack_ctrl

Description

The following keys have an incorrect default specified:

  • bswap (docs claim it's True, but it's actually False)

The following keys do not have defaults specified:

  • ring_size (should be 0)
  • ring_sel (should be False)
  • treq_sel (should be 63 or 0x3f)
    • Would be good to add a note explaining this, since it's not listed in the DREQ table in the datasheet.
  • write_err (should be False)
  • read_err (should be False)

Code of Conduct

Yes, I agree

CANDIDATE · ISSUE

docs: rp2 port quick reference PWM section

openby thestumbleropened 2023-04-30updated 2024-09-01
docsport-rp2
  • Describe what was missing from the documentation and/or what was incorrect/incomplete.
    In the quick reference section on PWM for the RP2 port,

http://docs.micropython.org/en/latest/rp2/quickref.html#pwm-pulse-width-modulation

the (apparent) link with the text "use the machine.PWM class" is not really a link. All the other IO sections on that page have a similar link which does take you to the indicated doc.

I assume that the machine.PWM "link" should indeed be clickable, and not that the PWM section is special and intentionally did NOT have an active link. I think the correct link is:

https://docs.micropython.org/en/latest/library/machine.PWM.html#machine-pwm

that URL being obtained by taking the similar UART link and replacing "UART" with "PWM"

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied