Skip to content

host-ch32: rest PB10 as input pull-up, adapter-side mark source - #64

Merged
aq1018 merged 1 commit into
mainfrom
host/pb10-internal-pullup
Aug 5, 2026
Merged

host-ch32: rest PB10 as input pull-up, adapter-side mark source#64
aq1018 merged 1 commit into
mainfrom
host/pb10-internal-pullup

Conversation

@aq1018

@aq1018 aq1018 commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

The bus wire previously rested as AF open-drain, leaving idle mark entirely to a DUT-side pull-up - a bare adapter could not hold the wire high. PB10 now rests as input pull-up, putting the V305's internal ~40k on the wire whenever the adapter is not driving. The USART receiver samples the pad fine in input mode under HDSEL, and every transmission including the break happens inside a claim window (bus_drive push-pull), so the input rest state never eats outgoing bits.

The ~40k holds idle mark only; a long multi-drop harness still wants the external bench 10k.

Benched on a WCH-LinkE adapter against a dev-v006 board at 1M: discover, 5/5 pings, status, register clear - crc_fail 0, framing_drop 0.

@aq1018
aq1018 merged commit bfd8051 into main Aug 5, 2026
8 checks passed
@aq1018
aq1018 deleted the host/pb10-internal-pullup branch August 5, 2026 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant