Welcome![Sign In][Sign Up]
Location:
Search - SPI-NSS

Search list

[SCMSTM32-SPI

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:

[SCMspi

Description: provides a description of how to set a communication between the two SPIs in full-duplex mode and performs a transfer from Master to Slave and then Slave to Master in the same application with software NSS management.
Platform: | Size: 9216 | Author: 朱兰凤 | Hits:

[SCMSPI1_2Com

Description: 本例展示了如何实现2个SPI之间的在全双工(full-duplex)模式下通信,通过NSS软件管理,实现了由主向从,接着又从向主发送数据。-This example is show the communication process between two spi of stm32 on EK-STM3210B-LK1 board.
Platform: | Size: 611328 | Author: 程保树 | Hits:

[SCMSTM32_SPI_NSS

Description: STM32_SPI_NSS问题的详细解释,看完就真正掌握SPI的NSS用法了-Detailed explanation of the STM32_SPI_NSS problem, read on to truly master the usage of SPI NSS
Platform: | Size: 154624 | Author: 永立 | Hits:

[SCMSPI

Description: 这个程序主要是讲解SPI总线。SPI(Serial Peripheral Interface--串行外设接口)总线系统是一种同步串行外设接口,它可以使MCU与各种外围设备以串行方式进行通信以交换信息。该接口一般使用4条线:串行时钟线(SCLK)、主机输入/从机输出数据线MISO、主机输出/从机输入数据线MOSI和低电平有效的从机选择线NSS(有的SPI接口芯片带有中断信号线INT、有的SPI接口芯片没有主机输出/从机输入数据线MOSI)。很多的芯片使用SPI进行通信,比如语音芯片等。掌握了基本的SPI总线的操作,对于操作那些芯片是非常简单的。-This program is mainly to explain the SPI bus. SPI (Serial Peripheral Interface- Serial Peripheral Interface) bus system is a synchronous serial peripheral interface, which allows MCU with a variety of peripheral devices in a serial manner to communicate to exchange information. The interface is generally used four lines: a serial clock line (SCLK), master input/slave output data lines MISO, master output/slave input data lines MOSI and active-low slave select lines NSS (some SPI interface chip with interrupt signal line INT, and some do not host SPI interface chip output/slave input data lines MOSI). Many chips use SPI communication, such as voice chips. Mastered the basic operations SPI bus operation for those chips is very simple.
Platform: | Size: 11264 | Author: 痞子赖 | Hits:

[SCMStm32Spi

Description: STM32的SPI串行外围总线接口,本程序,是将STM32的SPI配置为全双工模式,且NSS使用的软件模式。-SPI STM32 serial peripheral bus interface, this program is the SPI STM32 configuration for the full duplex mode, and the use of NSS software model.
Platform: | Size: 636928 | Author: 张俊 | Hits:

[Other Embeded programE19 (SX1278) STM8L Demo

Description: Compiler: IAR Embedded Workbench 7.3 MCU:STM8L101F3P6 Features: 1. TX, send a packet of data every 1s, wait for RX response, receive response, data on OLED is +1 2. RX, response is returned after receiving 1 packet of data, and the data on OLED is +1 SX1278 SPI: PB4 --- NSS PB5 --- SCK PB6 --- MOSI PB7 --- MISO SX1278 RST: PA3 --- RST SX1278 TXEN: PB3 --- TXEN SX1278 RXEN: PB2 --- RXEN SX1278 IO: PC0 --- DIO0 PC1 --- DIO1 PC2 --- DIO2 PC3 --- DIO3 PC4 --- DIO4
Platform: | Size: 232168 | Author: shadowhunter1 | Hits:

CodeBus www.codebus.net