# Can uavcannode driver handle different publications/subscriptions for CAN1 and CAN2 independently?

**URL:** <https://discuss.px4.io/t/can-uavcannode-driver-handle-different-publications-subscriptions-for-can1-and-can2-independently/48857>\
**Category:** PX4 Autopilot\
**Created:** [April 18, 2026, 7:05am UTC](https://discuss.px4.io/t/can-uavcannode-driver-handle-different-publications-subscriptions-for-can1-and-can2-independently/48857 "2026-04-18T07:05:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kmert](https://discuss.px4.io/user_avatar/discuss.px4.io/kmert/32/21468_2.png) [@kmert](https://discuss.px4.io/u/kmert)\
**Post date:** [April 18, 2026, 7:05am UTC](https://discuss.px4.io/t/can-uavcannode-driver-handle-different-publications-subscriptions-for-can1-and-can2-independently/48857/1 "2026-04-18T07:05:04Z")

</div>

Hi everyone,

I have a specific architectural question regarding the uavcannode driver on a custom STM32-based board with dual CAN interfaces (CAN1 and CAN2).

My goal is to use the uavcannode driver, but I want to separate the data traffic between the two buses. Specifically, I want to know if it is possible to configure the driver so that:

- **CAN1** has its own specific set of publications and subscriptions.

- **CAN2** has a completely different set of publications and subscriptions.

From my current understanding, the driver treats CAN1 and CAN2 as a redundant pair, mirroring the same published messages on both interfaces.

Is there a built-in mechanism (such as applying an interface mask to specific publishers/subscribers) within the current uavcannode implementation to achieve this separation?

---

<div class="post-metadata">

**Author:** ![dakejahl](https://discuss.px4.io/user_avatar/discuss.px4.io/dakejahl/32/20420_2.png) [@dakejahl](https://discuss.px4.io/u/dakejahl)\
**Post date:** [April 20, 2026, 3:39am UTC](https://discuss.px4.io/t/can-uavcannode-driver-handle-different-publications-subscriptions-for-can1-and-can2-independently/48857/2 "2026-04-20T03:39:22Z")

</div>

The feature doesn’t exist but could be added. See the source code for UAVCAN\_ESC\_IFACE

---

<div class="post-metadata">

**Author:** ![system](https://discuss.px4.io/uploads/default/original/3X/7/3/73ce918bdcd64854de904f0c8d9ab70ca9723f2a.png) [@system](https://discuss.px4.io/u/system)\
**Post date:** [July 19, 2026, 3:40am UTC](https://discuss.px4.io/t/can-uavcannode-driver-handle-different-publications-subscriptions-for-can1-and-can2-independently/48857/3 "2026-07-19T03:40:00Z")

</div>

Closed on July 19, 2026, 3:40am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
