FRDM Training Hub

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

FRDM Training Hub

FRDM Training Hub


Restricted Beta Program

  • Comprehensive software and tools for seamless prototyping and rapid development
  • Scale your project with modular, quick-start FRDM and expansion boards
  • Leverage our application code hub or GoPoint to access 180+ code snippets and demos

  • Leverage FRDM Training Hub to learn from the experts
  • Not sure where to start ?

讨论

排序依据:
This MCXW72 training video talk about the Lifecycle state model, explain in detail the purpose, and security recommendations for each state.  Training shows the fuses involved in this process to advance lifecycle and enable the basic security features like Secure Boot and Secure Debug. Video also includes examples about how to use MCUXpresso Secure Provisioning Tool (SEC) to create Root of Trust Key Hash (RoTKTH) and SB3KDK Encryption key as well as hoe to active debug authentication before to move Lifecycle states.
查看全文
  Introduction   This hands-on walks you through everything that happens before you ever write a line of application code: unboxing your FRDM i.MX 95 Pro board, getting acquainted with its layout and ports, powering it on, and confirming a healthy first boot from the on-board eMMC. By the time you are done, you will be comfortable using both the i.MX System Manager console and the Linux command line to confirm exactly what hardware you have in front of you. By the end you will be able to: Verify that the contents of your FRDM i.MX 95 Pro box are complete Get acquainted with the board, its peripherals, and ports Set up and boot the board for the first time Get familiar with the i.MX System Manager (SM) console and the Linux CLI Verify the board's hardware and resources using Linux commands Hardware & Prerequisites You need very little to get started: FRDM-IMX95-PRO board (the box) — in addition to the board itself, the box includes USB-C cables for power and debugging, mounting standoffs, the IW612 wireless module, and a documentation card linking to the product page and a getting-started tutorial. Power supply — a USB-C to USB-C cable is included in the box. For basic bring-up, any standard USB-C phone charger is sufficient. If your setup adds higher-power accessories (e.g., a display), use a 100 W-capable USB-C power adapter instead. PC host — a computer with a terminal / serial console program to connect to the board's debug port. That's it — no display or camera is required for this hands-on. Watch the Module Video Watch the full hands-on walkthrough below, then follow along on your own board.   Steps to Run the Hands-On Step 1: Explore the Board with Linux Commands Once the board has booted, open a terminal on the debug console and run the following commands to confirm the Linux environment and the hardware resources available to you. # 1) Linux version uname -a # 2) Storage devices lsblk # 3) Verify CPU numbers and architecture. lscpu # 4) SoC Id and Family cat /sys/devices/soc0/soc_id cat /sys/devices/soc0/family # 5) RAM memory available cat /proc/meminfo | head -20 # 6) network peripherals and addresses ip addr # 7) List Video Encoders and Decoders v4l2-ctl --list-devices # 8) GPU specs and capabilities vulkaninfo --summary # 9) Print available GPIOs gpioinfo Step 2: Explore the i.MX System Manager Console Next, switch to the i.MX System Manager (SM) console to inspect the board at the system level — Logical Machines, boot times, power rails, and clocks. # 1) System manager version, Board, Revision, Silicon etc info # 2) Logical Machines information lm info # 3) Boot time of each Logical machine btime # 4) Power status of each peripheral power.r # 5) Clocks status clock.r Troubleshooting Symptom What to check Power LED is on but there is no output on the console Check the Boot Mode switches (set them to eMMC) Power-cycle the board (turn it off and back on) after changing the Boot Mode switches Verify the serial console baud rate is set to 115200 Confirm the Debug port is connected to the host PC Open all the COM ports exposed by the board when the Debug port is connected to the host PC Conclusion In this hands-on, you: Verified the contents of your FRDM i.MX 95 Pro box Got acquainted with the board, its peripherals, and ports Set up and booted the board for the first time from eMMC Used the i.MX System Manager console and the Linux CLI to inspect the board Confirmed the board's hardware and resources via Linux commands If you have not already, watch the module video above for the full walkthrough, and check out the rest of the FRDM Training Hub for the next hands-on in the series.
