• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
netX linux driver
#1
Hi Armin,
I am interested in interacting with the netX from within the RPi on a kernel level.
I understand the connectivity from RPi to netX is via SPI channel. Which channel is it?

Do you have a linux kernel module for the netX? Or do you interact with it from the RPi only on a user space level?


Thanks,
Irina.
  Reply
#2
Hi Irina,

only user space level is necessary

When talking to netX there is container inclusive user space driver and netX system firmware files for all Industrial Ethernet protocols that is supported here
https://hub.docker.com/r/hilschernetpi/n...g-examples

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#3
Thanks Armin!

But for our solution we are interested in a kernel device driver if available.
Is there something like this for the NetPi?

Is this driver applicable to NetPi as well?
https://kb.hilscher.com/display/CIFXDRV/...XDRV-LINUX

Thanks,
Irina.
  Reply
#4
Hello Irina,

such a driver applies to PC cards named "cifX" in the hilscher product portfolio which feature data transmission over a physical dual-ported memory and PCI signals or mPCIe with DMA support using a netX100 type of chip.

On netPI there is a netX51 populated which does not support a dual-ported memory for data transmission but a serial port memory connected to SPI0.0 port of netX. So there isn't a kernel driver necessary in this case. With netPi we have just the "libcifx.so" only

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#5
But why is a kernel mode driver in your setup necessary at all?

I can't get the use case in my mind.
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Yocto linux tad 2 2,775 February-21st-2022, 11:50 AM
Last Post: tad
  NIOT-E-NPIX-4DI4DO with netpi-netx container WalterSchaefer 3 9,464 November-25th-2020, 01:06 PM
Last Post: zen89
  netPI-netx-programming-examples update slos 12 10,198 September-14th-2020, 07:06 PM
Last Post: Armin@netPI
  linux bridge eth0 and cifx0 carmel85 3 4,323 August-13th-2020, 08:41 AM
Last Post: Armin@netPI
  Linux RT kernel Armin@netPI 7 6,904 January-31st-2020, 05:02 PM
Last Post: royazriel
Question Driver for RS485 (netPI) ArteLukas 5 10,805 June-25th-2019, 07:10 AM
Last Post: Armin@netPI
  [SOLVED] Use netX interface as profinet controller jromero248 2 3,900 January-10th-2019, 12:30 PM
Last Post: jromero248
  [SOLVED] Usage of overlay driver adeeljsid 4 4,847 October-18th-2018, 10:13 AM
Last Post: Armin@netPI
  Yocto Linux for Rpi3 + netHAT jenrei 4 4,848 July-16th-2018, 11:49 AM
Last Post: Armin@netPI
  usage of hilschernetpi/netpi-netx-ethernet-lan is working but costs 25% cpu power Michael_d 7 6,499 March-9th-2018, 10:52 AM
Last Post: Michael_d

Forum Jump:


Users browsing this thread: 1 Guest(s)