You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
devices/nrzled
Florian Klink 659f695ec1 nrzled: Don't set NoCS
Whether or not CS (chip select) is used really depends on the way how
you wire things together, not on the device you're talking to.

Not using CS (and explicitly telling the SPI controller about that)
might keep some pins free on pin-constrained boards, but also, some
controllers (or Linux drivers) don't support disabling CS, and fail when
that flag is given.

On the other hand, even though nrzleds don't make use of CS by
themselves, you could very well have some circuit in front to do the
chip select, and then actually write to different nrzled devices
sequentially.

Long-term, the fact on whether to do chip select should be specified
while passing in the SPI port to be used, as it really depends on the
way it's wired together on the specific board, not on the type of
device.
5 years ago
..
doc.go Migrate layout to the destination layout 5 years ago
nrz.go Migrate layout to the destination layout 5 years ago
nrz_test.go Migrate layout to the destination layout 5 years ago
nrzled.go nrzled: Don't set NoCS 5 years ago
nrzled_spi_test.go Migrate to devices/v3 5 years ago
nrzled_stream_test.go Migrate to devices/v3 5 years ago