Skip to content

Using Two SPI devices #20

Open
Open
@genemars

Description

@genemars

Hi @ebezine ,

I'm experiencing conflicts using two spi devices (share violation on gpio...).
The first one is an MCP3008, while the second one is a Nokia3310 lcd display.

I managed to run both with a mutual access lock but when the program is reading MCP3008 values on the 3310 display do appear some dirty pixels.

So I thought it must been the SelectSlave that must be invoked before reading/writing from the spi, but there's no such method in the Mcp3008SpiConnection class.

Both spi devices are using same pins exception made for the CE0/CE1.

cam00030b

Cheers,
g.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions