hml2016 / dji_rc Goto Github PK
View Code? Open in Web Editor NEWDJI遥控器驱动 DMA方式
DJI遥控器驱动 DMA方式
实验器材: 战舰STM32F103开发板V3版本 实验目的: 学习STM32 DMA功能的使用 硬件资源: 1,DS0(连接在PB5) 2,串口1(波特率:115200,PA9/PA10连接在板载USB转串口芯片CH340上面) 3,ALIENTEK 2.8/3.5/4.3/7寸TFTLCD模块(通过FSMC驱动,FSMC_NE4接LCD片选/A10接RS) 4,按键KEY0(PE4) 5,DMA(DMA1通道4) 实验现象: 本实验通过按键KEY0控制串口1以DMA方式发送数据,按下KEY0,就开始DMA传送,同时在LCD上面显示传送进度。 打开串口调试助手,可以收到DMA发送的内容。 注意事项: 1,4.3寸和7寸屏需要比较大电流,USB供电可能不足,请用外部电源适配器(推荐外接12V 1A电源). 2,本例程在LCD_Init函数里面(在ILI93xx.c),用到了printf,如果不初始化串口1,将导致液晶无法显示!! 3,电脑端串口调试助手波特率必须是115200. 4,请使用XCOM/SSCOM串口调试助手,其他串口助手可能控制DTR/RTS导致MCU复位/程序不运行 5,请用USB线连接在USB_232,找到USB转串口后测试本例程. 6,P4的PA9/PA10必须通过跳线帽连接在RXD/TXD上. ------------------------------------------------------------------------------------------- ◆其他重要连接: 开发板光盘资料下载地址(视频+文档+源码等):http://www.openedv.com/posts/list/13912.htm 添加微信公众平台方法:http://www.openedv.com/posts/list/45157.htm ◆友情提示:如果您想以后及时免费的收到正点原子所有开发板资料更新增加通知,请关注微信公众平台: 2种添加方法:(动动手提升您的学习效率,惊喜不断哦) (1)打开微信->添加朋友->公众号->输入“正点原子”->点击关注 (2)打开微信->添加朋友->输入“alientek_stm32"->点击关注 具体微信添加方法,请参考帖子:http://www.openedv.com/posts/list/45157.htm 正点原子@ALIENTEK 广州市星翼电子科技有限公司 电话:020-38271790 传真:020-36773971 购买:http://eboard.taobao.com 公司网站:www.alientek.com 技术论坛:www.openedv.com
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.