Ethernet ENC28 and Display N18 on Cerb Family possible?

Hello everbody,
When I try to include the ENC28 Module and the Display N18 Module on Cerberus Mainboard with the designer, I get the Exception shown in the added picture when the application is started.
I read the following posts:

Known Issues
Socket 5 and 6 on the FEZ Cerberus are both marked as S and P (among others) and use the same SPI bus. The 3 main SPI Pins and the 3 PWM pins both use the physical pins 7, 8, and 9 on a socket. As a result, when you use SPI or PWM on those sockets, neither SPI nor PWM will function on the other socket.

and

https://www.ghielectronics.com/community/forum/topic?id=19225

Reply #1 (@ Gus)
You can have other SPI devices on the same bus as ENC28J60 but the rule is the same with any SPI system, use chip select for each slave.

Can anybody point out (example code), how to to use both SPI-Modules in the same application?

@ andre.m -
Yes, thank you,
I thought it could be possible this way… just wanted to prevent my brain from overheating.
Might be that someone has a working solution.

@ RoSchmi - The Ethernet ENC28 Gadgeteer driver reserves the SPI bus for its exclusive use preventing the same SPI bus from being used on the other socket. You can create the ENC28 interface yourself with GHI.Networking.EthernetENC28. https://www.ghielectronics.com/docs/30/networking can help with it.

@ John -
Thanks for your answer. I did it like this (see my CodeShare contribution). Until now I didn’t see any interferences between the ENC28 Module and the Display N18 Module. Would you expect that it works reliably ? Are other actions to be taken, concerning chip select?

1 Like

@ RoSchmi - There are no connections between them, I believe in most cases they should work fine together as long as you have different chip selects.

@ John - o.k., fine, for better understanding, I will have a closer look in the manuals.