Search found 2 matches
- Sun Nov 21, 2021 11:40 pm
- Forum: General discussion
- Topic: MCP23S17 and BluePill Problem
- Replies: 3
- Views: 3874
Re: MCP23S17 and BluePill Problem
i took a look at the specs, it says 10 Mhz max for SPI bus.
https://www.microchip.com/en-us/product/MCP23S17
use spi.BeginTransaction, pass a SPISettings with a lower speed like 10 Mhz to see if it helps.
defacto SPI speeds for stm32 is like 50 Mhz, everyone assumed u'd need it to go 'as fast as ...
- Sun Nov 14, 2021 10:33 pm
- Forum: General discussion
- Topic: MCP23S17 and BluePill Problem
- Replies: 3
- Views: 3874
MCP23S17 and BluePill Problem
Hi everyone guys, i've a problem keeping MCP23S17 in SPI mode working with my bluepill. I'm using the official arduino STM core (not the roger one) and this library https://github.com/MajenkoLibraries/MCP23S17 . I've modified this library in the readPort(uint8_t port); function adding a parameter ...