STM32 hardware multiplier - another difference from MSP430 hardware multiplier

Publisher:MysticJourneyLatest update time:2016-04-07 Source: eefocusKeywords:STM32 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
Anyone who has used MSP430 knows that it has a hardware multiplier and can be designed to perform simple FFT calculations, but it is a separate module that requires writing two multipliers and then getting the result from the result. Most of the time, we don't need to do this at all, just treat it as 51, and do soft multiplication, which is very time-consuming. These two MCUs do not embed the multiplier into the MCU core MUL instruction.

The STM32, including various processors using the Coretex M core, actually associates the hardware multiplier with MUL, so when you write a multiplication program calculation as usual, you are actually calling the multiplier. Fortunately, the STM32 can perform single-cycle multiplication and division, so it is dozens of times faster than software multiplication and division.

Keywords:STM32 Reference address:STM32 hardware multiplier - another difference from MSP430 hardware multiplier

Previous article:The relationship between ARM7, ARM9, ARM11 and ARM-Cortex
Next article:STM32 library function USART_SendData problem and solution

Recommended ReadingLatest update time:2024-11-15 07:21

stm32.cube (eight)——HAL configuration file
1. Generate configuration files There is a default configuration file stm32f1xx_hal_conf_template.h in the HAL header file directory. Before compiling the HAL code, copy this file to stm32f1xx_hal_conf.h and modify some macro definitions to modify the global configuration of HAL. 2. Configuration file contents 2.1 M
[Microcontroller]
STM32 DS18B20 code details
DS18B20 is the most commonly used to learn a new development tool. The programs are similar. The main thing is to pay attention to the delay in the timing and the correct instructions. Record them here!   ------------------The first part is--------ds18b20.h---------------------- #ifndef __DS18B20_H #define __DS18
[Microcontroller]
STM32 DS18B20 code details
STM32 ADC1_DMA
Revisiting an old ADC example is still very simple, but applying DMA to ADC is more practical. ADC Rule Data Register (ADC_DR) 0x4001244C /**************************************************************  ADC PB1_ADC9    ***************************************************************/ #include "STM32Lib\\stm32f1
[Microcontroller]
STM32 ADC1_DMA
A problem with STM32 SPI driving LCD screen
I encountered a very strange problem when debugging STM32 to drive the LCD screen through the SPI interface these two days. I drove the LCD screen on the development board, and the screen lit up normally and the functions operated normally. But when I transplanted the driver to our product, the screen would not light
[Microcontroller]
A problem with STM32 SPI driving LCD screen
STM32 study notes-timer interrupt
1. Introduction to STM32 general timer The general purpose timer of STM32 is a 16-bit auto-load counter (CNT) driven by a programmable prescaler (PSC). Using the timer prescaler and the RCC clock controller prescaler, the pulse length and waveform period can be adjusted from a few microseconds to a few milliseconds.
[Microcontroller]
STM32 study notes-timer interrupt
【STM32】Basic principles of PWM DAC (experiment: PWM implementation of DAC)
Although the STM32F103ZET6 has an internal DAC, it only has two DAC channels, and there are many other STM32 models that do not have DAC. Usually, a dedicated D/A chip is used to implement it, but this will increase the cost. However, all STM32 chips have PWM output, and there are many PWM output channels and rich r
[Microcontroller]
【STM32】Basic principles of PWM DAC (experiment: PWM implementation of DAC)
Understanding STM32 open-drain output and push-pull output
Every time I see a tutorial about stm32, it's all about turning on the LED light, and I think GPIO is very simple. In the car robot project of Maizhi Club, a latecomer, it encountered many setbacks and could not make any progress. To read ds18b20, it had to pull the bottom and pull the high; to write to the Oled scree
[Microcontroller]
Complete the HID application on stm32
This is a project of our company. In the past, we used the virtual serial port based on USB to communicate with the upper and lower computers. Because USB is usually only used for updating parameters and debugging and is not often used, there are reports that USB sometimes cannot connect to the STM32 controller. I alwa
[Microcontroller]
Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号