cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 Discovery SPI Ethernet

vishaletm
Associate
Posted on February 14, 2013 at 14:54

Hello,

 

I need to connect an ENC28j60 module to STM32 Discovery. As there is some peripherals on board uses SPI for communication, i dont know which is the free to use SPI. I hope the SPIs used by peripherals is not available for our use!

 

 

Please provide a code snippet showing the respective SPI.

Regards

Vishal

 
4 REPLIES 4
Posted on February 14, 2013 at 18:34

The board has manual and schematic, including a list of used pins, suggest you review those.

If there is a conflict you can always remove parts.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Andrew Neil
Evangelist III
Posted on February 15, 2013 at 08:55

Try searching the forum - various people have posted Excel sheets showing the pin usage of various discovery boards...

 

 

''Please provide a code snippet showing the respective SPI''

 

 

Have you looked at the SPI examples provided by ST (included in the firmware library)?
linas2
Associate II
Posted on February 15, 2013 at 09:48

Just download from www.st.com MicroXplorer, it has all Cortex M devices, with pinouts,  and functions, so you can design your board and don't have any conflicts

Andrew Neil
Evangelist III
Posted on February 15, 2013 at 13:41

''download from www.st.com MicroXplorer ... you can design your board and don't have any conflicts''

But he specifically stated that he's using a Discovery Board! So that's no help - is it?!