One computer for the whole robot: migrating the ADI AD-R1M to NVIDIA Jetson AGX Orin
Imagine telling a robot, “Go to the person with a green shirt,” and watching it recall where it saw them and navigate to their location. Bringing perception, understanding, and physical action together is at the heart of Physical Intelligence. That was the ambition behind a project built around ADI’s AD-R1M reference robot, a mobile robotics platform integrating motion sensing, motor control, power management, and software interfaces. A vision-language model (VLM), tuned using ADI AI Tools, a suite of tools for optimizing AI models for deployment on embedded hardware, would enable the robot to recognize and interpret its surroundings, with the immediate engineering challenge being to establish the computing and control foundation needed to bring that experience to life.
The AD-R1M reference configuration uses a Raspberry Pi 5, a compact single-board computer, to run robot control on ADI Kuiper Linux. Its drivers connect the sensors, motor drives, and battery system; Robot Operating System 2 (ROS 2) coordinates the software components and navigation. The starting project setup also used an NVIDIA Jetson AGX Orin platform, an edge AI supercomputer designed to run demanding perception and inference workloads. In this arrangement, the NVIDIA Jetson handled the AI application while the Raspberry Pi handled robot control.
The team wanted to move those control responsibilities away from the Raspberry Pi onto the Jetson AGX Orin, so perception, robot interfaces, and navigation could share one computing platform. The main objective was consolidation, not necessarily measured performance improvement. The critical question was whether the existing ADI sensor, power, and motor hardware, together with its Linux and ROS 2 software, would behave correctly when connected to a different host. That required more than moving application code: each physical interface, driver, and feedback path needed to be verified on the target system.

To make that ambition practical, the ADI robotics engineering effort first needed to prove that the existing hardware could communicate reliably with the new computer. The ADIS16470 inertial measurement unit (IMU) supplies motion data through Linux Industrial I/O (IIO); CANopen connects the motor drives and battery management; and the time-of-flight camera uses a USB network link. Each interface had to be checked before higher-level ROS 2 control and navigation could depend on it.
The foundation was ADI engineering knowledge made usable in software: the AD-R1M hardware and board guides, Linux IIO drivers, and the libiio and pyadi-iio libraries associated with ADI DataX™, supported by ADI and NVIDIA documentation and relevant open-source implementations. The team captured its findings as agent-readable skills in the robot repository (shown in Figure 2 as DataX agent skills), so the next integration starts from them. Claude was the AI assistant used to help organize research, draft the feasibility and wiring material, and examine problems. Engineers controlled the build, measured the hardware, and determined what constituted a verified result. The team also recorded gaps found in the resources for subsequent improvement.
The two AI roles were distinct. The vision-language model was intended to interpret the robot’s surroundings at runtime; AI-assisted engineering helped the team bring up the platform on which that application would run.

The team made significant progress toward bringing the robot's sensing, communications, and motion control onto a single computer. But moving from the Raspberry Pi to the Jetson AGX Orin exposed challenges that were not immediately apparent from the hardware specifications or software documentation. Resolving them would require a combination of ADI engineering resources, AI-assisted investigation, and direct verification
on the robot itself.

The new host needed to reach four ADI hardware elements over three types of interface. The ADRD4161 robotics carrier connects the ADIS16470 motion sensor and a serial-to-CAN interface; the ADRD5161 battery management system (BMS) manages power; and two ADRD3161 motor drives control the wheels. These connections mattered because the move to a different host changed the low-level interface behavior even though the robot hardware was retained.
Each part reaches the Orin by a different interface. The IMU uses SPI, a four-wire serial bus on the Orin's 40-pin header. The drives and the BMS share a CANopen bus running at 500 kbit/s. CANopen is a protocol layered on CAN, a robust two-wire bus. The drives also implement CiA 402, the standard state machine that every CANopen motion controller walks through before it will move a motor. The time-of-flight camera appears as a USB network device.
The Orin does not use its own CAN controller. It reaches the bus through a UART (universal asynchronous receiver-transmitter, a serial port) to a small microcontroller on the ADRD4161, which turns serial lines into CAN frames using the slcan protocol. The acceptance record confirms that the Orin's own CAN controllers are left unused, and the slcan daemon (slcand) exposes the UART to Linux as a network interface.
The serial link is configured for 2 Mbaud with hardware flow control, the settings the Raspberry Pi used, and the CAN side for 500 kbit/s. A separate loopback test at 2 Mbaud was skipped because the live bring-up against the ADRD4161 passed with these settings.

Before connecting the hardware, the team used Claude to assess whether ADI's IIO software stack could run on the NVIDIA Jetson AGX Orin. Drawing on ADI drivers, software repositories, and NVIDIA platform documentation, Claude produced a feasibility study that identified a viable migration path and the configuration requirements the engineers would need to address. The identified stack is the kernel Industrial I/O (IIO) subsystem, libiio and pyadi-iio from the ADI DataX™ software library that this pilot used.
The study confirmed that the driver already existed and set out the configuration path. Bench verification then exposed controller-level and wiring issues that a desk study could not predict.
The ADIS16470 driver is already mainline in Linux 6.8, and NVIDIA JetPack 7.2 is the first release line that supports the AGX Orin on that kernel. So the work was to enable the driver, rebuild, and add the sensor to the board's device tree, not to port a driver.
The study also ruled out a shortcut: Kuiper Linux had no Jetson image, so the team used the NVIDIA JetPack software stack as its base. Claude drafted the feasibility study from NVIDIA documentation, Linux kernel sources, ADI repositories, and Ubuntu package information supplied or available to the research process. The engineers reviewed its conclusions before proceeding.
Claude also drafted the wiring guide and connection diagram, and the engineers confirmed them against the boards. The guide carried several constraints that are easy to miss. The ADRD4161 carrier is powered by the battery management board, not by the Orin's header: feeding it from the header's 3.3 V or 5 V pins prevented the Orin from booting in a test. The header ground is the IMU's
only return path, so four header grounds are bonded to the carrier. And the full shield should not be mated onto the header for bench bring-up, so the needed signals are wired point to point.
The team then wrote an acceptance checklist in a fixed form: a command, the expected output and a pass condition for each interface the robot software would consume. It drew one line deliberately. The checklist tests the platform (hardware, drivers and runtime), not the ROS 2 software built on top. It could say whether each interface answered, but not why one did not.
The first four checks on the booted image read the release, the kernel, the IIO devices and the IMU's product ID:
1cat /etc/nv_tegra_release2uname -r3ls /sys/bus/iio/devicessudo4sudo cat /sys/kernel/debug/iio/iio:device0/product_id
The fourth check queried the IMU product-ID register, a direct test of whether the host and sensor could complete a valid exchange. The ADIS16470 should return 0x4056 (16470 in decimal) from register 0x72. Instead, the Linux driver repeatedly logged “product ID(0) do not match.” The zero indicated that the expected response had not been received, but did not by itself identify whether the fault was in the wiring, pin configuration, SPI controller, or driver. That question set up the investigation.
The acceptance checklist could say that the IMU did not answer; it could not say why. Engineers probed the signals with a logic analyzer while Claude helped analyze the documentation and the readings. The investigation moved through three layers: two real faults, with a round of elimination between them. Each fault looked like the whole problem until it was fixed.

Layer one was the pins. On the Orin, a boot-time firmware stage called MB1, not the operating system, decides what each header pin does. It was holding the four SPI pins as plain general-purpose input/output (GPIO) pins. The wires were connected but electrically dead: probing them during a read showed no clock at all.
A second table also overrode the first. The team edited both and pointed them at the right board variant, and a logic analyzer then showed a valid transaction. The driver still logged zero.
Layer two ruled out everything else, one cause at a time. A loopback test cleared the wiring, and power and ground were confirmed. A bare-bones tool that talked to the chip directly, without the standard driver, read its ID 160 times out of 160 and streamed live gravity. That cleared the sensor, cabling, power, clock rate and signaling, and moved suspicion to how the standard driver talks to the chip.
Two detours followed. A first theory held that the driver paused too long between the two parts of its read. A fix built overnight around it changed nothing, though it did narrow the fault to the shape of the read. Then a home-grown test kept reporting the sensor dead, which sent the team after power cycles, until they showed that the test itself read zero even on a healthy chip. The team's own summary was: trust the wire, not the test.
Layer three was the SPI controller. The "chip select" pin is the wire that selects the sensor for a transfer. The ADIS16475 driver reads in two transfers inside one message: the request, then a second transfer to clock out the answer. The NVIDA Tegra SPI controller driver released "chip select" between the two transfers and did not bring it back for the second, so the sensor was no longer selected and returned nothing.
NVIDIA's patch history showed that other Jetson users had hit the same kind of chip-select failure. NVIDIA's earlier fixes for it were already included in the JetPack kernel the robot was running, yet the sensor still failed. So the team wrote its own fix: chip select is driven from a GPIO, and the SPI driver re-asserts it for every transfer. That new fix was accepted into mainline Linux (kernel 7.3).
Layer four: Grounding. Even after the chip select fix, the sensor's data line behavior remained sporadic. Reads were non-deterministic, swinging from clean to dead on the exact same command within seconds. Wiring header GND pins 6, 9, 20, and 25 to the ADRD4161 resolved the instability. It reinforced a vital debugging rule: software faults repeat consistently, so erratic results across unchanged runs usually signal a hardware or physical contact problem.

The first fix to come to mind, holding "chip select" low for the whole message, turned out not to be a general one. The ADIS16470 pipelines its register reads: the answer to each request arrives during the next transfer, as the team's IMU engineer later reported on the NVIDIA developer forum. With "chip select" held continuously, two reads of the same register still look correct, because the stale answer is the same value. Reads across different registers return the previous register's data.
The correction the engineer submitted to the Linux kernel asserts the "chip select" GPIO for every transfer in a message, which keeps the frame breaks the sensor needs.
Over three days, the team worked through the possible causes, using AI to help interpret the technical resources and direct measurements to narrow the investigation until the underlying issue became clear. The acceptance record credits two more items: bonding four header grounds to the carrier, and a device-tree change that drives "chip select" from a GPIO. Its advice for a zero that returns or varies between reads is to bond more grounds first, then confirm the "chip select" fix is in the image.
The measurement itself is clear. On module p3701-0005 running Linux for Tegra (L4T) R39 revision 2.1 and kernel 6.8.12, the IMU appeared as device iio:device0 and its product ID read 16470 on three repeated reads. The vertical accelerometer read about 52.4 million raw counts, about 9.8 m/s² at the driver's scale, and the gyroscope responded to movement. Both results came through sysfs (the Linux file interface to devices) and through the pyadi-iio call the robot software would use.
Reading a register once was not the same as streaming data. The ROS 2 IMU node uses buffered reads. On the Orin those timed out with error -110 and an invalid checksum on every sample, because the Tegra SPI controller corrupts any transfer that holds "chip select" across more than one 16-bit word. The image's later kernel patches switch the driver to per-channel reads, which use the short transfer pattern already proven reliable, and a udev rule assigns the sensor's data-ready trigger. Without that rule, buffered reads time out while single raw reads still work.
With the IMU visible to the processor, the next question was whether the motor drives worked in the new architecture. The CAN path produced a run of smaller problems, each with a symptom, a cause and a recorded fix.
Issue | Description / fix |
Duplicate node ID | Both ADRD3161 drives ship at the same default CANopen node ID, 0x17, so only one appeared on the bus. Setting one board's ID switch to 110 made it node 0x16. |
Transmit queue overflow | The Python®-CANopen scanner sends 127 probes in a burst, which overflowed the slcan interface's default transmit queue of 10 frames and returned an ENOBUFS error (Linux's code for no buffer space). Raising the queue to 1,000 fixed it. |
Interface name clash | The image's stock startup script named the interface can0, which the Orin's own native CAN controller had already claimed, so the daemon died silently. The bench used the name slcan0. |
Adapter hang | The serial-to-CAN adapter hung after the drives were power cycled and needed a full reboot. |
Error-passive bus | The bus went error-passive (a CAN state reached after repeated transmit errors) when the host transmitted while the drives were unpowered, so the procedure became: power the drives first, then launch. |
With those cleared, all three CANopen nodes answered: the BMS at node 0x02 in Operational, and the drives at 0x16 and 0x17 in Pre-operational. A reset-all command made each node reboot and re-announce itself, which proved the transmit path as well as the receive path.
Both drives were then commissioned with the motor parameter file and walked through the CiA 402 states to Operation Enabled (statusword 0x37). On node 0x17 the shaft locked against a hand, so current was reaching the windings. But neither shaft turned.
The drives were accepting commands and generating holding torque, yet neither wheel would rotate. The initial acceptance record suggested that feedback was not selected correctly and identified drive tuning as the next task. That was a reasonable starting hypothesis, but the ROS 2 and platform teams needed to separate three possibilities: a command that never reached the drive, a controller that was not enabled, or a motor whose movement could not be measured.
A CAN capture settled the first two questions. The enable word and a velocity target of 2 rad/s reached the drive, which reported Operation Enabled and acknowledged the command. That CiA 402 state confirms the controller completed its enabling sequence; it does not confirm that the shaft turned. Position and velocity feedback remained at zero. The investigation therefore shifted from sending commands to understanding how the controller sensed rotor movement.

