Hello,
Preamble:
I am trying to run M40 module under linux. The platform is Altera Arria 10 soc. Little Endian, Kernel version 4.9.79. I succeeded to map the device to use spidev driver and after many FPGA configurations I have communication in both directions in full duplex mode. Compiled the Generic example with all adaptations needed (according to documents), module is identified, detected. SPI @ 10MHz -3 wire mode, GDB attached to eclipse debugging is used on target debugging.
Target:
To provide a library/kernel module to a SW developers for an application which will use Anybus module for industrial networks
The problem:
I see the ANB: ABP_ANB_STATE_SETUP always. After debugging I saw the checksum at Rx part of the driver is always different and it always retransmit the frame.
What am I missing or any suggestions are welcome.
Cordially
Georgi