Skip to content

Hardware Control of CS Pin #21

Description

@jliriano2000

Hi!
I saw there was a ‘FIXME’ in the default config file around hardware control of the CS pin. I reworked the ADC1256 Pi board to use SPI CE1 instead of the GPIO based CE. I updated the config file with the new pin and it works except when I raspi-GPIO get, I see the CE1 pin is GPIO. I see it’s reassigned in PiPyADC.py. (I have it in hw SPI mode before.)

But when I assign None to the Ce pin in the config file, I get nothing but zeros when reading.

Why is this? Does wiring pi not support HW CS? What would it take to fix this ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions