Embedded RFID/NFC Bare-Metal Development

Develop an STM32 SPI interface and MFRC522 library for reading and writing NFC cards.

About this course

This course connects RFID architecture and near-field communication to the MFRC522 reader and MIFARE cards. It covers card discovery, selection, and the command sequence for access.

You’ll write register-level reader routines, calculate the message CRC, and build examples that read card IDs, exchange data, and compare IDs in an access-control workflow.

Read moreShow less

Are you interested in learning how to develop RFID/NFC firmware applications from scratch?

NFC stands for Near Field Communication. This is how we do things like wireless payment cards, subway cards, bus cards etc.

So if you are interested in learning how to develop systems such these then take a look at our Embedded NFC Complete System Development pack.

This pack will take you from knowing nothing about RFID/NFC to building a complete NFC system that includes a robust firmware and modern desktop application with cloud connectivity.

This is how we are going to accomplish that.

The pack is made up of two courses.

The first course, Embedded RFID/NFC Bare- Metal Development can be broadly divided into a theoretical part and a practical part.

Embedded RFID/NFC Bare- Metal Development

In the theoretical part we focus on the following:

Theoretical Part

  • Understanding RFID and its working principles
  • Understanding the protocols and architecture of RFID
  • Understanding the standards and regulations around RFID
  • Understanding the working principles of Near Field Communication (NFC)
  • Understanding the differences between RFID and NFC
  • Understanding the various NFC card types and their merits
  • Understanding the memory organisation and access conditions of MIFARE cards

Practical Part

In the practical part we focus on the following:

  • Developing bare-metal drivers for interfacing the MIFARE MFRC522 NFC chips with the STM32 microcontroller
  • Developing a library for handling communications between NFC cards and readers
  • Developing a firmware application for controlling devices and triggering events using NFC cards and tags.

The Second course, NFC Desktop Application focuses on developing a modern desktop application for receiving NFC card data and storing the data in the cloud.

NFC Desktop Application Development

Key sections in this course include:

Python Essential Training

This section provides practical python essential training for embedded developers. This section is for developers who are not familiar with the python programming language and those who want to brush up on their python development skills.

Python GUI Development with Kivy

This section deals with developing modern GUI desktop application using python and the Kivy framework. In this section we learn how develop complete, packaged, and installable applications from scratch. We shall apply these skills later on to develop the front end of nfc system.

Firebase Realtime Database and Authentication

In this section we shall integrate user authentication and a realtime database to store the card information in a cloud database.

Developing the NFC Desktop Application

In this final section, we shall apply all that we learned do develop the NFC desktop application.

As always, no copy/paste. We write each line code from scratch.

What you’ll be able to do

Explain card and reader communication

  • Distinguish RFID concepts from the near-field communication used in the project.
  • Describe the roles of the STM32, MFRC522 reader, and MIFARE card.
  • Explain why an anti-collision procedure is needed before selecting a card.
  • Describe how the CRC helps detect transfer errors.
  • Explain the relationship between card selection, authentication, and reading or writing data.
  • Distinguish an identifier comparison from card-data access.

Build and verify NFC card operations

  • Configure SPI and the MFRC522 chip-select and reset lines.
  • Implement the reader’s register access and initialisation functions.
  • Detect a card and implement the anti-collision and selection sequence.
  • Calculate the CRC and exercise the card communication routines.
  • Authenticate a training card and read and write its data.
  • Read card identifiers and use a stored list to compare them in an application.

Course curriculum

 

Embedded RFID/NFC Bare-Metal Development

Develop a complete RFID/NFC Library for Wireless Applications

   Watch Promo

Are you interested in learning how to develop RFID/NFC firmware applications from scratch?

NFC stands for Near Field Communication. This is how we do things like wireless payment cards, subway cards, bus cards etc.

So if you are interested in learning how to develop systems such these then take a look at our Embedded NFC Complete System Development pack.

This pack will take you from knowing nothing about RFID/NFC to building a complete NFC system that includes a robust firmware and modern desktop application with cloud connectivity.

This is how we are going to accomplish that.

The pack is made up of two courses.

The first course, Embedded RFID/NFC Bare- Metal Development can be broadly divided into a theoretical part and a practical part.

Embedded RFID/NFC Bare- Metal Development

In the theoretical part we focus on the following:


Theoretical Part

  • Understanding RFID and its working principles
  • Understanding the protocols and architecture of RFID
  • Understanding the standards and regulations around RFID
  • Understanding the working principles of Near Field Communication (NFC)
  • Understanding the differences between RFID and NFC
  • Understanding the various NFC card types and their merits
  • Understanding the memory organisation and access conditions of MIFARE cards

Practical Part

In the practical part we focus on the following:

  • Developing bare-metal drivers for interfacing the MIFARE MFRC522 NFC chips with the STM32 microcontroller
  • Developing a library for handling communications between NFC cards and readers
  • Developing a firmware application for controlling devices and triggering events using NFC cards and tags.

The Second course, NFC Desktop Application focuses on developing a modern desktop application for receiving NFC card data and storing the data in the cloud.

NFC Desktop Application Development

Key sections in this course include:


Python Essential Training

This section provides practical python essential training for embedded developers. This section is for developers who are not familiar with the python programming language and those who want to brush up on their python development skills.


Python GUI Development with Kivy

This section deals with developing modern GUI desktop application using python and the Kivy framework. In this section we learn how develop complete, packaged, and installable applications from scratch. We shall apply these skills later on to develop the front end of nfc system.


Firebase Realtime Database and Authentication

In this section we shall integrate user authentication and a realtime database to store the card information in a cloud database.


Developing the NFC Desktop Application

In this final section, we shall apply all that we learned do develop the NFC desktop application.

As always, no copy/paste. We write each line code from scratch.





Frequently Asked Questions


When does the course start and finish?
The course starts now and never ends! It is a completely self-paced online course - you decide when you start and when you finish.
How long do I have access to the course?
How does lifetime access sound? After enrolling, you have unlimited access to this course for as long as you like - across any and all devices you own.
What if I am unhappy with the course?
We would never want you to be unhappy! If you are unsatisfied with your purchase, contact us in the first 30 days and we will give you a full refund.
Do I get a certificate?
Yes, after a successful completion of the course.

Course Curriculum


  Introduction to Radio Frequency Identification (RFID)
Available in days
days after you enroll
  Introduction to Near Field Communication(NFC)
Available in days
days after you enroll

Your Instructor


EmbeddedExpertIO™
EmbeddedExpertIO™

EmbeddedExpertIO represents a vibrant collective dedicated to the mastery of sophisticated embedded systems software development for professionals.

EmbeddedExpertIO stands as a premier source of tailored embedded systems development courses, catering to individuals and enterprises seeking to hone or acquire embedded firmware programming expertise. Our extensive course selections encompass beginner to advanced levels, addressing diverse facets of embedded systems development, such as WiFi, STM32, IoT systems design, memory safeguarding, and beyond.

Our core objective is to equip individuals and organizations with the indispensable skills to thrive in the swiftly evolving embedded systems sector. We achieve this by providing immersive, hands-on education under the guidance of seasoned industry specialists. Our ambition is to emerge as the favored learning platform for embedded systems development professionals across the globe.