查看全文
  Introduction This hands-on walks you through bringing a display to life on the FRDM-IMX95-PRO board. You will flash a BSP image to an SD card, attach a Waveshare 7" DSI LCD, select the correct device tree in U-Boot, and then exercise the panel with brightness control, screen rotation, capacitive touch, and a live camera video pipeline. By the end you will have a fully working touch display and the core skills to configure DSI panels on i.MX 95. By the end of this hands-on you will be able to: Flash a BSP image to a microSD card using UUU in Serial Download mode. Connect the Waveshare 7" DSI display (FPC, power, and I2C) correctly. Select the matching device tree for the panel from the U-Boot prompt. Adjust and script the display backlight brightness. Rotate the screen through Weston's configuration. Verify capacitive touch with evtest . Stream live camera video to the panel with GStreamer. Hardware & Prerequisites FRDM-IMX95-PRO board. MicroSD card — 16 GB or larger. Waveshare 7" DSI LCD — 1024×600 IPS, 5-point capacitive touch. 22-pin FPC cable. Host PC with UUU installed. Watch the Module Video Watch the full hands-on walkthrough first to see each step performed on real hardware, then follow along on your own board using the steps below. Steps to Run the Hands-On 1. Enter Serial Download Mode Put the board into Serial Download Protocol (SDP) mode so the host can push the image, then connect it to your PC: Set boot switch SW1 = 1000 (Serial Download Protocol mode). Connect J7 USB-C to the host PC. Connect J22 USB-C to view debug output on the serial console. 2. Flash the BSP Image with UUU Run the following command on your host computer to flash the BSP boot image and full image to the SD card: # --- UUU --- # Run the following command on your host computer uuu.exe –b sd_all imx-boot-imx95-19x19-lpddr5-frdm-pro-sd.bin-flash_a55 imx-image-full-imx95evk.wic.zst 3. Switch to SD Boot Once flashing completes, reconfigure the board to boot from the SD card: Power off the board. Set boot switches SW3 and SW4 = 0011 (SD card boot). Turn on the board. 4. Connect the Display — FPC Cable Attach the 22-pin FPC cable between the board and the Waveshare panel, paying close attention to cable orientation on each end: Connect the 22-pin FPC to the board's MIPI-DSI connector — the stiffener side faces the board connector. Connect the other end to the Waveshare panel (15-pin side) — the conductive side faces the panel. 5. Connect the Display — Power & I2C The panel needs both power and an I2C connection for the display output to come up: Connect I2C via the J6 4-pin header. Connect 5V power to J17 (or any 5V connector). I2C must be connected for display output to work. 6. Change the Device Tree in U-Boot Watch the serial console during boot and press any key at the U-Boot countdown to reach the prompt: Hit any key to stop autoboot: 3 => (U-Boot prompt) At the U-Boot prompt, select the device tree for the Waveshare panel and boot: # --- U-Boot: select the device tree for the display --- fatls mmc 1 setenv fdtfile imx95-19x19-frdm-pro-waveshare-7inch-c-panel.dtb saveenv boot 7. Set & Check Backlight Brightness Once Linux is running on the board, the panel backlight is exposed through sysfs. The commands below set a brightness value and read the current and maximum allowed values. Valid range is 0 (off) up to max_brightness . Run these as root: # --- Linux on board --- # Run the following command on the board # Path to the backlight /sys/class/backlight/3-0045/ # Set brightness echo 128 > /sys/class/backlight/3-0045/brightness # Read the current value cat /sys/class/backlight/3-0045/brightness # Read the maximum allowed value cat /sys/class/backlight/3-0045/max_brightness 8. Fun Example — Breathing Backlight For a quick visual test, this small script ramps the backlight up and down continuously, giving a "breathing" effect. Save it as breathe.sh , make it executable, and run it as root. Press Ctrl+C to stop. # --- Linux --- # Breathing back light # Create and open the file vi breathe.sh # Write the following lines into the bash script BL=/sys/class/backlight/3-0045 MAX=$(cat "$BL/max_brightness") while true; do for ((i=0; i<=MAX; i++)); do echo "$i" > "$BL/brightness"; sleep 0.01; done for ((i=MAX; i>=0; i--)); do echo "$i" > "$BL/brightness"; sleep 0.01; done done # Change the permissions of the bash script chmod +x breathe.sh # Run the bash script ./breathe.sh 9. Rotate the Screen (Weston) Display orientation is controlled in Weston's configuration file. Edit weston.ini , add an [output] section with the desired transform, then restart the service: # --- Linux --- # On board # File path /etc/xdg/weston/weston.ini # Open the file vi /etc/xdg/weston/weston.ini # Add the following [output] name=DPI-1 transform=rotate-90 # Valid formats # normal - 0 degrees (default) # rotate-90 - 90 degrees clockwise # rotate-180 - upside down # rotate-270 - 270 degrees clockwise # Reboot or restart the service systemctl restart Weston # Check the status of the service systemctl status weston You can confirm the panel resolution and active modes with modetest : # --- Linux --- # Check the panel resolution modetest -c # list connectors & modes # full DRM/KMS overview modetest # Look for the DSI/DPI connector and confirm # 1024x600 is listed as an active mode 10. Test Capacitive Touch (evtest) Run evtest with no arguments to list the available input devices, then select the touch screen's event number to start capturing touch events: # --- Linux --- # Touch screen evtest # Run the evtest command evtest # It will list the available devices Available devices: /dev/input/event0: scmi_dev.11 /dev/input/event1: Goodix Capacitive TouchScreen Select the device event number [0-1]: 1 # Then it will run the evtest of the touch screen 11. Display Camera Video (GStreamer) Stream live camera video to the panel to verify both the camera and the display path in one go: # --- Linux --- # Gstreamer pipe line for webcam # Run the following command gst-launch-1.0 v4l2src device=/dev/video52 ! video/x-raw,width=640,height=480 ! Glimagesink # Pipeline breakdown # v4l2src device=/dev/video52 - capture from V4L2 node # video/x-raw,width=640,height=480 - raw 640x480 video # glimagesink - render on display via OpenGL Troubleshooting Symptom What to check No display output Check FPC orientation — the stiffener side must face the board connector. Ensure the I2C bus (J6) is connected; it is required for display output. fatls mmc 1 fails Verify the SD card is inserted. Confirm SW3 and SW4 = 0011 (SD boot mode). "No such file or directory" at the backlight path Confirm the node name with ls /sys/class/backlight/ . Touch not working after screen rotation Add a calibration_matrix for the touch device in weston.ini , or configure the touch coordinate transform via libinput. Conclusion In this hands-on you brought up a Waveshare 7" DSI display on the FRDM-IMX95-PRO board from a fresh SD card flash all the way to a working touch panel with live camera video. Key takeaways: Flashed a BSP image to the SD card with UUU and switched the board to SD boot. Connected the DSI panel correctly (FPC orientation, 5V power, and the required I2C link). Selected the matching device tree in U-Boot so the panel enumerates at 1024×600. Controlled backlight brightness, rotated the display in Weston, validated touch with evtest , and verified the camera path with GStreamer. Be sure to watch the module video above to see each step in action, and explore the rest of the FRDM-IMX95-PRO Training Hub for more hands-on modules.
