Search found 2 matches

by nopnop2002
Sun Jun 21, 2020 8:03 am
Forum: General discussion
Topic: SPI remapping
Replies: 6
Views: 10653

Re: SPI remapping

If you are using STM32 Core, setClockDivider() will not work.

Because STM32 Core supports many CPU clocks.

setClockDivider() has a speed that depends on the CPU clock.

The following code will work with any CPU clock.


SPI.begin()
spiSettings = SPISettings(SPI_SPEED, MSBFIRST, SPI_MODE0 ...
by nopnop2002
Sun Jun 21, 2020 7:53 am
Forum: Libraries & Hardware
Topic: STM32F103 Ethernet library?
Replies: 7
Views: 26508

Re: STM32F103 Ethernet library?

STM32 Core and STM32F103 can use these Ethernet libraries.

- ENC28J60
https://github.com/UIPEthernet/UIPEthernet

Chip select is specified using Ethernet.init().

- W5x00
https://github.com/nopnop2002/Arduino-STM32-Ethernet

Go to advanced search