Profinet demo

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Profinet demo

Jump to solution
510 Views
wlfworld
Contributor I

I want to develop a profinet device based on RT1180. The PROFINET stack library, Industrial Communication Creator(ICC), ICE and PROFINET Eval Binaries have been downloaded. 

There is a user guide for ICE for ICC, but I can't find a user guide for the Profinet stack guide. Is there a project demo in the stack library? Which project shall I put the file 'goal_appl.c‘ and ’goal_config.h‘ which are gererated by ICC?  How to modify the cyclic data of profinet device project?

0 Kudos
Reply
1 Solution
12 Replies
226 Views
wlfworld
Contributor I

1. Is it possible to choose Ethercat and PROFINET by different firmware based on the same hardware(PHY)? I want to develop a IO device which can be Ethercat slave or PROFINET IO. It is different PHY and RJ45 in the Demo.

2. When will the RT1186JVJ8C or RT1186KVJ8C availible? The *JVM or KVM are too big for us(14*14).

3. Is it possible to valuate the Profinet based on the FRDM-IMXRT1186?

0 Kudos
Reply
222 Views
ShellyZhang
NXP Employee
NXP Employee

Hi @wlfworld ,

1. You can run PROFINET on the PHYs originally assigned to EtherCAT. Since the EtherCAT hardware only supports 100 Mbps operation, the PROFINET communication on these PHYs will also be limited to 100 Mbps. Software modifications will be required to support this change.

2. Both the RT1186JVJ8C and RT1186KVJ8C are available for purchase. Please contact your local distributor or NXP sales representative for ordering details.

3. The software can be ported by following the guidance provided in  AN15104: Porting Guide for Industrial Ethernet Protocols | NXP Semiconductors

 

Best Regards,

Shelly

 

0 Kudos
Reply
182 Views
wlfworld
Contributor I

@ShellyZhang Thanks for you information!

There is an attached patch(AN15104.zip) mentioned in the AN15104 , but I can't find the file. I also  cann't get the file by searching on website www.nxp.com. Could you provide the downloading link to me?

Best Regards!

0 Kudos
Reply
177 Views
ShellyZhang
NXP Employee
NXP Employee
0 Kudos
Reply
125 Views
wlfworld
Contributor I

@ShellyZhang Thanks for your supoort.

I applied the patch, and then modified the following items according to AN15104.

1. .vscode/mcuxpresso-tools.json
"boardId": "frdmimxrt1186"
"deviceId": "MIMXRT1186xxxxx"
"device": "MIMXRT1186"

2. mcux_include.json
"BOARD": "frdmimxrt1186"

3. rj.conf
add: CONFIG_MCUX_COMPONENT_driver.trdc=y

4. #if (defined(CPU_MIMXRT1186CVJ8C_cm33).... to defind configENABLE_FPU in FreeRTOSconfig.h(It is not include in the guide. Compilation will be failed if it is not modified)

 

The rt1180_cm33_cm33.bin(422832 bytes) was generated and downloaded to the FRDM-IMXRTt1186.  Jump J12 and J18 to 1-2 connected and set J60 to 100. It can't be scanned by the ICE. 

 

Question:

I. Did I miss some operation? 

2. Why the bin is more than 400K bytes? The downloaded PROFINET Eval Binaries is less than 70K. What's the difference?

 

Best regards!

 

 

0 Kudos
Reply
29 Views
ShellyZhang
NXP Employee
NXP Employee

Hi @wlfworld ,

Sorry for the delay.

Based on the latest issue you reported, it appears that you are now able to discover the PROFINET device successfully during the scan process, which is a good sign.

To keep all technical discussions in one place and avoid missing any updates, let's continue the discussion in the NXP Community thread:

NXP Community Discussion

We are following the thread and will continue investigating the remaining connection issue there.

Best regards,

Shelly

0 Kudos
Reply
219 Views
wlfworld
Contributor I

@ShellyZhang Thanks for you information.

3. If the PROFINET can be evaluated on FRDM-IMXRT1186 which is based on IMXRT1186CVJ8C, what's the different between IMXRT1186CVJ8C and IMXRT1186JVJ8C? Can I release the firmware based on the IMXRT1186CVJ8C? 

0 Kudos
Reply
207 Views
ShellyZhang
NXP Employee
NXP Employee

Hi @wlfworld ,

ShellyZhang_0-1787016615574.pngShellyZhang_0-1787016615574.png

The MIMXRT1186CVJ8C does not include an industrial protocol license. Therefore, you cannot release a commercial firmware product based on the MIMXRT1186CVJ8C for industrial protocol applications.
 
Best Regards
Shelly

 

0 Kudos
Reply
450 Views
wlfworld
Contributor I

The UG10361 is the user guide for how to building image with VS Code. The 10320 is the user guide for flashing binaries.

I need the user guide on the profinet stack library. For example, how to set the input data and output data.

0 Kudos
Reply
460 Views
ShellyZhang
NXP Employee
NXP Employee

Dear @wlfworld ,

The PROFINET guidance documents can be found in:

PROFINET-Stack-Library.zip\ProfiNet\Documents

ShellyZhang_0-1785807755309.pngShellyZhang_0-1785807755309.png

Please pay special attention to the environment and software version requirements specified in the documentation, as the stack depends on specific toolchain and software versions for proper operation.

You can refer to the video tutorial (Building Image on RT1180-EVK using VS Code.mp4) for guidance on building the PROFINET project in VS Code.
 
Best Regards,
Shelly
0 Kudos
Reply
442 Views
wlfworld
Contributor I

The UG10361 is the user guide for how to building image with VS Code. The UG_10320 is the user guide for flashing binaries.

I need the user guide on the profinet stack library. For example, how to set the input data and get the output data from Profinet stack.

0 Kudos
Reply
435 Views
ShellyZhang
NXP Employee
NXP Employee

Hi @wlfworld ,

A dedicated user guide for the PROFINET stack library has not been released yet and is currently under development.

If your focus is on the PROFINET API, please refer to the guidance available on the Port website:

Application Programming Interface - PROFINET - Confluence

In addition, ICC can be used to configure and modify application-specific input and output data. Relevant information can be found in the ICC Help pages.

Please let us know if you have any further questions.

 

Best Regards,

Shelly

0 Kudos
Reply