查看全文
    FRDM i.MX 95 Pro · Hands-On Series GoPoint — Running Pre-Built Demos September 2026  |  FRDM i.MX 95 Pro Hands-On Series   Introduction Discover what your FRDM i.MX 95 Pro can do — right out of the box. This hands-on walks you through the full range of pre-built demo categories available through GoPoint on the FRDM i.MX 95 Pro board. From neural processing and machine learning to GPU-accelerated graphics, each demo showcases the real-world capabilities of NXP's i.MX 95 application processor — no custom code required. The hands-on covers the following topics: Launching GoPoint on the Weston desktop Exploring the available demo categories (NPU, ML, GPU) Running NPU demos with the Ara240 module Running ML and GPU demos By the end of this hands-on, you will be able to: Navigate the GoPoint interface on Weston Identify the available demo categories (NPU, ML, and GPU) Launch and run pre-built demos on your FRDM i.MX 95 Pro board Understand the hardware requirements for each demo type   Hardware & Prerequisites Before starting, make sure you have the following items ready: Required Hardware FRDM-IMX95-PRO board (booted from eMMC) HDMI display Mouse Keyboard USB camera Ara240 module (required for NPU demos) Optional Hardware EXPI-OS08A20 camera module — covered in the separate EXPI-OS08A20 Camera + ISP Pipeline hands-on Note: The board must be booted from eMMC with the pre-loaded BSP image before launching GoPoint. Ensure your display is connected via HDMI before powering on.   Watch the Hands-On Video A complete video walkthrough accompanies this hands-on. It demonstrates every step shown below — from opening GoPoint on Weston to running NPU, ML, and GPU demos live on the board. Watch it alongside the written steps for the best learning experience.   Steps to Run the Hands-On Follow the steps below to explore GoPoint and run the pre-built demos on your board. Step 1 — Launch GoPoint on Weston After the board boots into the Weston desktop environment, locate the GoPoint application icon on the desktop or in the application launcher. Click it to open the GoPoint demo browser. GoPoint provides a graphical interface that organises all available demos by category, making it easy to browse and launch them without any command-line interaction. Step 2 — Explore the Demo Categories Once GoPoint is open, you will see the main demo category tiles. The three primary categories available on the FRDM i.MX 95 Pro are: NPU Demos — Neural Processing Unit demos that leverage the Ara240 module for hardware-accelerated AI inference ML Demos — Machine learning demos running on the i.MX 95 application processor GPU Demos — Graphics Processing Unit demos showcasing GPU-accelerated rendering and compute Browse each category to see the individual demos available. Each demo tile shows its name, a brief description, and any special hardware it requires. Step 3 — Run NPU Demos (Ara240 Required) NPU demos require the Ara240 module to be attached to the board. Select any NPU demo from the GoPoint interface and click Run. GoPoint will automatically load the required AI model and launch the demo. The Ara240 module handles the neural network inference, delivering real-time results on-screen. Note: If AI/ML models are not yet present on the board, run the fetch_models command first (see the Troubleshooting section below). Step 4 — Run ML Demos ML demos run directly on the i.MX 95 application processor and do not require the Ara240 module. Select an ML demo from the GoPoint interface and click Run. These demos cover a range of machine learning use cases including image classification, object detection, and more. Step 5 — Run GPU Demos GPU demos showcase the graphics and compute capabilities of the i.MX 95's integrated GPU. Select a GPU demo from the GoPoint interface and click Run. These demos include GPU-accelerated graphics rendering and visual effects that highlight the board's multimedia performance.   Troubleshooting If you encounter issues while running GoPoint demos, use the table below to identify the symptom and the recommended action. Symptom What to Check Missing AI/ML models — demo fails to start or reports missing model files Fetch the required models using the commands below. Use --list to see available models and --repo-id to fetch a specific one: # List available models fetch_models --list # Fetch a specific model by repository ID fetch_models --repo-id Cannot download software requirements — network or SSL errors during model download The board's system clock may be incorrect, causing certificate validation to fail. Set the correct date and time, then retry: # Set the system date (replace with current date/time) date -s "MM/DD/YYYY HH:MM:SS" Board freeze — the board becomes unresponsive during a demo Reboot the board: reboot Corrupt download — a demo crashes immediately or shows unexpected errors after model download Remove the Python virtual environment ( venv ) for the affected demo and re-run it so GoPoint recreates a clean environment. The venv directory is located inside the demo's working folder. # Remove the venv of the corresponding demo, then relaunch it from GoPoint   Conclusion In this hands-on you explored the GoPoint application on the FRDM i.MX 95 Pro board and ran pre-built demos across three hardware-accelerated categories: Launched and navigated the GoPoint interface on the Weston desktop Ran NPU demos using the Ara240 neural processing module Ran ML demos on the i.MX 95 application processor Ran GPU demos showcasing the board's graphics capabilities Learned how to fetch AI/ML models and resolve common setup issues For a full visual walkthrough, watch the video in the Watch the Hands-On Video section above. To continue your learning journey, visit the FRDM i.MX 95 Pro Training Hub for the complete series of hands-on modules covering camera pipelines, connectivity, security, and more.
