How to configure and test the Ethercat Master and slave in nxp imx8mm-lpddr4-evm

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to configure and test the Ethercat Master and slave in nxp imx8mm-lpddr4-evm

564件の閲覧回数
santhana_kumar
Contributor I
 
Hi,
 
I'm using the imx8mm-lpddr4-evk board and following the "NXP Real Time Edge" Yocto build procedure
 
We are going to test the ethercat protocol for imx8mm board , so we followed the procedures from the "NXP Real Time Software user guide" to setup the master in the EVK board.
 
Following steps :
 
1. I've added the MAC address of the slave device to the /etc/ethercat.conf file in the master board. 
 
   However, the output of the ethercat master command shows that it's stuck at the "Waiting for device(s).." phase. How can I resolve this issue? We are only know the ethercat master seup but don't have the Slave setup.
   
   
When I run the command: $ ethercat master
 
The output I get is:
 
Master0
  Phase: Waiting for device(s)..
  Active: no
  Slaves: 0
  Ethernet devices:
    Main: 00:1f:7b:1e:30:38 (waiting...)
      Link: DOWN
      Tx frames:   0
      Tx bytes:    0
      Rx frames:   0
      Rx bytes:    0
      Tx errors:   0
      Tx frame rate [1/s]:      0      0      0
      Tx rate [KByte/s]:      0.0    0.0    0.0
      Rx frame rate [1/s]:      0      0      0
      Rx rate [KByte/s]:      0.0    0.0    0.0
    Common:
      Tx frames:   0
      Tx bytes:    0
      Rx frames:   0
      Rx bytes:    0
      Lost frames: 0
      Tx frame rate [1/s]:      0      0      0
      Tx rate [KByte/s]:      0.0    0.0    0.0
      Rx frame rate [1/s]:      0      0      0
      Rx rate [KByte/s]:      0.0    0.0    0.0
      Loss rate [1/s]:          0      0      0
      Frame loss [%]:         0.0    0.0    0.0
  Distributed clocks:
    Reference clock: None
    Application time: 0
                      2000-01-01 00:00:00.000000000
  
 
 
Can you please help us to resolve the issue?
 
Regards,
SanthanaKumarS
0 件の賞賛
返信
2 返答(返信)

535件の閲覧回数
hector_delgado
NXP TechSupport
NXP TechSupport

Hi @santhana_kumar ,

I hope you're doing well! What version of RTES are you using?

Please review section 7.1.3.3 The 'real-time-edge-servo' stack from the Real Time Edge Software User Guide (https://www.nxp.com/docs/en/user-guide/REALTIMEEDGEUG.pdf ). 

Section 7.1.3.3.3 Xml configuration for real-time-edge-servo goes into great detail regarding master and slave configurations for the xml file using real-time-servo framework.

Let me know if this was of any help.

Best regards,
Hector.

0 件の賞賛
返信

494件の閲覧回数
santhana_kumar
Contributor I

Hi,

Using the Real Time Edge software guide version 2.7.

"real-time-edge-servo" stack needs the hardware component to test the slave from the imx8mm board (Which act as a master)

Can you please tell without using the "real-time-edge-servo" stack & only can we use the normal server & client application to send and receive the ECAT frame between the Ubuntu PC and the imx8mm board?

If the above is possible to send & receive the ECAT frame between the ubuntu PC & imx8mm board, then please share the sample code for this.

Regards,
SanthanaKumarS

0 件の賞賛
返信