# GUI tool for sending Cyphal command to Development board

**URL:** <https://forum.opencyphal.org/t/gui-tool-for-sending-cyphal-command-to-development-board/1973>\
**Category:** Libcanard\
**Created:** [August 30, 2023, 1:04pm UTC](https://forum.opencyphal.org/t/gui-tool-for-sending-cyphal-command-to-development-board/1973 "2023-08-30T13:04:36Z")\
**Posts on this page:** 10\
**Page:** 2

<div class="post-metadata">

**Author:** ![aentinger](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/aentinger/32/1428_2.png) [@aentinger](https://forum.opencyphal.org/u/aentinger)\
**Post date:** [September 7, 2023, 3:09am UTC](https://forum.opencyphal.org/t/gui-tool-for-sending-cyphal-command-to-development-board/1973/21 "2023-09-07T03:09:50Z")

</div>

The frequency of the crystal.connected to your MCP2515.

---

<div class="post-metadata">

**Author:** ![Kevin](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/kevin/32/1431_2.png) [@Kevin](https://forum.opencyphal.org/u/Kevin)\
**Post date:** [September 7, 2023, 3:14am UTC](https://forum.opencyphal.org/t/gui-tool-for-sending-cyphal-command-to-development-board/1973/22 "2023-09-07T03:14:41Z")

</div>

If I set

 ![image](https://forum.opencyphal.org/uploads/default/original/2X/e/e9f887d61bca71301514ea2744d15b13ef3c8611.png)  
And using these commands, the CAN frame can be received, and the bitrate is half of the rate being set to MCP2515, why is that?  
 ![image](https://forum.opencyphal.org/uploads/default/original/2X/8/8b1d58261778aec75d3cd070374438705e7dd950.png)  
Also, if I use this script, the device can’t be detected  
 ![image](https://forum.opencyphal.org/uploads/default/original/2X/9/92a01fab27e87c76af3d0f5720fd2e33a630fcea.png)

---

<div class="post-metadata">

**Author:** ![Kevin](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/kevin/32/1431_2.png) [@Kevin](https://forum.opencyphal.org/u/Kevin)\
**Post date:** [September 7, 2023, 3:23am UTC](https://forum.opencyphal.org/t/gui-tool-for-sending-cyphal-command-to-development-board/1973/23 "2023-09-07T03:23:56Z")

</div>

I changed the setup\_slcan to set the slcan0 bitrate to 125000, now The node can be detected, but I still have no clue why the bitrate is half of the speed being set in MCP2515

 ![image](https://forum.opencyphal.org/uploads/default/original/2X/f/f90e503e85e4e9d028a98d96137fd867bd362877.png)

---

<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:** [September 7, 2023, 7:26am UTC](https://forum.opencyphal.org/t/gui-tool-for-sending-cyphal-command-to-development-board/1973/24 "2023-09-07T07:26:43Z")

</div>

What is the frequency of the clock supplied to your MCP2515?

---

<div class="post-metadata">

**Author:** ![Kevin](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/kevin/32/1431_2.png) [@Kevin](https://forum.opencyphal.org/u/Kevin)\
**Post date:** [September 7, 2023, 7:38am UTC](https://forum.opencyphal.org/t/gui-tool-for-sending-cyphal-command-to-development-board/1973/25 "2023-09-07T07:38:49Z")

</div>

It is being set to 16MHZ

 ![image](https://forum.opencyphal.org/uploads/default/original/2X/2/26eac680dd89d0edce3d228af219cac29c3d0b43.png)

---

<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:** [September 7, 2023, 7:47am UTC](https://forum.opencyphal.org/t/gui-tool-for-sending-cyphal-command-to-development-board/1973/26 "2023-09-07T07:47:00Z")

</div>

No, I am asking about the hardware configuration. The symptoms suggest that the clock is not actually 16 MHz. Can you measure it directly?

---

<div class="post-metadata">

**Author:** ![Kevin](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/kevin/32/1431_2.png) [@Kevin](https://forum.opencyphal.org/u/Kevin)\
**Post date:** [September 7, 2023, 7:53am UTC](https://forum.opencyphal.org/t/gui-tool-for-sending-cyphal-command-to-development-board/1973/27 "2023-09-07T07:53:12Z")

</div>

> [@pavel.kirienko](#):
>
> Can you measure it directly?

I can’t really measure the frequency, but I can give you the configuration being set to the registers.  
These are the registers being set to CNF1 - CNF3

 ![image](https://forum.opencyphal.org/uploads/default/original/2X/9/9cf16172fe3d2d281c0ec8bdccd549b73c77bc3d.png)

---

<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:** [September 7, 2023, 7:58am UTC](https://forum.opencyphal.org/t/gui-tool-for-sending-cyphal-command-to-development-board/1973/28 "2023-09-07T07:58:25Z")

</div>

Try `250kBPS_8MHz`, that should fix the frequency problem.

---

<div class="post-metadata">

**Author:** ![Kevin](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/kevin/32/1431_2.png) [@Kevin](https://forum.opencyphal.org/u/Kevin)\
**Post date:** [September 7, 2023, 8:24am UTC](https://forum.opencyphal.org/t/gui-tool-for-sending-cyphal-command-to-development-board/1973/29 "2023-09-07T08:24:03Z")

</div>

Thank you! Now it works.

---

<div class="post-metadata">

**Author:** ![aentinger](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/aentinger/32/1428_2.png) [@aentinger](https://forum.opencyphal.org/u/aentinger)\
**Post date:** [September 7, 2023, 5:13pm UTC](https://forum.opencyphal.org/t/gui-tool-for-sending-cyphal-command-to-development-board/1973/30 "2023-09-07T17:13:06Z")

</div>

I sure love looking at screenshots of code written by myself 😜 .

[Previous page](https://forum.opencyphal.org/t/gui-tool-for-sending-cyphal-command-to-development-board/1973.md?page=1)
