QUARC Linux Raspberry Pi 3 Target QUARC Linux RT ARMv7 Target navigation bar

Table of Contents > QUARC > User's Guide > QUARC Targets > Specific Targets

QUARC Linux Raspberry Pi 4 Target

The Linux Raspberry Pi 4 target currently supports the Raspberry Pi 32-bit OS running on a Raspberry Pi™ 4 board. This section provides a general description of the QUARC Linux Raspberry Pi 4 Target in addition to limitations and requirements for this target type. Please use the following list to refer to each topic:

Description

The QUARC Linux Raspberry Pi 4 Target currently supports the Linux Raspberry Pi 32-bit Operating System (OS) running on a Raspberry Pi 4 board. The Raspberry Pi 4 board is offered by the Rasberry Pi Foundation. The Pi 4 board contains a quad-core 1.5 GHz 64-bit CPU with choice of 2/4/8 GB RAM, along with GPIO, USB, HDMI, WiFi and miniature camera support. It is a larger board suitable for more computationally intensive applications.

The QUARC Linux Raspberry Pi 4 Target is a soft real-time system. The Raspberry Pi OS is not designed to guarantee that events are always processed within a particular timeframe, as in a hard real-time system. Thus, if an operation misses its deadline, it is considered "less" than correct but not an application or system failure. The system simply tolerates the missed deadline and performs the operation with delay. In real-time applications, this behaviour is undesirable since all operations must meet their deadlines. In particular, real-time control applications expect the sampling rate of the controller to be maintained, and no samples to be missed.

To minimize the delays in processing real-time events, the QUARC Linux Raspberry Pi 4 Target assigns the highest possible priority to a model's real-time code. The threads of the real-time code will preempt the threads of all other processes, including operating system processes performing important tasks, such as networking. Hence, a real-time process that executes for more than a brief interval may cause for example networking to be unresponsive.

Please keep in mind that using QUARC with a QUARC Linux Raspberry Pi 4 Target still requires a Windows host. Details on this requirement are given in the Requirements section of this page.

For more information about the data acquisition "cards" supported by the QUARC Linux Raspberry Pi 4 Target, please refer to the QUARC Data Acquisition Card Support reference section in the QUARC documentation.

Limitations

There are a number of limitations imposed on the QUARC Linux Raspberry Pi 4 Target. The following is a list of these limitations:

Real-Time Performance

Warning The QUARC Linux Raspberry Pi 4 Target is a soft real-time system. For real-time processes with critical time constraints (e.g. advanced robotics), this target may not be suitable.

Sampling Rates

Warning While fast sampling rates may be specified, rates faster than 2 kHz are not recommended as jitter increases at faster sample rates.

Requirements

Code is generated in QUARC on a remote Windows host for the Raspberry Pi 4 target, as MATLAB and Simulink do not run natively on the Raspberry Pi 4. Hence, MATLAB, Simulink and QUARC are required on a Windows host PC. Please note that even though QUARC must be installed on the Windows host, it is still necessary to have QUARC installed on the Raspberry Pi 4 target, since the QUARC Target Manager must be present where the generated code is running.

Please note that if your only intended target is a Raspberry Pi 4, the QUARC Windows target is not required and you can select not to install that component when installing QUARC. However the QUARC Simulink Development Environment component is required to generate code from your Simulink models.

Once the code is generated on the Windows host, it is automatically downloaded to the Raspberry Pi 4 target. In order to achieve this, QUARC must also be installed on the Raspberry Pi 4. The QUARC installer for the Raspberry Pi 4 is found on QUARC installation disk under the quarc\linux_pi_4 folder.

Technical Support Package

Warning Due to the high flexibility and customizability of a Raspberry Pi 4 system, Quanser only provides limited technical support. If required, please contact the Quanser Sales department for more details regarding running QUARC on a Raspberry Pi 4 board interfacing with your own application(s). The following is a link to the Quanser Support site.

 

navigation bar