查看全文
Getting Started Video:     This guide provides step-by-step instructions on how to verify successful communication and the runtime software environment to interface with the Ara240 module with the FRDM i.MX 95 Pro development board.   Out of the Box:   Get Familiar with the Ara240 Module   Ara240 Module [Back view] Ara240 Module [Top view]                   Connecting the M.2 Module   This section explains how to connect Ara240, a discrete module, to the FRDM i.MX 95 Pro development board. The instructions in the FRDM i.MX 95 Pro Getting Start Guide will walk you through the boot-up process for the pre-loaded Embedded Linux image on the board and how to connect the USB debug cable. For additional details, see the official FRDM i.MX 95 Pro Development Board documentation. References: FRDM i.MX 95 Pro Quick Start Guide FRDM i.MX 95 Pro Development Board product page  FRDM i.MX 95 Pro Getting started page Getting Started with ARA2-M2-16G-GT Follow the steps below to connect the Ara240 module to the FRDM i.MX 95 Pro development board:   Important: Ensure the board is powered off before making any connections. Insert the Ara240 module into the M.2 Key-M socket on the FRDM i.MX 95 Pro development board. Using the screw provided, secure the module. Connect the fan cable to the board’s fan header (refer to the FRDM i.MX 95 Pro board documentation for the exact header location).   "How to connect two Ara240 devices?"   The figure below illustrates the connection of Ara240 devices to the two M.2 Key-M slots on the FRDM i.MX 95 Pro development board. You can install one Ara240 device in either slot or connect two devices simultaneously by using both slots.     Connect the Ara240 to the FRDM i.MX 95 Pro development board.       Power on the Board   Follow the instructions to power on (boot) the board found in the Getting Started with FRDM-IMX95-Pro. After powering on, verify that the fan and green LED indicators Ara240 module are on are on.       Get the Software   This section will walk you through the Ara240 Runtime software development kit (SDK), a streamlined subset of the Ara240 SDK designed for rapid enablement and execution on NXP platforms. The Runtime SDK simplifies installation and configuration, enabling developers to quickly deploy and run AI/ML workloads on the Ara240 module with minimal effort.   Overview   Refer to Ara240 software release notes for details on the Ara240 software development kit (SDK) The Getting Started page for Ara240 only outlines usage on specific i.MX development platforms For any other platforms please reach out to your NXP representative for guidance.       Q2'26 BSP (L6.18.20-2.0.0) onwards runtime environment for i.MX 8MP and i.MX 95 boards is packed with Linux BSP.       Module Enumeration and Software Configuration   This section provides instructions to verify proper installation of Ara240 module and configuration of the Ara240 Runtime SDK on the FRDM i.MX 95 Pro development board. Verify Device Detection   Once the board has successfully booted, connect to the serial debug port to monitor system logs. To confirm that the Ara240 module is being detected by the board, run the following command: $ lspci | grep 1e58   Expected output: 0000:01:00.0 Processing accelerators: Device 1e58:0002 (rev 02)     Enable Ara240 device   For quick enablement, the Ara240 Runtime SDK starts at boot time. Refer to the Ara240 Runtime SDK documentation for detailed instructions and environment setup steps.   Q2'26 BSP (L6.18.20-2.0.0) onwards runtime environment for i.MX 8MP and i.MX 95 boards is packed with Linux BSP.       Developer Experience   This section provides an overview of Ara240 runtime software enablement using the FRDM i.MX 95 Pro development board. Verify Setup Environment   Use the following guidance on how to connect required devices. For most of the demos, you would need a camera, keyboard, mouse, internet connection and a HDMI display monitor. Setup preparation for FRDM i.MX 95 Pro board    NOTE: You might need to use a USB hub to connect keyboard, mouse and camera at the same time.   Runtime setup Description   Runtime SDK delivers a complete runtime environment that enables AI/ML acceleration on the Ara240 module. To run demo applications, ensure that the Ara240 bring-up process has been successfully completed and the system is ready for demo evaluation. Refer to the Runtime SDK documentation for detailed guidance on: Verifying correct installation of the Runtime SDK. Checking and updating the Ara240 firmware version. Validating proxy service bring-up status. Executing benchmark tests on Ara240. Following these steps ensures that the module is properly initialized and ready for use. Ara240 supports the execution of CNNs, LLMs, VLMs, and agentic frameworks, enabling advanced AI workloads to run directly on Ara240. For comprehensive examples and end-to-end workflow guidance, please refer to the Ara SDK documentation page.   Ara240 Demos   Henceforth Q2'26 Linux BSP, GoPoint can be launched to explore preselected Ara240 demonstrations included in the NXP provided Linux Board Support Package. User Guide: GPNTUG: GoPoint for i.MX Applications Processors User Guide   
查看全文
In this lab we will first import the MCUXpresso SDK for the MCX W72 Freedom board into MCUXpresso IDE and then we will build, flash and debug the hello world project to make sure the environment is set for the following Labs  
查看全文
Introduction This hands-on walks you through connecting and running the EXPI-OS08A20 4K MIPI camera on the FRDM i.MX 95 Pro board. You will attach the camera over its flat-flex (FPC) cable, boot with the correct Image Signal Processor (ISP) device tree for your camera port, and stream live video through the i.MX 95 ISP pipeline. You will also record native 4K to a file and run two cameras at the same time, composited side by side on a single display. By the end of this hands-on you will be able to: Connect the EXPI-OS08A20 4K MIPI camera to the FRDM i.MX 95 Pro, including the correct FPC cable orientation. Boot with the correct ISP device tree for your camera port. Run a live preview through the i.MX 95 Image Signal Processor (ISP). Record native 4K video to a file. Run two cameras at once and composite them on one display.   Hardware & Prerequisites EXPI-OS08A20 camera module 22-pin FPC cable (MIPI CSI) FRDM-IMX95-PRO board HDMI monitor + cable USB-C PD power USB-C debug UART cable Host PC (serial console) Linux BSP 6.18.20-2.0.0 or latest   Watch the Module Video Watch the full hands-on walkthrough below, then follow along on your board. Steps to Run the Hands-On 1. Select the device tree for your camera port (U-Boot) At the U-Boot prompt, set the device tree file ( fdtfile ) that matches how the camera is wired, then save and boot. Choose the entry for your port: # --- U-Boot: select the device tree for your camera port --- # MIPI-CSI port: setenv fdtfile imx95-19x19-frdm-pro-os08a20-isp.dtb # DSI/CSI combo port: setenv fdtfile imx95-19x19-frdm-pro-os08a20-combo-isp.dtb # Dual camera (both ports): setenv fdtfile imx95-19x19-frdm-pro-dual-os08a20-isp.dtb saveenv ; boot 2. Select the ISP pipeline and list cameras (Linux) Once Linux is up, point libcamera at the NXP NEO ISP pipeline and confirm your camera enumerates: # --- Linux: select NXP NEO ISP pipeline, list cameras --- export LIBCAMERA_PIPELINES_MATCH_LIST='nxp/neo' cam --list 3. Run a Full-HD live preview # 1080p live preview gst-launch-1.0 libcamerasrc camera-name="${CAMERA0}" \ ! video/x-raw,width=1920,height=1080,format=YUY2 ! queue ! waylandsink 4. Record native 4K to a file (H.264) # Record native 4K to a file (H.264) gst-launch-1.0 -e libcamerasrc camera-name="${CAMERA0}" \ ! video/x-raw,width=3840,height=2160,format=YUY2 \ ! queue ! v4l2h264enc ! h264parse ! mp4mux ! filesink location=/home/root/os08a20_4k.mp4 5. Run two cameras on one display Both cameras run in a single GStreamer process, composited side by side with the G2D compositor: # Dual camera on ONE display (single process, G2D compositor) gst-launch-1.0 -v \ libcamerasrc camera-name="${CAMERA0}" ! video/x-raw,width=1920,height=1080,format=YUY2 ! queue ! comp.sink_0 \ libcamerasrc camera-name="${CAMERA1}" ! video/x-raw,width=1920,height=1080,format=YUY2 ! queue ! comp.sink_1 \ imxcompositor_g2d name=comp \ sink_0::xpos=0 sink_0::ypos=0 sink_0::width=960 sink_0::height=1080 \ sink_1::xpos=960 sink_1::ypos=0 sink_1::width=960 sink_1::height=1080 \ ! waylandsink   Troubleshooting Symptom What to check No camera detected Re-check FPC orientation and full seating. Use the DTB that matches your port. Set export LIBCAMERA_PIPELINES_MATCH_LIST='nxp/neo' and run cam --list to verify enumeration. Black / green preview Match the width, height, and format in your pipeline to a supported camera mode. Only 1 of 2 cameras shows Use the dual-camera DTB. Golden rule Power OFF the board before connecting any FPC cable.   Conclusion In this hands-on you: Connected the EXPI-OS08A20 and chose the right device tree for your port. Ran the camera through the i.MX 95 ISP pipeline. Saw a Full-HD live preview and recorded native 4K to a file. Ran two cameras at once, composited side by side. For the full walkthrough, watch the module video above, and explore the rest of the FRDM Training Hub for more FRDM i.MX 95 Pro hands-on modules.
查看全文
Introduction This hands-on shows you how to use the FRDM-EXPI-SAS adapter card to connect existing MiniSAS-based accessories to the FRDM-IMX95-PRO board. The adapter has two FPC ports, two MiniSAS ports, and a 10-pin header that exposes additional GPIO and power. It lets you attach a SerDes (GMSL2) camera module, a 4K HDMI adapter, and a Full-HD HDMI adapter to the board. You will build the accessory device trees from kernel source, boot with the SerDes device tree, and run multi-camera capture with HDMI output up to 4Kp30. By the end of this hands-on you will be able to: Identify the FRDM-EXPI-SAS adapter's ports and power rails (two FPC ports, two MiniSAS ports, GPIO/power header). Build the accessory device trees from kernel source and copy them to the board. Boot with the SerDes device tree matching your configuration. Run four cameras to a Full-HD display, four cameras to a 4K display, and eight cameras (dual SerDes) in a mosaic. Drive an HDMI display through the adapter's DSI path. Why This Matters / What It Enables The FRDM-EXPI-SAS adapter bridges the FRDM-IMX95-PRO board's FPC ports to standard MiniSAS connectors, so existing MiniSAS accessories — SerDes (GMSL2) camera modules, Full-HD and 4K HDMI adapters — can be reused with the board. This makes it practical to prototype multi-camera systems (4 or 8 cameras over serializer/deserializer links) with hardware-accelerated capture, compositing, and HDMI output on the i.MX 95 platform. Hardware & Prerequisites FRDM-IMX95-PRO board FRDM-EXPI-SAS converter board 22-pin FPC cables (x2) Dupont power cable MX95MBDES10001 Adapter Board Kit (MAX96724 deserializer, 4x GMSL2 cameras) IMX9-MIPI-HDMI4K (4K HDMI Adapter, LT9611UXC) IMX-MIPI-HDMI Adaptor Card (Full-HD Adapter, ADV7535) HDMI monitor and cable USB-C PD power + debug UART Watch the Module Video Watch the full hands-on walkthrough below, then follow along on your board. Steps to Run the Hands-On 1. Prepare the device trees (build & copy) The BSP image does not deploy the device trees for this accessory, so you build them from kernel source and copy them to the PRO board. The example tags and paths in angle brackets ( <...> ) are placeholders — substitute the values for your BSP release and board. # The BSP image does NOT deploy DTB for this accessory. # Build them from kernel source, then copy to the PRO board. # 1) Get the kernel source matching your BSP release git clone --depth 1 --branch <bsp-kernel-tag> --single-branch https://github.com/nxp-imx/linux-imx.git # 2) Source the toolchain (Yocto SDK) source /opt/fsl-imx-xwayland/<ver>/environment-setup-armv8a-poky-linux # 3) Compile the device trees make imx_v8_defconfig && make dtbs # 4) Copy the DTBs to the PRO board /boot scp arch/arm64/boot/dts/freescale/imx95-19x19-frdm-pro-adv7535.dtb \ arch/arm64/boot/dts/freescale/imx95-19x19-frdm-pro-adv7535.dtbo \ arch/arm64/boot/dts/freescale/imx95-19x19-frdm-pro-lt9611uxc.dtb \ arch/arm64/boot/dts/freescale/imx95-19x19-frdm-pro-lt9611uxc.dtbo \ arch/arm64/boot/dts/freescale/imx95-19x19-frdm-pro-ox03c10-combo.dtbo \ arch/arm64/boot/dts/freescale/imx95-19x19-frdm-pro-ox03c10.dtbo \ root@<board-ip>:/<boot partition>/ # 5) Generate DTB files from overlay files (for MIPI-HDMI and MIPI-4KHDMI) fdtoverlay -i imx95-19x19-frdm-pro-adv7535.dtb -o imx95-19x19-frdm-pro-adv7535-ox03c10.dtb imx95-19x19-frdm-pro-ox03c10.dtbo fdtoverlay -i imx95-19x19-frdm-pro-lt9611uxc.dtb -o imx95-19x19-frdm-pro-lt9611uxc-ox03c10.dtb imx95-19x19-frdm-pro-ox03c10.dtbo 2. Connect the adapter and select the device tree in U-Boot The adapter maps the PRO board's FPC ports to MiniSAS: the CSI-port MiniSAS carries the MIPI-CSI FPC and the DSICSI-port MiniSAS carries the MIPI-DSICSI FPC. Always connect or disconnect with the board powered off. With the accessory DTBs copied to the board, pick the use case and set fdtfile in U-Boot: # Adapter maps the PRO board's FPC ports to MiniSAS: # CSI-port MiniSAS <- MIPI-CSI FPC DSICSI-port MiniSAS <- MIPI-DSICSI FPC # Always connect/disconnect with the board POWERED OFF. # Copy the accessory DTBs to the board (not deployed by default), then: # --- Use-case 1: 4 cameras + Full-HD display --- # SerDes -> CSI-port ; Full-HD (ADV7535) -> DSICSI-port setenv fdtfile imx95-19x19-frdm-pro-adv7535-ox03c10.dtb ; saveenv ; boot # --- Use-case 2: 4 cameras + 4K display --- # SerDes -> CSI-port ; IMX9-MIPI-HDMI4K (LT9611UXC) -> DSICSI-port setenv fdtfile imx95-19x19-frdm-pro-lt9611uxc-ox03c10.dtb ; saveenv ; boot # --- Use-case 3: 8 cameras (dual SerDes) --- # SerDes #1 -> CSI-port ; SerDes #2 -> DSICSI-port ; HDMI -> PRO on-board HDMI setenv fdtfile imx95-19x19-frdm-pro-ox03c10-dual.dtb ; saveenv ; boot 3. Use-case 1 — 4 cameras to a Full-HD display Boot the Full-HD DTB, select the NXP NEO ISP pipeline, list cameras, then composite four cameras into a 2x2 layout: # Use-case 1: 4 cameras -> Full-HD display # DTB: imx95-19x19-frdm-pro-adv7535-ox03c10.dtb export LIBCAMERA_PIPELINES_MATCH_LIST='nxp/neo' cam --list gst-launch-1.0 imxcompositor_g2d name=comp \ sink_0::xpos=0 sink_0::ypos=0 sink_0::width=960 sink_0::height=524 \ sink_1::xpos=0 sink_1::ypos=524 sink_1::width=960 sink_1::height=524 \ sink_2::xpos=960 sink_2::ypos=0 sink_2::width=960 sink_2::height=524 \ sink_3::xpos=960 sink_3::ypos=524 sink_3::width=960 sink_3::height=524 ! \ waylandsink window-width=1920 window-height=1080 \ libcamerasrc camera-name=${CAMERA0} ! capsfilter caps=video/x-raw,format=YUY2 ! queue ! comp.sink_0 \ libcamerasrc camera-name=${CAMERA1} ! capsfilter caps=video/x-raw,format=YUY2 ! queue ! comp.sink_1 \ libcamerasrc camera-name=${CAMERA2} ! capsfilter caps=video/x-raw,format=YUY2 ! queue ! comp.sink_2 \ libcamerasrc camera-name=${CAMERA3} ! capsfilter caps=video/x-raw,format=YUY2 ! queue ! comp.sink_3 4. Use-case 2 — 4 cameras to a 4K display Boot the 4K DTB, select the NEO ISP pipeline, and list the cameras. Building the 4K composite pipeline is left as a hands-on exercise — adapt the Use-case 1 pipeline to your 4K display geometry. # Use-case 2: 4 cameras -> 4K display # DTB: imx95-19x19-frdm-pro-lt9611uxc-ox03c10.dtb export LIBCAMERA_PIPELINES_MATCH_LIST='nxp/neo' cam --list # Hands-on exercise 5. Use-case 3 — 8 cameras (dual SerDes) mosaic Boot the dual-SerDes DTB (HDMI goes to the PRO on-board HDMI), list the eight cameras, then composite them into a 4x2 mosaic: # Use-case 3: 8 cameras (dual SerDes) -> 4x2 mosaic # DTB: imx95-19x19-frdm-pro-ox03c10-dual.dtb | HDMI -> PRO on-board HDMI export LIBCAMERA_PIPELINES_MATCH_LIST='nxp/neo' cam --list # expect CAMERA0 .. CAMERA7 gst-launch-1.0 -v imxcompositor_g2d name=comp \ sink_0::xpos=0 sink_0::ypos=0 sink_0::width=480 sink_0::height=540 \ sink_1::xpos=480 sink_1::ypos=0 sink_1::width=480 sink_1::height=540 \ sink_2::xpos=960 sink_2::ypos=0 sink_2::width=480 sink_2::height=540 \ sink_3::xpos=1440 sink_3::ypos=0 sink_3::width=480 sink_3::height=540 \ sink_4::xpos=0 sink_4::ypos=540 sink_4::width=480 sink_4::height=540 \ sink_5::xpos=480 sink_5::ypos=540 sink_5::width=480 sink_5::height=540 \ sink_6::xpos=960 sink_6::ypos=540 sink_6::width=480 sink_6::height=540 \ sink_7::xpos=1440 sink_7::ypos=540 sink_7::width=480 sink_7::height=540 ! \ waylandsink window-width=1920 window-height=1080 \ libcamerasrc camera-name=${CAMERA0} ! capsfilter caps=video/x-raw,format=YUY2 ! queue ! comp.sink_0 \ libcamerasrc camera-name=${CAMERA1} ! capsfilter caps=video/x-raw,format=YUY2 ! queue ! comp.sink_1 \ libcamerasrc camera-name=${CAMERA2} ! capsfilter caps=video/x-raw,format=YUY2 ! queue ! comp.sink_2 \ libcamerasrc camera-name=${CAMERA3} ! capsfilter caps=video/x-raw,format=YUY2 ! queue ! comp.sink_3 \ libcamerasrc camera-name=${CAMERA4} ! capsfilter caps=video/x-raw,format=YUY2 ! queue ! comp.sink_4 \ libcamerasrc camera-name=${CAMERA5} ! capsfilter caps=video/x-raw,format=YUY2 ! queue ! comp.sink_5 \ libcamerasrc camera-name=${CAMERA6} ! capsfilter caps=video/x-raw,format=YUY2 ! queue ! comp.sink_6 \ libcamerasrc camera-name=${CAMERA7} ! capsfilter caps=video/x-raw,format=YUY2 ! queue ! comp.sink_7 Troubleshooting Symptom What to check Cameras don't show up Confirm the SerDes link-status LEDs are locked. Check the SerDes module's power. Check the FPC, MiniSAS, and Dupont cables are seated. Wrong / missing cameras Boot the DTB matching your configuration (4-cam vs 8-cam) and note which port carries the display adapter. A mismatched DTB is the most common issue. Before any pipeline Run export LIBCAMERA_PIPELINES_MATCH_LIST='nxp/neo' and cam --list to verify the camera count. Display adapter shows nothing Check it is on the correct port and use the matching display DTB. Conclusion In this hands-on you: Wired the FRDM-EXPI-SAS adapter. Connected a SerDes camera module. Drove an HDMI display through the adapter's DSI path. For the full walkthrough, watch the module video above, and explore the rest of the FRDM Training Hub for more FRDM-IMX95-PRO hands-on modules.
查看全文