← index #2509Issue #9339
Off-topic · high · value 0.684
QUERY · ISSUE

machine.SPI(): add CS/NSS pin

openby dmartauzopened 2016-10-12updated 2018-11-20

It would be nice if CS/NSS pin for SPI could be driven by machine.SPI() itself. Manual toggling in user application slows it down.

CANDIDATE · ISSUE

Alias SPI/I2C pins to OSHWA standard.

openby jimmoopened 2022-09-17updated 2022-09-19
enhancement

I missed this in January but the OSHWA published their guidelines for the new pins which was in the works for a couple of years -- https://www.oshwa.org/a-resolution-to-redefine-spi-signal-names/

I'm already starting to see these new names on silkscreens and documentation.

Supporting this at the kwarg-names and documentation level should be very straightforward, but we'll obviously need to maintain backwards compatibility with the old names. We already have precedent for doing this e.g. with the renamed wifi config kwargs like dhcp_hostname and security.

Edit: Just to make this clearer, I have renamed the issue title to "Alias" instead of "Rename".

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