Home » Archives for saeed_ariankia

saeed_ariankia

Low layer library fourth Part: RCC (Clock control & reset)

In the third part of LL functions tutorial, we learned how to generate a simple project and microcontroller configuration. At the end we got the output code for Keil software and after compiling programed it on the microcontroller. If you remember when we approached to the RCC part and the settings of the Clock, skipped it and just did some configuration without knowing the reason. In this part of tutorial our aim is to discuss about the Clock and Reset… Read More »Low layer library fourth Part: RCC (Clock control & reset)

Low layer library third Part: Keil and STM32CubeMX

In the second part of STM32 tutorials with LL function we talked about the number of processor bits and its advantages and disadvantages as well as got familiar with the principle of configuration. In this part of the tutorial, we want to teach you the Keil and STM32CubeMX in LL function. Then we will create a project by this software and finally we write a simple code through Keil. We will program the board by a programmer practically.   STM32CubeMX… Read More »Low layer library third Part: Keil and STM32CubeMX

configuration methods

Low layer library second Part: configuration methods and function types

In the first part of training the STM32 with LL functions we talked about processor and microcontroller and mentioned the differences of them. In addition, we said that the ARM company is just the processor designer and we investigated three important types of microcontrollers precisely. At the end the ST microcontroller which is one of the users of ARM processor was introduced. If you remember ST company has two 8-bit and 32-bit microcontroller which the 32-bit type is our goal.… Read More »Low layer library second Part: configuration methods and function types

ARM Processor

Low layer library First Part: ARM processor

ARM(Advanced RISC Machine) ARM is a company as well as an architecture that only design its specific architecture but is not the manufacture or seller of a processor or microcontroller. This company just sells its designs certificate to other companies. In this article some companies which use this architecture are introduced and at the end a microcontroller from one of them will be chosen to training.   Types of ARM processor New generation of processors (Not all of them) of… Read More »Low layer library First Part: ARM processor

LL library

Low layer library

At first, we should answer to this question, what is the LL library in STM32? ST company provides users with a lot of tools to drive and develop software for their projects. LL library is one of these tools and the main feature of this library is proximity to the hardware layer and direct access to the microcontroller register so to use this library we need the knowledge about the hardware. LL library have these features:  A set of functions… Read More »Low layer library

RSA

RSA algorithm and the miracle of the prime numbers

During last weeks I was involved with encryption algorithms ranging from symmetric to asymmetric encryption algorithms, it is really complex and amazing world witch all of them are math basis. Already we talked about the importance of producing random numbers in previous article and tried to solve the problem through hardware design. If you want know about this article follow this link How to produce real random numbers? Random numbers play the fundamental role in producing encryption keys, the more… Read More »RSA algorithm and the miracle of the prime numbers

How to build the real random number!

Building the real random numbers When you try to build a game, encryption algorithm or other uses you may need to build the random numbers! You may think that it is not complex to make the random numbers or you call the RAND function or similar and then the project will be finished. But how much these numbers are random? Is the result repeatable? In this article we aim to challenge this subject so follow the Sisoog.   Why cannot… Read More »How to build the real random number!

How to build 4 channel RF remote controller

4 channel remote controller In the past article we described comprehensively about the code-learn remote control and how to decode the receive data, in addition the source code library based on EV15XX chip was published. The source code was written in C language for ATMEGA-8 microcontroller. The source code contained only the decode method and to build a real remote controller you must added your own code. In this article we learn how to build a real 4 channel remote… Read More »How to build 4 channel RF remote controller

All about software MP3 software decode by Microcontroller

Introduction In the past lecture we talked about the appearance of MP3 files and its advantages. In this part we are going to demonstrate how to decode and play a MP3 files. As it is mentioned before, a MP3 file by decoding and encryption reduces sound file versus WAV files. Each part of this decoding called frame. To have proper sound output, we should be able to unzip separated frames in appropriate time and to play the sound we should… Read More »All about software MP3 software decode by Microcontroller

Raspberry Pi without OS – Part 4

In the last articles, we described installing required software for compiling and ran the first program in the third article. In this part you learn how to install Eclipse compiler as an editor. This editor not only makes coding easy but also makes it interesting. It is still possible to write program in notepad or other simple editors, but readability and speed of writing is important. As the program gets bigger and sophisticate, it is tough to memorize names of… Read More »Raspberry Pi without OS – Part 4