EN / USD
173 Items
 Home
Blog
STM32 Serial Communication in Polling Mode
UART Communication in stm32, usart communication in stm32, stm32 usart, stm32 serial communication, stm32 uart, stm32 usart, polling mode in stm32, polling mode serial stm32
USART is the acronym for Universal Synchronous-Asynchronous Receiver-Transmitter, and is the advancement of the old UART that was unable to handle synchronous communications; in computers, it deals with the management of communication via the RS-232 interface. Generally, in the communication between devices, there is a transmitter and receiver that can exchange data bidirectionally, thus it happens for example in the communication between the microcontroller and third-party peripherals. What is Serial Communication? In serial communications, the transmitting device sends information (bitstream) through a single channel one bit at a time. Serial communications are distinguished from parallel communications where the bitstream is sent over several d ...
Blog
First Project using STM32 in STM32CubeIDE
Introduction to STM32 Microcontrollers, STM32 Family, STM32 Mainstream, STM32 Ultra-Low-Power, STM32 High-Performance, STM32 Wireless, The Nucleo Development Board, STM32 Nucleo-64 parts, STM32 Nucleo-64 connectors, Setting-Up the Tool-Chain, First Project in STM using STM32CubeIDE, Blinking LED, Steps to generate the config. files from STM32CubeMX, Creating a new STM32CubeMX project, User Code Blinking Led, Data type C programs
We will use for our examples STM32CubeIDE released by ST and completely free. STM32CubeIDE is a development tool and supports multi operative system (SO), which is part of the STM32Cube software ecosystem. STM32CubeIDE allows using a single platform to configure peripherals, to generate/compile/debug the code for STM32 microcontrollers and microprocessors. The framework used is Eclipse®/CDT, as tool-chain for the development is used GCC toolchain and GDB for the debugging. To start the project, you must first select the MCU and then initialize and configure the peripherals the user wants to use. At this point, the initialization code is generated. At any time, the user can go back and change initializations and configurations, without affecting t ...
Blog
Introduction to Nucleo Development Board
Introduction to STM32 Microcontrollers, STM32 Family, STM32 Mainstream, STM32 Ultra-Low-Power, STM32 High-Performance, STM32 Wireless, The Nucleo Development Board, STM32 Nucleo-64 parts, STM32 Nucleo-64 connectors, Setting-Up the Tool-Chain, First Project in STM using STM32CubeIDE, Blinking LED, Steps to generate the config. files from STM32CubeMX, Creating a new STM32CubeMX project, User Code Blinking Led, Data type C programs
To become familiar with the world of microcontrollers it is necessary to have a development board (also known as a kit), which generally allows you to start working on it easily. Fortunately, the ST provides a wide portfolio of development boards. In this guide, we will describe and use the Nucleo board. The Nucleo has been introduced a few years ago and its line is divided into three main groups: Nucleo-32; Nucleo-64; Nucleo-144. Nucleo-32 Development Board The number of pins available, so the package, gives the name to the board: Nucleo-32 uses an LQFP-32 package; Nucleo-64 and LQFP-64; Nucleo-144 an LQFP-144. The Nucleo-64 was the first line introduced and counts 16 different boards. The Nucleo boards have interesting advantages compa ...
Blog
Introduction to STM32 Family
Introduction to STM32 Microcontrollers, STM32 Family, STM32 Mainstream, STM32 Ultra-Low-Power, STM32 High-Performance, STM32 Wireless, The Nucleo Development Board, STM32 Nucleo-64 parts, STM32 Nucleo-64 connectors, Setting-Up the Tool-Chain, First Project in STM using STM32CubeIDE, Blinking LED, Steps to generate the config. files from STM32CubeMX, Creating a new STM32CubeMX project, User Code Blinking Led, Data type C programs
In this guide, we will explain step by step to start programming on the STMicroelectronics (STM) platform, especially the STM32 family. The term, "STM32" refers to a family of 32-bit microcontroller integrated circuits based on the ARM® Cortex®M processor. The architecture of these CPUs (Central Processing Unit) is ARM (Advanced Risk Machine) which is a particular family of Reduced Instruction Set Computing (RISC). RISC architecture differs from Complex Instruction Set Computing (CISC) for its simplicity that allows you to create processors capable of executing instruction sets with shorter times. Why use STM32? The advantages are many, and now we will list a part of them: ST offers a wide portfolio of solutions depending on the developer's nee ...
Blog
How to Increase EF Core Performance for Saving Multiple Entities?
How to Increase EF Core Performance for Saving Multiple Entities, savechanges vs bulksavechanges, bulksavechanges method, bulksavechanges ef core, ef core multiple data, ef multiple entities
Hello friends, I hope you all are doing great. In today's tutorial, we will have a look at How to Increase EF Core Performance for Saving Multiple Entities? EF Core works well for simple CRUD operations but for saving multiple entities EF Core provides poor performance. So, today we will use a third-party EF Core extension named "Z.EntityFramework.Extensions.EFCore", designed by ZZZ Projects, which will increase the EF Core performance significantly. I will be using a BulkSaveChanges Method of this library which is specifically designed for saving bulk data in an SQL database. ZZZ Projects is a trusted company and has designed numerous .NET libraries, a few having downloads in millions. So, you can completely trust this extension library. Here' ...
Blog
How to use IF Else in Python
How to use IF Else Statement in Python, if else in python, if else python, python if else, if python, pyton if
Hello friends, I hope you all are doing great. In today's tutorial, I am going to show you How to use IF Else in Python. It's our 5th tutorial in python series. In our previous lectures, we have covered the detailed Introduction to Python and then we have also discussed Data Types in Python & How to use Strings in Python. So, now it's time to move on a little further. In today's tutorial, we will cover If else statement in python and its not that difficult to understand but quite an essential one as its use a lot in programming projects. So, let's get started with How to use IF Else Statement in Python: How to use IF Else Statement in Python IF Else Statement in python takes a Boolean Test Expressio ...
Blog
How to use Arithmetic Operators in Python
Arithmetic Operators in Python, arithmetic operations python, python arithmetic operators, arithmetic operators python
Hello friends, I hope you all are ding great. In today's tutorial, I am going to show you How to use Arithmetic Operators in Python. It's our fourth tutorial in Python series. Arithmetic operators are required in mathematical problem solving. We will first have a look at the arithmetic operators and after that, we also discuss different builtin arithmetic functions in Python Math module. So, let's get started: Arithmetic Operators in Python Arithmetic operators ( +, -, *, /, ^ etc. ) are used to perform simple arithmetic operations in python. So, let's open up your PyCharm and perform a simple task using these operators, as shown in below figure: I used a single star for multiplication and a doub ...
Blog
How to use String in Python
String in Python, how to use strings in python, python string, string python, pythong string function, string functions in python, How to use escape sequences in python, Concatenation in python, string formatting in python
Hello friends, I hope you all are doing great. In today's tutorial, we will have a look at How to use String in Python. It's our 3rd tutorial in Python series. We have discussed strings in our previous lecture How to use Data Types in Python. String is a most commonly used data type in python that's why I have created a separate lecture on it. Python has many built-in string operations, which we will discuss today in detail. So, let's get started with String in Python: How to use String in Python String Data Type is used to store or collect one or more characters or sequence of characters, we can place any alphanumerical or special character in a string. Let's create a string in python, it has a simple syntax, as shown below: first_var = "He ...
Blog
How to use Data Types in Python
python datatypes, datatypes in python, datatypes python, data types python, data types in python, python data types, basics of datatypes
Hello friends, I hope you all are doing great. In today's tutorial, I am going to show you How to use Data types in Python. It's our 2nd tutorial in Python series. In our first tutorial, we have seen a detailed introduction to python and we have also installed PyCharm IDE to work on python. Today, we will understand data types in detail as in order to design an efficient program, you need to select correct data types. Incorrect selection may cause memory loss and may slow your application. So, let's get started with data types in Python: Data types in Python Data Types are used for the classification or categorization of similar data packets. There are numerous data types available in python, which we can use depending on our projects' requirem ...
Blog
Introduction to Python
Introduction to Python, python basics, getting started with python, python install, pycharm install, python, python uses, python advantages
Hello Engineers! Hope you all are doing great. In today's tutorial, I am giving you a detailed lecture on Python programming language. As I am writing this tutorial for beginners, that's why I will discuss each & everything in detail, so it's going to be a very lengthy tutorial and I have divided it in parts. We will start from basic concepts in Python and will slowly move towards advanced concepts. It's going to be a quite long bumpy ride but I will try my best to make it as smooth as I can. So, let's get started with basic Introduction to Python Language: Introduction to python Python is a multi-purpose, object-oriented High-Level Programming language, with applications in multiple areas, including scripting, machine learning, data scienc ...