PK enc28j60
#1
Posted 21 August 2010 - 04:49 PM
#2
Posted 21 August 2010 - 06:02 PM
PS: I cannot build your std firmware with gcc without flash memory issue. I suppose that you use RDVS instead, which is more efficient, right ?
You should be able to build the standard firmware with GCC (just make sure you're building the Release build with msbuild's /p:flavor=Release switch and make sure that you're using the CodeSourcery version specified in the .NET MF release notes).
We do use RVDS to get the best results...but .NET MF fully supports GCC as well.
Chris
#3
Posted 21 August 2010 - 06:06 PM
#define ENC28J60_INT MC9328MXL_GPIO::c_Port_A_06 <-
#define ENC28J60_CS MC9328MXL_GPIO::c_Port_A_04 <-
#define ENC28J60_MODULE MC9328MXL_SPI::c_SPI1 <-
What can I define for theses three define ? My ethernet shield use PB2 (Arduino 10) for CS and PD2 (Arduino 2) for INT.
From the online schematics:
D2 = Port A 00
D10 = Port B 22
You'll want to use the C++ SPI0 channel. That's the internal reference for the "SPI1" that Netduino exposes over digital pins D11-D13.
Chris
#4
Posted 19 March 2012 - 03:15 PM
#5
Posted 19 March 2012 - 05:53 PM
These are linked from the Documentation page at netmf.codeplex.com:could you please show me a road map of pk
http://netmf.codeple...m/documentation
The roadmap for .NET MF vNext hasn't been published yet, but should hopefully be collated and published soon.
Chris
#6
Posted 21 March 2012 - 12:20 AM
Hello,
I'm trying to compile netduino firmware with lwIP and enc28j60,
First off all, I need to remove a lot of features to have suffisant flash memory (like SD, File System, Stream ...),
I just need to have a advice regarding pin definition in file enc28j60_LWIP_config_stubs.cpp :
#define ENC28J60_INT MC9328MXL_GPIO::c_Port_A_06 <-
#define ENC28J60_CS MC9328MXL_GPIO::c_Port_A_04 <-
#define ENC28J60_CS_ACTIVE FALSE
#define ENC28J60_MSK_IDLE FALSE
#define ENC28J60_MSK_SAMPLE_EDGE TRUE
#define ENC28J60_16BIT_OP FALSE
#define ENC28J60_CLOCK_RATE_KHZ 25000
#define ENC28J60_CS_SETUP_USEC 0
#define ENC28J60_CS_HOLD_USEC 0
#define ENC28J60_MODULE MC9328MXL_SPI::c_SPI1 <-
What can I define for theses three define ? My ethernet shield use PB2 (Arduino 10) for CS and PD2 (Arduino 2) for INT.
Thanks in advance for your help,
Pascal
PS: I cannot build your std firmware with gcc without flash memory issue. I suppose that you use RDVS instead, which is more efficient, right ?
hi pascal
could you plz tell me how to do so
thanks alot
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users