Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to manually set the CS line #2348

Closed
wants to merge 2 commits into from
Closed

Conversation

pgrawehr
Copy link
Contributor

@pgrawehr pgrawehr commented Aug 22, 2024

This is a testing PR to track down issues reading the MCP3008 on some of our lab boards.

Microsoft Reviewers: Open in CodeFlow

@pgrawehr pgrawehr self-assigned this Aug 22, 2024
@pgrawehr pgrawehr added the * NO MERGE * The PR is not ready for merge yet (see discussion for detailed reasons) label Aug 22, 2024
System.IO.IOException : Error setting pin mode, for pin: 8, error: 16
      Stack Trace:
        /_/src/System.Device.Gpio/System/Device/Gpio/Drivers/Libgpiod/V1/LibGpiodV1Driver.cs(318,0): at System.Device.Gpio.Drivers.Libgpiod.V1.LibGpiodV1Driver.SetPinMode(Int32 pinNumber, PinMode mode, PinValue initialValue)
@pgrawehr
Copy link
Contributor Author

pgrawehr commented Sep 8, 2024

It seems its normal that the GPIO line attached to the SPI CS signal cannot be manually controlled.

@joperezr
Copy link
Member

This was meant to be an experiment and we have validated what we needed. Closing.

@joperezr joperezr closed this Sep 12, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Oct 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
* NO MERGE * The PR is not ready for merge yet (see discussion for detailed reasons)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants