# Yakut use serial 2 can

**URL:** <https://forum.opencyphal.org/t/yakut-use-serial-2-can/1239>\
**Category:** CLI tools (Cynic/Yakut)\
**Created:** [May 7, 2021, 11:12am UTC](https://forum.opencyphal.org/t/yakut-use-serial-2-can/1239 "2021-05-07T11:12:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cherish-forever](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/cherish-forever/32/802_2.png) [@Cherish-forever](https://forum.opencyphal.org/u/Cherish-forever)\
**Post date:** [May 7, 2021, 11:12am UTC](https://forum.opencyphal.org/t/yakut-use-serial-2-can/1239/1 "2021-05-07T11:12:13Z")

</div>

does yakut support SLCAN protocol ?  
I found that yakut send data to mcu by usb cdc, data protocol is not like slcan.  
here is I received:  
0x00, 0x01, 0x03, 0x04, 0x2a, 0x05, 0xff, 0xff, 0x55, 0x1d, 0x01, 0x01, 0x01, 0x01…0xaa  
and there is no char ‘\r’.

---

<div class="post-metadata">

**Author:** ![Cherish-forever](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/cherish-forever/32/802_2.png) [@Cherish-forever](https://forum.opencyphal.org/u/Cherish-forever)\
**Post date:** [May 7, 2021, 11:47am UTC](https://forum.opencyphal.org/t/yakut-use-serial-2-can/1239/2 "2021-05-07T11:47:17Z")

</div>

I found that pyuavcan has been changed protocol.  
[https://pyuavcan.readthedocs.io/en/stable/api/pyuavcan.transport.serial.html](https://pyuavcan.readthedocs.io/en/stable/api/pyuavcan.transport.serial.html)

---

<div class="post-metadata">

**Author:** ![pavel.kirienko](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/pavel.kirienko/32/9_2.png) [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Post date:** [May 7, 2021, 4:20pm UTC](https://forum.opencyphal.org/t/yakut-use-serial-2-can/1239/3 "2021-05-07T16:20:31Z")

</div>

The topic description suggests that you need UAVCAN/CAN, but the transport you referred to is UAVCAN/serial.

UAVCAN/CAN works on top of CAN (FD).

UAVCAN/serial works on top of UART, RS-4xx, USB CDC ACM, etc. **It has nothing to do with CAN at all.**

In order to use Yakut with SLCAN, you need to export **`UAVCAN __CAN__ IFACE="slcan:/dev/ttyACM0"`** (replace the serial port name as necessary). More info:

- [https://pyuavcan.readthedocs.io/en/stable/api/pyuavcan.transport.can.media.pythoncan.html](https://pyuavcan.readthedocs.io/en/stable/api/pyuavcan.transport.can.media.pythoncan.html)
- [https://pyuavcan.readthedocs.io/en/stable/api/pyuavcan.application.html#pyuavcan.application.make\_transport](https://pyuavcan.readthedocs.io/en/stable/api/pyuavcan.application.html#pyuavcan.application.make_transport)