The drive's internal state read back as 50 motor pole pairs, an encoder of 40,000 steps, the encoder selected as the feedback sensor, a 19.8 V supply and no gate-driver errors. The drive firmware source showed why the selection mattered. On enable it forces commutation mode 5, closed-loop field-oriented control from the encoder, and a code comment notes that setups without that encoder are not yet supported.
Field-oriented control (FOC) uses the measured rotor angle to time current in the motor windings, allowing the stepper to operate with servo-like control. When the encoder signal does not change, the controller has no reliable indication that the rotor has moved. It can energize the windings and hold torque, or produce a twitch, without sustaining rotation. The firmware configuration therefore gave the team a specific testable question: was the encoder reporting movement?
With both drives disabled, the engineers turned each shaft by hand while monitoring the encoder counts. Neither count changed, even though the drive status indicated that the encoder inputs were enabled. The drive was configured to listen for feedback, but no pulses were arriving. That narrowed the fault to the signal path between the motor encoder and the drive input pins.
The platform team subsequently confirmed a miswired P16 connector in that path. After correcting it, the team reported closed-loop rotation. This later confirmation is distinct from the earlier detailed bench record, which established the fault through the unchanged encoder counts.
Before that wiring correction, the engineers also tested whether the motor and drive could rotate without relying on encoder feedback. They selected velocity mode, enabled the drive, then wrote commutation mode 3, field-oriented control in open-loop voltage mode, after enable and applied a target. Both motors turned. Node 0x16 completed more than two revolutions at a target of 500,000; node 0x17 completed three to four revolutions at 100,000 over 15 seconds. For these tests, speed in revolutions per second was approximately the target divided by 390,000, subject to the drive ramp limit of about 11 revolutions per second.
That rotation demonstrated that the command, power, and motor-output path could work independently of the missing encoder signal. The bench report also noted an important measurement boundary: in open-loop mode, reported position and velocity reflected the commanded values, not an independent shaft measurement. The engineers observed physical rotation separately and kept the test settings in volatile memory.
Checking the ADI drive firmware and supporting mode definitions also corrected the engineering handoff. The commutation-mode object is 0x2004, not 0x2500; the latter was a line number in the device-description file. Mode 3 is open-loop voltage, not open-loop current. The drive team subsequently confirmed this against the TMC9660 Parameter Mode Reference Manual (Rev. 1, Table 36), which identifies mode 4 as open-loop current. A later drive skill still used the earlier description, and the drive team was correcting it.
A separate ROS 2 integration issue concerning controller switching. The velocity command reached the drive, but switching controllers at runtime failed because the CANopen driver rejected a request to switch into the mode already active. The controller was therefore selected at launch.
The investigation also identified three robot-software settings requiring correction: the right drive was configured as node 0x14 rather than 0x17; a velocity-scale digit error would command wheels approximately 4.2% too fast; and the configured wheel separation was 0.29 m, compared with 220 mm in the platform specification, a dimension still to be measured. These findings define the next integration checks without changing the motor and encoder results established above.
The AI-assisted workflow is most visible in the engineering artifacts already encountered: a feasibility study grounded in ADI and NVIDIA sources, a wiring guide checked against the actual boards, and investigation notes linked to acceptance tests. Claude provided the conversational working environment, but the engineering value came from the ADI hardware knowledge, software implementations, partner documentation, and open-source source code it helped the team apply. The engineers retained authority over architecture, physical tests, corrections, and acceptance.
The resulting documentation also preserved how the team’s understanding changed. In the IMU investigation, direct measurements distinguished a silent sensor from an incorrect test and exposed the chip-select behavior. In the motor investigation, the original tuning explanation gave way to an encoder signal-path fault after firmware inspection and hand-turn tests. Those corrections are part of the evidence, not merely a record of troubleshooting.
The following table outlines the distinction between AI-supported work and the actions and decisions performed by engineers.
Area | AI contribution | Engineer responsibility |
Source material | Worked from ADI DataX documentation, board guides, NVIDIA platform documentation and kernel sources supplied by the engineers | Chose the target architecture and resources; supplied the documentation |
Wiring guide | Drafted the feasibility study and the wiring guide and connection diagram | Confirmed the study and the wiring against the boards, and built to it |
Diagnosis | Assisted the analysis of the documentation and the observed results | Probed signals, ran loopback and direct-read tests, turned shafts by hand, read drive state |
Acceptance checks | Notes from the Claude sessions are cross-referenced in the acceptance procedure | Ran the acceptance checks and recorded pass, partial and not-run results |
Fixes and sign-off | Drafted candidate fixes and the upstream patch | Chose fixes, submitted the kernel patch, decided what counted as a pass |
The table records bench measurements on one Jetson AGX Orin with the retained ADI boards. Conditions and software versions are kept beside each result; calendar dates are omitted where they do not change the interpretation, while the sequence of early acceptance tests and subsequent diagnosis remains clear.
Evidence | Reported result | Test conditions |
Boot image | L4T R39 revision 2.1, kernel 6.8.12-1021-tegra | Module p3701-0005 |
IMU product ID | 16470 on 3 of 3 reads | debugfs read through the adis16475 driver |
IMU at rest | Vertical axis about 52.4 million raw counts (about 9.8 m/s²); gyroscope responds to movement | sysfs and pyadi-iio |
Direct sensor reads | ID read 160 of 160, live gravity | Bare-bones tool, before the driver fix |
CAN enumeration | 3 nodes: BMS 0x02 Operational, drives 0x16 and 0x17 Pre-operational | slcan at 500 kbit/s after the node ID and queue fixes |
Drive state | Both drives to Operation Enabled (0x37); holding torque by hand on 0x17; no rotation | CiA 402 profile velocity |
Encoder hand-turn test | Count unchanged on both drives |
Together, these results establish a working foundation for the migrated platform: validated sensor reads, CAN communications, a responding depth-camera link, and observed open-loop motor rotation. The detailed acceptance tests precede the team’s later report of an encoder repair and closed-loop rotation, for which a matching test log was not included in the source record. The NVIDIA container runtime was configured, while GPU execution inside a container remains a separate verification step. Keeping these milestones distinct makes the next integration work easier to assess.
The platform migration established an important foundation for the AD-R1M’s intended experience. On the Jetson AGX Orin, the retained ADI hardware delivered IMU data, CAN communication, and a working time-of-flight connection after targeted software and configuration corrections. The assembled robot could be teleoperated, and bench testing demonstrated open-loop motor rotation. The team subsequently reported closed-loop motion after repairing the encoder signal path.
ADI hardware knowledge, driver implementations, and documentation made the interface behavior inspectable. Claude helped the team work through that material and develop supporting engineering artifacts, while the engineers checked the conclusions against registers, waveforms, and shaft movement. The result was a more clearly understood platform boundary, with measured progress and remaining integration work kept separate.
The next engineering opportunity is to connect that verified platform behavior to the full ROS 2 control and navigation stack, confirm closed-loop motion with reproducible evidence, and then integrate the perception and vision-language experience. Each step can build on the same discipline: establish the expected behavior, test the real interface, and let the result determine the next decision.
Start with the robotic experience you want to create and identify what the system must sense, interpret, and do reliably. Use the AD-R1M hardware and software resources, relevant NVIDIA platform guidance, and the documented interface checks to define the behavior expected at each boundary. Then apply AI-assisted engineering to explore the available resources, test the actual system, and refine an application of your own.
Bringing perception and robot control onto a common computing platform shows how reusable engineering resources, AI assistance, and physical verification can work together. Explore Project Solas for more worked examples and ADI resources that can help you bring the same approach to a different engineering challenge.
This worked example is part of Project Solas, ADI’s work to make engineering resources easier for AI to discover and apply. It follows an engineering challenge from the initial ambition through the technologies, decisions, and tests that shaped the result. The approach and lessons offer ideas for bringing AI-assisted engineering into your own products and workflows.
Drives disabled
Open-loop rotation | 0x16 more than 2 rev at target 500,000; 0x17 3 to 4 rev at 100,000 over 15 s; telemetry reports commanded values | Commutation mode 3 (open-loop voltage) written after enable; RAM only
|
Time-of-flight camera link | 2 of 2 pings, 0% loss, 0.7 to 2.4 ms | USB network link |
Container GPU runtime | NVIDIA set as default runtime; GPU inside a container not tested | NVIDIA CUDA and GPU support in the custom firmware marked done in the; a GPU-in-container test was not run |