Yes indeed it is and just a few hours GMT before we will enter a new year it 
all seems to work fine.

Last problem was rather simple, EEPROM configuration had to fit sofware 
expectation and with the esi file it all worked.

I use soem, siitol, LAN9252 via SPI and there is no need for twincat from 
Beckhoff. I should go through the slave code first and then try to get it into 
linuxcnc. I used publically available DieBieSlave and will share any change I 
made to code, also schematics and pcb file if someone is interested, they are 
rather simple.


Regards Nicklas Karlsson



> Wow... that's great!
> 
> Dave
> 
> On 12/24/2017 6:44 AM, Nicklas Karlsson wrote:
> > I just got SPI started on my Ethercat LAN9252 board. It turned out SPI MISO 
> > where configured twice.
> >
> > For some reason I think almost all manufacturers choose to configure by pin 
> > so for peripheral input pins it is possible to configure more than one pin 
> > and get a collision. I remember Microchip got this correct: for peripheral 
> > inputs a source could be selected and for pin outputs configuration a 
> > peripheral output could be selected. It is also have the advantage a signal 
> > may be used at more than place.
> >
> > For some reason most manufacturers have chosen to write headers specifice 
> > for micro controller instead of peripheral specific even though same 
> > peripheral usually is the same on all micro controllers in the family. I 
> > remember Texas instrument got this correct and wrote a pdf-file specific 
> > for each peripheral although I do not remember about header files. I have 
> > been thinking about porting the header filer on perihpheral basis to ADA 
> > but never get time.
> >
> >
> > Nicklas Karlsson
> >
> > ------------------------------------------------------------------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to