Setting up the fan speed controller on a VPK120 dev board - project specific

Call: +44 (0)23 8098 8890
E-mail:

Posted 13th June 2023, By Aysa D
VPK120 development board pictured wearing ear defenders with silent smiley on the fan

As discussed in my previous blog the VPK120 development board is loud if the fan is constantly running at top speed.

We have already discussed how to check if the board has the latest Linux code supporting the speed controller, I will now document how to add the minimal IP to send the necessary SYSMON data.

Step 3 – Configure the Versal to send the SYSMON data to the System Controller

The steps below are for a basic design that will add the minimal amount of IP required for the SYSMON data to be sent. if larger projects are required this can be used as a base and the CIPs IP can be customised as required as long as the settings shown in the sections below are unchanged.

Create a new Vivado project setting the board part:

Screenshot of Vivado project showing selecting the board part

Create a new block design and add a CIPs IP and then “Run Block Automation”.

Select the Design Flow as PL Subsystem and add PL Clocks and PL Resets as required.

Screenshot of Vivado project showing selecting the design flow and adding PL clocks and reset

Open the IP block, click next and go into the PS PMC block.

Go to the Sysmon tab and set the Common configuration template to Sysmon temperature voltage and external IO monitoring, set the interface to use to I2C and the I2C/PMBUS address to 0x18.

Screenshot of Vivado project showing Sysmon tab and setting the Common configuration template

Go to the IO tab and set the Sysmon I2C to PMC_IO_39 .. 40

Screenshot of Vivado project showing the IO tab and selecting the Sysmon I2C setting

Click Finish

Continue to add any FPGA IP / logic as you would for a normal design, create your block design wrapper file and build the FPGA.

Step 4 – Test the changes

Set the active fan control to be System Controller managed by setting the physical jumpers on the board for the fan tachometer jumper J348 Pin 1-2 and fan control jumper J347 Pin 1-2.

Power up the board and programme it.

Confirmation that the changes have worked will be visible from the BEAM interface where the temperature will now be displayed, but more importantly the reduction in fan speed should be more audibly pleasing.

Screenshot of the BEAM tool interface showing the Versal junction temperature being correctly displayed

Note: I have found that the firmware on the system controller is not rock solid, this means that at times the data link can fail. I've only observed it fail safe (the fan will spin back up to maximum) so it's not a massive issue other than the increased volume. If this happens you can reset just the system controller by pressing the SYSCTL_POR_B button on the board. It seems to happen most often in the debug phase when you are resetting the Versal multiple times, and it seems to happen less if the board is left to settle for a while after initial power on before performing subsequent resets.

Note: References to Xilinx have been updated with AMD in line with their branding transition.

How ITDev can help you

This blog article is just one small demonstration of how we keep clients informed: documenting the steps required to reproduce the same set-up as we used.

We can assist you in achieving your goal and solving your problem.

  • There will be open, frequent communication as we look to understand your aims. 
  • In-line with your needs, you will be kept up to date on progress.
  • Appropriate knowledge transfer activities will occur throughout the project.

If you have any questions or would like to find out how we can help you with your product development journey, initial discussions are always free of charge. We would be delighted to speak to you so please contact us.

Main image: Overlay silent smiley icon created by Freepik - Flaticon


Aysa

Principal Consultant - Electronics Engineer

MEng - Electronic Engineering, University of Southampton - MIET

I joined ITDev in 2011 as an Electronic Design Engineer. I have developed a good knowledge of hardware and software through working on a variety of projects from small scripts to complete FPGA designs. A mixture of responsibilities, covering both development and debugging, have exposed me to different clients, presenting a wide range of issues and tasks including investigating High Level Synthesis (HLS). My experience has been primarily on Xilinx devices, utilising both ISE and Vivado.

I am additionally the Training Manager and am responsible for staff Continual Professional Development (CPD), including the company appraisal system, and the promotion and organisation of various training activities.

I enjoy the close-knit community feeling that working for a small company like ITDev brings.

I spend a large amount of my free time restoring and renovating my much-loved Edwardian home.

View all posts by Aysa    |    View all ITDev team members

IET Enterprise Partners logo

Latest Blog Posts

Laurence at his desk in the office
Posted 29th August 2024, By Jon O
At ITDev, we are passionate about the work we do and the impact it has. Recently, we had the pleasure of welcoming a bright year 10 pupil, Laurence, for a 7 ...more
Joseph UKESF profile
Posted 5th August 2024, By Joseph S
We sponsored Joseph as a UKESF student, offering him a 1 year work placement. This is his report on the experience and what you can expect on a placement with ...more
VPK120 development board pictured wearing ear defenders with silent smiley on the fan
Posted 13th June 2023, By Aysa D
This blog contains the final steps for adding the minimal IP to send the necessary SYSMON data to the System Controller for controlling the fan on the AMD ...more
VPK120 development board pictured wearing ear defenders
Posted 25th May 2023, By Aysa D
Whilst developing on an AMD Versal VPK120 you will want to control the fan speed to keep the noise at manageable levels. This guide captures the steps taken to ...more

Latest News

IABM logo
Posted 30th August 2024
ITDev are pleased to announce becoming a silver member of the IABM. With a long-standing knowledge of creating custom solutions for the ...more
Posted 12th September 2023
ITDev is proud to announce the launch of a new FPGA video IP core. The core allows integrators to quickly and easily add high-quality colour space conversion ...more
Shot of Sydney Harbour Bridge
Posted 3rd March 2023
We welcome David back from Australia and review some of the actvities we've been engaged with in February 2023.
Posted 9th August 2022
Last month we attended the second TechNES FPGA Frontrunners event, here's our write up from the day ...