09 2015 档案
摘要:/** 说明:SPI通讯实现* 方式一: 同时发送与接收实现函数: SPI_Transfer()* 方式二:发送与接收分开来实现* SPI_Write() 只发送* SPI_Read() 只接收* 两种方式不同之处:方式一,在发的过程中也在接收,第二种方式,收与发单独进行* Created on: ...
阅读全文
posted @ 2015-09-30 09:35
苏博
摘要:Adding Flexcan driver support on KernelOn kernel menuconfig, add the following items:[*] Networking support ---> CAN bus subsystem support ---> Raw ...
阅读全文
摘要:1:配置管脚为SPI功能 在board-mx6q_sabresd.h的最后添加,复制被重定义 (以添加SPI2为例) [cpp] view plaincopy <span style="font-size:18px;"> MX6Q_PAD_EIM_CS0__ECSPI2_SCLK, MX6Q_PAD
阅读全文
posted @ 2015-09-25 10:14
苏博