I'm working on a project where I need to use two ENC28J60 Ethernet modules with an STM32 Blue Pill (STM32F103C8). I had been using an older STM32 core version that included the Serasidis_EtherCard_STM library, which worked well for a single ENC28J60 module. However, after upgrading to the latest STM32 core (2.8.1), I noticed that this library is no longer included.
I have installed the STM32 MCU based boards version 2.8.1 via the Boards Manager, selected BluePill F103C8 under Tools > Board in the Arduino IDE, and I’m using Arduino IDE 2.3.3. Everything seems to work fine in terms of board setup, but now I’m facing difficulties with finding a suitable library to handle two ENC28J60 modules.
Could anyone suggest an alternative library that works well with STM32 (STM32F1) and supports multiple ENC28J60 modules? I'm looking for something that can handle both modules over the same or different SPI interfaces.
I understand that there may not be an existing Arduino library for the ENC28J60 that supports two modules directly. However, I’m working on a project that requires two ENC28J60 modules to function as an IP protocol converter. The first module will fetch data from one network, while the second module will transmit it to a different network. This setup is essential for relaying data between the two networks internally.
To achieve this, I want to use two instances of SPI—one for each ENC28J60 module—so they can operate simultaneously without conflicts.
Any help or guidance on this would be greatly appreciated!