---
title: "Discussion on \"Testing the CAN peripheral on the STM32F407 Discovery Kit in Loopback Mode\" | Hashnode"
description: "Discussion on \"Testing the CAN peripheral on the STM32F407 Discovery Kit in Loopback Mode\". Introduction\nHello!! 😄 Today we will explore the CAN peripheral available on the STM32F407 Discovery Kit. We will test it using the Loopback Operating mode, which is one of the Test modes. The purpose of this test is to ensure that the CAN periphera..."
url: "https://hashnode.com/posts/testing-the-can-peripheral-on-the-stm32f407-discovery-kit-in-loopback-mode/616d4d43f1f4c944cc6b340d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Testing the CAN peripheral on the STM32F407 Discovery Kit in Loopback Mode](https://ruturajn.hashnode.dev/testing-the-can-peripheral-on-the-stm32f407-discovery-kit-in-loopback-mode?utm_source=hashnode&utm_medium=feed)

Introduction Hello!! 😄 Today we will explore the CAN peripheral available on the STM32F407 Discovery Kit. We will test it using the Loopback Operating mode, which is one of the Test modes. The purpose of this test is to ensure that the CAN periphera...

Oct 18, 2021 · 14 min read · ruturajn.hashnode.dev  
Updated Jan 22, 2022  
Read the article

-   [#embedded](https://hashnode.com/tag/embedded)

## Written by

[Ruturaj A. Nanoti](https://hashnode.com/@RuturajN)

@RuturajN

  
[View profile](https://hashnode.com/@RuturajN)

Embedded Systems Enthusiast

I am a Second year Master's student, pursuing ESE. I am interested in Embedded systems and like developing applications using various development boards like the STM32F407 Discovery, Pi Pico, and Arduino.

## Responses 2

Markdown supported · ⌘↵ to post

[Rohit Kumar](https://hashnode.com/@rohitleo)

[Feb 16, 2024](https://hashnode.com/posts/testing-the-can-peripheral-on-the-stm32f407-discovery-kit-in-loopback-mode/616d4d43f1f4c944cc6b340d/comment/65cf3afe54d166f3b694749b)

can your share the whole code ?

[Ruturaj A. Nanoti](https://hashnode.com/@RuturajN)

[Feb 16, 2024](https://hashnode.com/posts/testing-the-can-peripheral-on-the-stm32f407-discovery-kit-in-loopback-mode/616d4d43f1f4c944cc6b340d/comment/65cf3afe54d166f3b694749b#reply-65cfc10d98b0ea4429aac099)

Hi, the link to the complete code is present at the end of the working principle section, and here it is just in case: [github.com/Ruturajn/CAN-Peripheral-Loopback-Test-…](https://github.com/Ruturajn/CAN-Peripheral-Loopback-Test-on-the-STM32F407-Discovery-Kit)

[Rohit Kumar](https://hashnode.com/@rohitleo)

[May 16, 2024](https://hashnode.com/posts/testing-the-can-peripheral-on-the-stm32f407-discovery-kit-in-loopback-mode/616d4d43f1f4c944cc6b340d/comment/65cf3afe54d166f3b694749b#reply-6645dc7019c3289385027332)

[Ruturaj A. Nanoti](https://hashnode.com/@RuturajN) Do you use uart protocol in for Can communicate. ?

[Rohit Kumar](https://hashnode.com/@rohitleo)

[May 16, 2024](https://hashnode.com/posts/testing-the-can-peripheral-on-the-stm32f407-discovery-kit-in-loopback-mode/616d4d43f1f4c944cc6b340d/comment/65cf3afe54d166f3b694749b#reply-6645e6229c97211868adf527)

[Rohit Kumar](https://hashnode.com/@rohitleo) Can you share the connection of board and logic analyzer.

[Sonal Suryavanshi](https://hashnode.com/@sonal202)

[Oct 28, 2023](https://hashnode.com/posts/testing-the-can-peripheral-on-the-stm32f407-discovery-kit-in-loopback-mode/616d4d43f1f4c944cc6b340d/comment/653d0f4f8bb1c48f931a2116)

Hi, Can you explain the Data field values you are getting in the screenshot.

[Ruturaj A. Nanoti](https://hashnode.com/@RuturajN)

[Nov 5, 2023](https://hashnode.com/posts/testing-the-can-peripheral-on-the-stm32f407-discovery-kit-in-loopback-mode/616d4d43f1f4c944cc6b340d/comment/653d0f4f8bb1c48f931a2116#reply-654710fd08e6f2d0c473b27f)

Hi, the Data field shows the values that are sent over the CAN bus (in hex format). I hope this helps. Let me know if you have any more questions.
