dotnet / dotnet/iot

SPI_Mcp3008CanRead is frequently failing on CI

Open
#2,339 1 comment 0 reactions 1 assignee Claimed by @pgrawehr View on GitHub
Priority:1 test bug
Dominant language
C#
Stars
2.4k
Forks
630
Avg merge
11d 3h
Merged PRs (30d)
2

Description

The most likely issue is that MCP3008 needs a reset but there is no way to software reset it. The other possibility is that something got disconnected but this is a path on the PCB so it seems unlikely.

```
System.Device.Gpio.Tests.ProtocolsTests.SPI_Mcp3008CanRead [FAIL]
Assert.InRange() Failure: Value not in range
Range: (1018 - 1023)
Actual: 0
Stack Trace:
/_/src/System.Device.Gpio.Tests/ProtocolTests.cs(32,0): at System.Device.Gpio.Tests.ProtocolsTests.SPI_Mcp3008CanRead()
```

Seen on:
- ddvsorpil019

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.