2.4G Wireless Module NRF2401 Overview

2.4G Wireless Module NRF2401 Overview

The RF24L01+ operates in the 2.4~2.5GHz frequency band, features automatic retransmission, has 6 data transmission channels, and a maximum wireless transmission rate of 2Mbits. The MCU can access the chip’s registers for configuration via the SPI interface, enabling control of the module and the realization of wireless communication through this module. For specific details, refer … Read more

Design Principles: A Discussion on SPI and API

Design Principles: A Discussion on SPI and API

Author: Happy Framework Original: https://www.cnblogs.com/happyframework/p/3325560.html Background My first encounter with SPI was while reading “The Art of Software Framework Design”. Later, I gradually discovered this way of organizing code in JDBC and SpringBoot. Here, I present a thought process on why we should distinguish between SPI and API. Starting from interface-oriented programming We introduced an … Read more

Why UART Is Preferred for Embedded Debugging Over SPI and I2C

Why UART Is Preferred for Embedded Debugging Over SPI and I2C

Follow the blue text and reply “entry materials” to get a comprehensive tutorial from beginner to advanced on microcontrollers The development board will guide you, we will help you fly Written by | Wuji (WeChat: 2777492857) The full text is about1507 words, reading will take about 5 minutes I have been doing microcontroller development, but … Read more

STM32G4 TIM+SPI+DMA Application Example

STM32G4 TIM+SPI+DMA Application Example

Currently, there are STM32 users developing products using the STM32G474R chip, where TIM1 is used for power drive, with TIM1 operating in center-aligned counting mode. There is a demand to trigger external ADC device sampling at the moment indicated by the arrow in the figure below during each cycle of TIM1. After the ADC completes … Read more

Why Does SPI DMA Circular Reception Fail When CRC Is Enabled?

Why Does SPI DMA Circular Reception Fail When CRC Is Enabled?

Someone is using the STM32G4 internal SPI configured as a slave full-duplex mode, using DMA for receiving. When the DMA is configured to CIRCULAR mode, problems occur where data transmission results in CRC verification failures and reception anomalies. If the DMA transfer mode is configured to NORMAL, there are no issues, and the received data … Read more

Can MCU Access Non-Standard SPI Interfaces?

Can MCU Access Non-Standard SPI Interfaces?

Currently, many precision analog-to-digital converters (ADCs) have a Serial Peripheral Interface (SPI) or some form of serial interface to communicate with controllers, including Microcontroller Units (MCUs), DSPs, and FPGAs. The controller writes to or reads from the internal registers of the ADC and reads the conversion codes. The PCB wiring for SPI is simple, and … Read more

Understanding SPI in Android Componentization

Understanding SPI in Android Componentization

/ Today’s Tech News / On December 5, 2023, at 07:33, Galaxy Dynamics Aerospace Company successfully launched the Ceres-1 (Remote 9) rocket from the Jiuquan Satellite Launch Center (Mission Code: WE WON’T STOP). It successfully placed two satellites, Tianyan-16 and Xingchi-1A, into a 500km twilight orbit. This marks the first successful twilight orbit launch by … Read more

Understanding SPI, UART, and I2C Communication Protocols

Understanding SPI, UART, and I2C Communication Protocols

Introduction SPI (Serial Peripheral Interface), UART (Universal Asynchronous Receiver/Transmitter), and I2C (Inter-Integrated Circuit) are common serial communication protocols, each with unique characteristics in hardware interfaces and communication methods, suitable for different application scenarios. You can get a general understanding of these three communication protocols from the following diagrams: Next, we will introduce these three communication … Read more

Why Is Serial Communication So Popular? RS485, SPI, and I2C?

Why Is Serial Communication So Popular? RS485, SPI, and I2C?

1. Why Is Serial Communication So Popular? When working on microcontroller products, the most commonly used method is serial communication. For any microcontroller peripherals, the priority is to choose those with serial port functionality, such as Bluetooth modules, WIFI modules, 4G modules, electric meters, and displays. Why Is Serial Communication So Popular? Because it’s simple! … Read more

Why Add 22Ω or 33Ω Resistors to SPI Signal Outputs?

Why Add 22Ω or 33Ω Resistors to SPI Signal Outputs?

Click the blue text above to follow us The main reason for adding a 22Ω or 33Ω resistor in series when a microcontroller uses SPI to connect to a sensor or controller is to suppress reflections and ringing. 1 Principle of Reflection and Source Matching In high-speed digital signal transmission, when the signal driver (such … Read more