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?
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?
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
Course Curriculum
-
StartProgramming : Enabling the Floating Point Unit (FPU) (18:00)
-
StartProgramming : Developing a UART Driver - Analyzing the Documentation (11:35)
-
StartProgramming : Developing a UART Driver - Listing out the steps (4:00)
-
StartProgramming : Developing a UART Driver - Implementing the Initialization functi (22:13)
-
StartProgramming : Developing a UART Driver - Implementing the Write function (5:39)
-
StartProgramming : Developing a UART Driver - Testing the Driver (6:39)
-
StartProgramming : Developing the System Timebase - Analyzing the Documentation (8:28)
-
StartProgramming : Developing the System Timebase - Implementing the Init. function (9:52)
-
StartProgramming : Implementing the rest of the timebase functions (12:15)
-
StartProgramming : Testing the timebase (5:34)
-
StartProgramming : System BSP- Listing out the required functions (7:55)
-
StartProgramming : System BSP- Implementing the LED driver (5:01)
-
StartProgramming : System BSP- Implementing the PushButton driver (4:00)
-
StartProgramming : System BSP- Testing (3:35)
-
StartProgramming : ADC Driver- Analyzing the documentations (5:21)
-
StartProgramming : ADC Driver- Listing out the steps (5:27)
-
StartProgramming : ADC Driver- Implementing the Init. functions (13:21)
-
StartProgramming : ADC Driver- Implementing the ADC Read function (14:05)
-
StartSource Code Download
Your Instructor
EmbeddedExpertIO represents a vibrant collective dedicated to the mastery of sophisticated embedded systems software development for professionals.
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.