摘要
STM32系列单片机是目前国内应用非常广泛的嵌入式芯片之一。本文研究了两种高性能M7内核芯片STM32F767与STM32H750的高速脉冲产生方法。其中,采用了直接I/O口输出方式、定时器输出方式以及DMA方式三种操作方式,并实际测试了三种方式下的最高信号输出速率。实验结果表明,M7内核芯片主频高,不同芯片之间的工作主频有差异。而I/O口输出频率与主频有关,且与输出方式不完全一致。最后,总结了每种操作方式下高速脉冲输出的优缺点。
STM32 series single chip microcomputer is one of the most widely used embedded chips in China.Two high-speed pulse generation methods for high-performance M7 kernel chip STM32F767 and STM32H750 are studied.The direct I/O output mode,timer output mode and DMA mode are adopted,and the highest signal output rate under three modes is tested.The experiment results show that the main frequency of M7 kernel chip is high and the working main frequency between different chips is different.And the output frequency of the I/O port is related to the main frequency and is not completely consistent with the output mode.Finally,the advantages and disadvantages of high speed pulse output under each operation mode are summarized.
作者
苏睿恒
辛云宏
Su Ruiheng;Xin Yunhong(Shaanxi Normal University,Xi'an 710062,China)
出处
《单片机与嵌入式系统应用》
2021年第2期62-66,共5页
Microcontrollers & Embedded Systems