STM32 Nucleo: Difference between revisions
Jump to navigation
Jump to search
Line 37: | Line 37: | ||
==== Modify ethernet communication settings ==== | ==== Modify ethernet communication settings ==== | ||
If the IP address cannot be correctly assigned by DHCP, it is possible to manually configure a fixed IP address for the Nucleo board. See the following instruction: | |||
* Connect USB cable into CN1 connector | |||
* Open SoftTune | |||
* Create new Nucleo_F767ZI project | |||
* From the menu bar choose ''Target'' -> ''Communication settings'' | |||
* Select ''Modbus'' protocol, then click on ''Activate'' and then click on ''Properties'' | |||
* Configure the Modbus setting as shown in the following image (specify the USB virtual COM port as recognized by your system): | |||
[[File:Nucleo-USBConnection1.jpg]] | |||
* Click OK | |||
* Click on the connection Icon | |||
* In the bottom-right corner of the application window, you should see a green rectangle with ''CONNECTED'' written inside | |||
* Inside the parameters tree, select ''All Parameters'' -> ''Communication'' -> '' Configure TCP IP address'', and specify the desired IP address (this should write the parameter inside the target) | |||
* Save parameters and reboot (from the menu bar choose ''Target'' -> ''Save parameter'', then ''Target'' -> ''Device reboot'' | |||
* Connect LogicLab to target via Ethernet (see 1.2 Ethernet connection) | |||
== Peripheral connection == | == Peripheral connection == |
Revision as of 16:48, 30 November 2020
We're sorry, this page is under construction
This guide is intended for STM32 Nucleo F767ZI demo board, with Axel runtime.
Quickstart
USB connection
It is possible to connect the Nucleo board via USB-Serial connection; just refer to the following steps:
- Connect USB cable into CN1 connector.
- Open LogicLab.
- Create new Nucleo_F767ZI project.
- Select from LogicLab main menu bar On-line -> Set up communication.
- Select Modbus protocol, click on Activate button and then on Properties button, the settings dialog will appear; configure it as shown in the image below:
- Click Ok
- Now from the main menu bar, choose On-line -> Connect
- Now, in the right-lower corner of the application window, you should see a green rectangle with the word CONNECTED written inside.
Ethernet connection
It is possible to connect the Nucleo board via Ethernet; just refer to the following steps:
- Connect to Ethernet LAN plugging cable into CN14 connector.
- Open LogicLab
- Click Scan Network… button
- If Nucleo board is recognized, you should see this results table:
- By default, IP address is assigned by DHCP
- Click on the (+) button to automatically create a new nucleo project with the right communication settings
- From the main menu bar choose On-line -> Connect
- Now, in the right-lower corner of the application window, you should see a green rectangle with the word CONNECTED written inside.
Modify ethernet communication settings
If the IP address cannot be correctly assigned by DHCP, it is possible to manually configure a fixed IP address for the Nucleo board. See the following instruction:
- Connect USB cable into CN1 connector
- Open SoftTune
- Create new Nucleo_F767ZI project
- From the menu bar choose Target -> Communication settings
- Select Modbus protocol, then click on Activate and then click on Properties
- Configure the Modbus setting as shown in the following image (specify the USB virtual COM port as recognized by your system):
- Click OK
- Click on the connection Icon
- In the bottom-right corner of the application window, you should see a green rectangle with CONNECTED written inside
- Inside the parameters tree, select All Parameters -> Communication -> Configure TCP IP address, and specify the desired IP address (this should write the parameter inside the target)
- Save parameters and reboot (from the menu bar choose Target -> Save parameter, then Target -> Device reboot
- Connect LogicLab to target via Ethernet (see 1.2 Ethernet connection)