Location:
Search - stm32 spi2
Search list
Description: 本例展示了如何实现2个SPI之间的在全双工(full-duplex)模式下通信,通过NSS软件管理,实现了由主向从,接着又从向主发送数据。
在本例程中,设置SPI1和SPI2为8bit数据帧,9Mbit/s传输速率。
在第一阶段,由主SPI1把SPI1_Buffer_Tx发送到SPI2,由从SPI2把SPI2_Buffer_Tx发送到SPI1。传输完成后,通过比较判断传输是否正确。
由于NSS管脚由软件管理,因此,可以在不改变硬件配置的情况下使SPI1由主变从,而SPI2由从变主。在第二阶段,由从SPI1把SPI1_Buffer_Tx发送到SPI2,由主SPI2把SPI2_Buffer_Tx发送到SPI1。传输完成后,通过比较判断传输是否正确。
在STM3210B-LK1上,如果以上4个传输都正确,则亮起LED1(LD4),否则亮起LED2(LD3)。-err
Platform: |
Size: 232448 |
Author: chen |
Hits:
Description: STM32 and communication with SD card through UART1 and SPI2
Platform: |
Size: 154624 |
Author: Vaclavpe |
Hits:
Description: stm32板子的编程,其中的头文件的编写,板子有很多功能-stm32 board programming, including the preparation of the header files, the board has many functions
Platform: |
Size: 2475008 |
Author: 徐慧 |
Hits:
Description: stm32 SPI2初始化命令,各种需要各工种供应。经测试通过控制SD卡-stm32 SPI2 initialization command, the various types of supply needs. Tested by controlling the SD card
Platform: |
Size: 2048 |
Author: 王利 |
Hits:
Description: STM32中SPI1/SPI2/SPI3的设置程序-the SP1/SP2/SP3 config program for STM32
Platform: |
Size: 2048 |
Author: lf |
Hits:
Description: STM32--硬件I2C主从机通讯,采用DMA方式进行通讯,SP1为从机,SPI2为主机-The STM32- hardware I2C master slave communication using DMA mode
Platform: |
Size: 1615872 |
Author: yezhengfang |
Hits:
Description: /*************** interface *******************
STM32VET6(SPI1) NRF24L01
PC4 -> CSN
PA5 -> SCK
PA6 <- MISO
PA7 -> MOSI
PC5 <- CE
PB0 <- IRQ
*********************************************/
开发环境:MDK4.22+固体库V3.5+J-Link仿真器+自行设计开发板
主处理器:STM32FVET6 ,使用硬件SPI1,如果需要用到SPI2或SPI3,修改相关配置即可
-STM32 NRF24L01 TX RX
Platform: |
Size: 18056192 |
Author: 小雄 |
Hits:
Description: STM32VET6(SPI1) CC1101
PA4 -> CSN
PA5 -> SCK
PA6 <- MISO
PA7 -> MOSI
PB0 <- GDO0
PC5 <- GDO1
经测试,收发成功,如果想换成SPI2或SPI3,只需要修改相关配置即可!
用的是标准固件库 V3.5,开发环境是MDK4.22+J-link
开发板,是自己设计的,如果有需要查看,可以联系本人
-STM32 CC1101 433MHz implement cc1101 receive and transfer it is ok on the test
Platform: |
Size: 9741312 |
Author: 小雄 |
Hits:
Description: STM32中的SPI1和SPI2进行通信,运行程序是把SPI1和SPI2相应的管教连接起来-STM32 in SPI1 and SPI2 communication of running program SPI1 and SPI2 discipline connected
Platform: |
Size: 1147904 |
Author: 周培黄 |
Hits:
Description: STM32 time3的捕获模式 应用 SPI2模块的应用-STM32 time3 capture mode application SPI2 module
Platform: |
Size: 2921472 |
Author: zhangye |
Hits:
Description: stm32 stm32F103ZET spi1和spi2 互相通信 dma方式 调试成功 V3.5库 寄存器操作-spi2 communicate with each other dma mode the stm32 stm32F103ZET spi1 and debugging success the V3.5 library register operation
Platform: |
Size: 7067648 |
Author: 飞天狐 |
Hits:
Description: 基于stm32直接操作寄存器方式的SPI1与SPI2通信。-Based the SPI1 SPI2 communication of the STM32 direct operation register by.
Platform: |
Size: 8192 |
Author: |
Hits:
Description: 基于STM32下的SP1与SP2的源码,包含所有库文件,可在MDK下运行-Based on the STM32 under SP1 and SP2 source
Platform: |
Size: 838656 |
Author: *** |
Hits:
Description: SD卡与stm32通过SPI2通信,SD卡的配置文件,库函数版本-SD card and stm32 communication via SPI2, SD card configuration files, library function version
Platform: |
Size: 8777728 |
Author: 孙杨 |
Hits:
Description: ADC芯片(Ads863X)驱动函数, 使用STM32 SPI2接口控制 -ADC chip (Ads863X) drive function, the use of STM32 SPI2 interface control
Platform: |
Size: 5120 |
Author: 逝水流 |
Hits:
Description: stm32f103vb(128k)的单片机驱动mp3解码芯片VS1003的keil mdk项目工程源码,用的是spi2驱动vs1003b芯片,整个工程测试过,亲自操作,可用,代码里面有注释,说明如何使用接口,如何连接接口,用的是微雪电子的vs1003 mp3 board 编译工程,生成hex下载就可以听到一段加州旅馆的音乐 -
this is a source code, a aproject for stm32f103vb(128k flash MCU),I use the stm32 MCU to drive the mp3 decode chip(VS1003b), hard ware is the MP3 board of weixue ltd. the project is compiled and tested with Keil MDK, it is ok. download the hex file to stm32f103vb, and the you will hear the music Hotel California
Platform: |
Size: 3136512 |
Author: 林端 |
Hits:
Description: 使用stm32制作的25系列flash芯片烧写器,上位机使用开源的flashrom,支持选择spi1和spi2,使用虚拟串口通讯,内部使用dma传输数据-Use stm32 produced 25 series flash chip programmer, PC using the open source flashrom, and support options spi1 spi2, using virtual serial communication, data transmission internal use dma
Platform: |
Size: 749568 |
Author: 钟继根 |
Hits:
Description: STM32 SPI2库函数版IO配置和初始化-STM32 SPI2 library function version of the operating
Platform: |
Size: 1024 |
Author: chenshan |
Hits:
Description: 由stm32f4系列的板子和enc28j60的网络模块搭建的简易的网页,实现一些简易的功能。(By stm32f4 series of boards and ENC28J60 network module to build a simple web page, to achieve some simple features.)
Platform: |
Size: 5534720 |
Author: csk18000
|
Hits:
Description: Grapes are grown on the trees.
Platform: |
Size: 2048 |
Author: 1111-and
|
Hits: