找回密码
 立即注册

QQ登录

只需一步,快速开始

打印 上一主题 下一主题
开启左侧

[M251] Using QSPI with PDMA to Simulate PWM

[复制链接]
跳转到指定楼层
楼主
admin 发表于 前天 10:35 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Application
This example code uses M251 QSPI with PDMA to simulate PWM output signals.
BSP Version
M251_M252_M254_M256_M258_Series_BSP_CMSIS_V3.02.007
Hardware
NuMaker-M251SD-V1.1

This example code uses the M251 QSPI with PDMA to simulate PWM output signals.

Most MCUs (microcontrollers) come with built-in PWM interface, but if you need multiple PWM outputs, you may face a shortage of available channels. In such cases, if there are unused peripherals in your application, you can simulate PWM signals using those peripherals. This example code demonstrates the usage of the QSPI interface with PDMA to output PWM signals. PDMA is used in Scatter-Gather mode for continuous data transfer.

This example code does not require additional external hardware modules. If you need to observe the output signals, you can use devices such as an oscilloscope or logic analyzer to measure the output waveform.

You can download the sample code at EC_M251_QSPI_with_PDMA_to_Simulate_PWM_V1.00


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 顶 踩
牛卧堂
回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies |上传

本版积分规则

新唐MCU