industrialNETworXnetx

KJD

KJD

| 03.09.2008 | 13:02 | 2 replies

Fastest way of data transfer

Hi!

I'm using the NXHX 500 re (netX500) and want to sent data from a fpga to my netx500. The data is 24 Byte long and have to be send every 25 us (40kHz). I2C is to slow. So i tried to send the data via the SPI, but it takes approximately 26 us and so it is even to slow. Now i try to connect the fpga vie the extension bus, but i have any problems (Foren-Übersicht >> Hardware >> Hostinterface (DPM) >> HIF - Extension Bus Read/Write Example).
Do anyone have an idea, on how i can send the data as quick as possible?

Thanks!

hal9000

hal9000

| 05.09.2008 | 14:47

Hi KJD,

the host interface of the netX can basically operate in two different modes, which can not be used concurrently:

There is a "passive" mode which lets the netX host interface appear as a standard (Dual-ported-) RAM, that is connected to an external host processor, that can read from or write to the netX. The external processor controls address lines and Read or Write signals, etc. This is the DPM mode of the host interface.

Further there is an "active" mode, that allows the host interface to access external memory or memory-mapped devices. Here the netX takes control of Read and Write Signals, address lines, etc. This is the Extension Bus mode of the netX.

Both modes can either work with an 8-Bit or a 16-Bit wide data bus and are configurable to a large extent.

If your FPGA is the "active" part, that decides when to transfer data to the netX, then the DPM mode of the host interface must be used. The example configuration of the Extension Bus mode as shown in this board, can of course not be used in that case.

KJD

KJD

| 08.09.2008 | 07:45

Hi hal9000!

Thank you for your answer! I try to install an extension bus. In the forum "Foren-Übersicht » Hardware » Hostinterface (DPM)" i found your example on how to configure in extension bus mode. But it won't work. So i post my problem in "HIF - Extension Bus Read/Write Example". Could you please have a look at it? Perhaps you may help me!? :)

Thanks KJD

Login