[ell-i-developers] Re: FYI: ENCx24J600 driver ; SPI testing

  • From: Pekka Nikander <pekka.nikander@xxxxxx>
  • To: Asif Sardar <engr.asif.sardar@xxxxxxxxxxxxxx>
  • Date: Thu, 3 Jul 2014 13:42:03 +0300

Asif,

Sounds very good.  I would need it by Wednesday morning, if possible.  Sooner 
would be better, of course, but realistically I won't have real time to test 
the ENCx24J600 code before that.  Having SPI more-or-less working in the 
emulator would make things easier to test.

Depending on your progress, we could have a telco on that on e.g. Tuesday 
morning, to see what's been done.  And of course continue with email here.

--Pekka

On 2014–07–03, at 13:36 , Asif Sardar <engr.asif.sardar@xxxxxxxxxxxxxx> wrote:

> Hello,
> 
> Yes, it has been done for emulator. Atleast, I can see the .o object file for 
> SPI under Runtime/build folder. I have to make a C interface for the SPI in 
> library/SPI/ellduino_spi.h & .c files, just like I did modification for the 
> serial communication in attached files. Such modification is required because 
> the ctypes module cannot access the class member functions directly through 
> the shared library.
> 
> I can try testing them with emulator! When does it needed?
> 
> BR,
> Asif.
> 
> 
> On Thu, Jul 3, 2014 at 1:14 PM, Pekka Nikander <pekka.nikander@xxxxxx> wrote:
> The emulator has some SPI done, see SPIemu.h, SPI.cpp.  I don't remember what 
> is the status.  It is probably just on the physical layer, most probably the 
> library is not compiled in, but I just don't remember and don't have time to 
> check right now.
> 
> --pekka
> 
> On 2014–07–03, at 12:51 , Asif Sardar <engr.asif.sardar@xxxxxxxxxxxxxx> wrote:
> 
> > Hello,
> >
> > Yes. The SPI test cases are ready. I have seen in runtime that SPI has 
> > interface already e.g. begin(), end(), setdatamode() etc.But, I didn't see 
> > it in emulator.
> >
> > BR,
> > Asif.
> >
> >
> > On Thu, Jul 3, 2014 at 12:43 PM, Pekka Nikander <pekka.nikander@xxxxxx> 
> > wrote:
> > Otso,
> >
> > FYI: I've started writing the ENCx24J600 driver.  Looks simple and 
> > straightforward, just work.  I'll make it separate from the ENC28J60 
> > driver, as it will most probably be smaller (smaller flash footprint) than 
> > the ENC28J60 driver, if done right.
> >
> > My current estimate is that I'll have first version ready by Monday or 
> > Tuesday.  It may or may not be complete, but in any case should be good 
> > enough for testing on Wednesday.  As usual, I will most probably run out of 
> > time before we'll get it fully tested, though....
> >
> > Asif,
> >
> > What's the situation with SPI library test cases?  Do we have any yet?
> >
> > --Pekka
> >
> >
> >
> >
> > --
> > With Best Regards,
> > Asif Sardar.
> > +358 43 8265795
> 
> 
> 
> 
> -- 
> With Best Regards,
> Asif Sardar.
> +358 43 8265795
> <ellduino_Serial.c><ellduino_Serial.h>


Other related posts: