Welcome![Sign In][Sign Up]
Location:
Search - spi program circuit

Search list

[SCM2150+PIC12C67X

Description: 用PIC单片机模拟SPI功能与CAN控制器实现CAN通信的的一种方案。里面有实际电路和源程序。-PIC simulation using single-chip CAN controller with SPI functions realize a CAN communications program. Inside the circuit and have the actual source.
Platform: | Size: 229376 | Author: Jason | Hits:

[Embeded-SCM DevelopSPI_LED

Description: SPI接口实险,LED数据管显示 1、程序通过SPI接口输出数据到HC595芯片驱动LED数据管简单显示。 2、内部1 M晶振,程序采用单任务方式,软件延时。 3、进行此实验请插上JP1的所有8个短路块,JP6(SPI_EN)短路块。-SPI interface is dangerous, LED data display 1, the program output data through the SPI interface to the HC595 chip data-driven pipe simple LED display. 2, internal 1 M crystal, procedures using single task mode, the software latency. 3, to conduct this experiment JP1 plug in all the eight short-circuit block, JP6 (SPI_EN) short-circuit block.
Platform: | Size: 10240 | Author: 浮草 | Hits:

[Other200691112542075567

Description: SPI接口实险,LED数据管显示。 1、程序通过SPI接口输出数据到HC595芯片驱动LED数据管简单显示。 2、内部1 M晶振,程序采用单任务方式,软件延时。 3、进行此实验请插上JP1的所有8个短路块,JP6(SPI_EN)短路块。-SPI interface is dangerous, LED data display. 1, the program output data through the SPI interface to the HC595 chip data-driven pipe a simple LED display. 2, within 1 M crystal, single-task approach procedures, software delay. 3, to carry out this experiment JP1 plug in all the eight short pieces, JP6 (SPI_EN) short-circuit block.
Platform: | Size: 8192 | Author: 黄娇娇 | Hits:

[Embeded-SCM Developmax7456

Description: max7456是美信的一颗OSD芯片,比NEC的6450,6453,功能强大,程序电路却简单了很多,本程序有对MAX7456的操作,用的是STM32的ARM7,硬件的SPI-max7456 is beautiful letters an OSD chip, compared with NEC' s 6450,6453, and powerful, the program has a simple circuit a lot, this program has on the MAX7456 operation, with the STM32' s ARM7, hardware SPI
Platform: | Size: 3072 | Author: lichuang | Hits:

[SCMsinglechip

Description: 139个单片机源代码程序和仿真图(DSN),用proteus仿真,学习单片机绝佳的程序。例如:《lcd1602仿真实例》、2io5键盘模拟音量数码管显示、4线步进电机控制、8通道自动温度检测系统仿真(含原程序)、32X16LED汉字点阵显示屏(atmega16)、32x16汉字、DS18B20仿真实例、PWM电机正反转、PWM调温、SPI演示文件两个595对接、ULN2803、播放音乐、代码大全中文版[1]、单片机控制的电动自行车驱动系统、单片机实验29个、俄罗斯方块、刚做好的十个字的led屏模拟有程序、搞得一个温湿度传感器电路、混合电压系统设计、基于PROTEUS的推箱子游戏、流水灯-139 microcontroller source code program and simulation diagram (DSN), with proteus simulation, learning microcontroller excellent program. For example: "lcd1602 simulation of real- Cases ", 2io5 keyboard analog volume digital tube display, 4 wire stepper motor control, 8-channel automatic temperature detection system simulation (including the original program), 32X16LED character dot-matrix display (atmega16), 32x16 characters, DS18B20 simulation example, PWM motor positive inversion, PWM thermostat, SPI presentation files 2 595 docking, ULN2803, music, code complete Chinese version [1], microcontroller-controlled electric bicycle drive system, single-chip experiment 29 Months, the Russian box, just do a good job in 10 words led screen simulation of process gets to a temperature and humidity sensor circuit, mixed-voltage system design, based on the PROTEUS the Sokoban game, water lights ... ...
Platform: | Size: 21815296 | Author: tong | Hits:

[Other05-Neuronal-Signaling---the-Synapse-(Giffin)

Description: Includes ST Microelectronics STM32F103RET6 Microcontroller with 512kb Internal Flash Program Memory 32-Bit ARM Cortex M3 Processor Bit running at 72MHz or 90 MIPS Direct In-Circuit Program Download with RS-232 Connection Up to 48 I/O points 16 Channels 12-Bit A/D Converters 2 Channels 12-Bit D/A Converters 1 CAN Channel 5 USARTS and 2 I2C Ports, together with SPI
Platform: | Size: 14916608 | Author: gosho | Hits:

[ARM-PowerPC-ColdFire-MIPSADC

Description: 3.A/D程序设计与电路仿真 通过AD对外部电压进行AD采样,然后利用SPI接口对采样回来的数据进行显示,并将转换结果通过UART发给上位机进行显示。 首先设置需要显示的数组,使用PINSEL0、PINSEL1寄存器设置串口0的连接端口,使用IO0DIR设置74HC595的控制口,初始化串口0,使用U0LCR、U0DLM、U0DLL、U0LCR寄存器设置波特率,初始化SPI接口,设置SPI的时钟分频、接口模式。 其次对ADC模块进行设置,通过移位设置寄存器ADCR选择通道0,设置转换时钟,利用软件进行转换操作,使用时钟转换,工作模式为非掉电转换模式、非测试模式、直接启动ADC转换,使用引脚下降沿触发ADC转换,读取ADC结果,并清除DONE标志位,切换通道并进行第一次转换,等待转换结束,然后再次启动转换,读取ADC的结果,从串口中输出结果,分别输出个位、十位、百位、千位数据。 -3. A/D circuit simulation program design and the external voltage through the AD AD sampling, and then come back using the SPI interface of the sampling data show, and the conversion results sent to the host computer via the UART for display. First set the array needs to be displayed, use PINSEL0, PINSEL1 register set the serial port 0, use the control port IO0DIR set 74HC595, initialize the serial port 0, use U0LCR, U0DLM, U0DLL, U0LCR register set the baud rate, initializing the SPI interface, set SPI clock frequency, interface mode. Second, the ADC module settings, through the shift register ADCR select channel 0 setting, set the conversion clock, use software to convert, use the clock conversion, down conversion mode for non-operating mode, non-test mode, direct start ADC conversion, the use of pin falling edge trigger ADC conversion, read the ADC result and clears the DONE flag, switch channels and make the first conversion, waiting for the end of conversion, and then start the co
Platform: | Size: 129024 | Author: 宋喜佳 | Hits:

[ARM-PowerPC-ColdFire-MIPSSPI

Description: 5. SPI程序设计与电路仿真 SPI是全双工的同步串行接口,一根SPI总线可以连接多个主机和多个从机,但是在同一时刻只允许有一个主机操作总线。在数据传输过程中,主机总是向从机发送一个字节的数据,而从机也是总是向主机发送1个字节数据(主机通过MISO接收数据)。 定义74HC595片选端口,通过PINSEL0、PINSEL1寄存器设置SPI引脚接口,通过设置IO0DIR驱动74HC595的接口,初始化SPI接口,发送显示数据,片选清零寄存器,等待SPIF置位,等待数据发送完毕。使用while循环,发送数据显示数据,运用延时程序使显示更加稳定易用。 -5. SPI program design and circuit simulation SPI is a full duplex synchronous serial interface, an SPI bus can connect multiple hosts and multiple slaves, but at the same time allowing only one host operating bus. During data transfer, the master to the slave always sends a byte of data, but also the slave always sends a byte to the host data (host via MISO receives data). Definition 74HC595 chip select port via PINSEL0, PINSEL1 register setting SPI pin interface, driven by setting IO0DIR 74HC595 interface to initialize the SPI interface to send display data, chip select register is cleared, waiting for SPIF bit waiting for data transmission is completed. Use a while loop to send data display data, using delay routine makes the display more stable and easy to use.
Platform: | Size: 109568 | Author: 宋喜佳 | Hits:

[ARM-PowerPC-ColdFire-MIPSRTC

Description: 7. RTC程序设计与电路仿真 运用LPC2138内部RTC的实时时钟显示年、月、日、星期和时间。 定义74HC595的片选端口、开关端口。运用PINSEL0、PINSEL1寄存器设置SPI引脚的EINT0连接,运用IO0DIR寄存器设置控制口输出,初始化SPI接口,设置主机时钟分频、接口模式。设置中断为边沿触发模式、下降沿触发模式。设置所有中断匹配为IRQ中断,IRQ使能服务地址,然后通过使能EINT3允许IRQ中断,分别显示年、月、日、星期、时、分、秒的数据信息。 -7. RTC program design and circuit simulation using LPC2138 internal RTC real time clock display year, month, day, week and time. Definition 74HC595 chip select port, the switch port. Use PINSEL0, PINSEL1 register settings SPI pins EINT0 connection, using IO0DIR control port output register is set to initialize the SPI interface, set the master clock frequency, interface mode. Set the interrupt is edge-triggered mode, the falling edge trigger mode. Set all matches for the IRQ interrupt interrupt, IRQ enable service address, and then by enabling EINT3 allow IRQ interrupts, respectively, show the year, month, day, week, hours, minutes, seconds of data information.
Platform: | Size: 134144 | Author: 宋喜佳 | Hits:

[Embeded-SCM Developmax7456

Description: max7456是美信的一颗OSD芯片,比NEC的6450,6453,功能强大,程序电路却简单了很多,本程序有对MAX7456的操作,用的是STM32的ARM7,硬件的SPI-max7456 is beautiful letters an OSD chip, compared with NEC' s 6450,6453, and powerful, the program has a simple circuit a lot, this program has on the MAX7456 operation, with the STM32' s ARM7, hardware SPI
Platform: | Size: 3072 | Author: ianshave | Hits:

[Other Embeded programVoice_frequence

Description: 这是一个利用DSPIC33FJ64MC802芯片进行音频AD采样以及FFT变换(得到功率谱)并将得到的数据进行串口发送的程序。该程序用于一个声音功率谱分析的设计中。 使用时需要配合外围的放大,滤波,加法器,以及电源等其他电路。并结合自编的上位机软件进行显示。 在Microchip给出的FFT函数中,256点FFT变换存在问题,无法得到正常数据。这是由于旋转因子表的错误造成的。本程序已经对其作出了修正。同时在功率谱计算的函数中,也作出了一些优化,在测量较小的幅值时,结果会更加理想。 本程序在音频分析与传输中,完全做到了实时分析。结合理想的上位机软件,可以进行实时系统的构建。这实在是相当难得的。但是,由于实时性的保证以及串口速率的限制,本系统频率分析的上限只能在5K左右(程序中采用了4K)。如果将通信接口改为SPI或其他高速接口,可以显著提高系统频率分析的上限。-This is a use of DSPIC33FJ64MC802 chip audio AD sampling and FFT transform (power spectrum) and will receive procedures for serial port to send data.The program is used for the design of a sound power spectrum analysis.When using need to cooperate with the periphery of the amplifier, filter, adder, and power, and other circuit.Combined with the feature of PC software for display. FFT function in Microchip, the 256- point FFT transform problems, cannot get normal data.This is due to the fault of rotating factor table.This program has made a correction on it.In power spectrum calculation function at the same time, also made some optimization, when measuring small amplitude, the result will be more ideal. This procedure in audio analysis and transmission, completely achieved real-time analysis.In combination with the PC software of ideal, can build the real-time system.This is really quite rare.But, as a result of the limitation of the guaranteed real-time and rate of serial port, the s
Platform: | Size: 447488 | Author: 五岳之首 | Hits:

[DSP programEx28_POP28335_DAC_ADC

Description: 实验目的:通过学习此程序可以了解DSP的SPI与DA芯片(TLV5620)的连接和驱动,这是DSP的一个重要特性,大家要达到掌握的程度实验说明:主要硬件由DSP和TLV5620组成,DSP提供了SIMO和SCLK、C3TRIP ** ** 信号给TLV5620,且C3TRIP信号是用来做片DAC信号的更新和锁 ** ** 存的,这里大家要参照我们所提供的TLV5620的手册,4个信道 ** ** 的DAC输出分别引了出来,方便大家来检测.这里还要说明的一点的是我们用了其中的两个信道DACA和DACB作为ADC的输入,大家看电路便知。 实验结果:用万用表测试TLV5620的4个输出电压值,可看到他们是成比例关系,分别0.4V,0.8V,1.2V,1.6V. 实际测量值有些误差的-** Purpose: To study this program can understand DSP s SPI and DA chip (TLV5620) connection**** and drive, which is an important feature of DSP, we have to achieve master degree**** experiments show: The main hardware and TLV5620 composed by the DSP, DSP provides SIMO and SCLK, C3TRIP**** signal to TLV5620, and C3TRIP signal is used to do the update and locking plates DAC signal**** store, where we have to refer to our TLV5620 manual provided by the four channels of DAC output** respectively lead out, to facilitate testing. Here also described a** point it is that we used one of the two channels DACA and DACB as ADC inputs,** we see circuit at a glance.** Results: with four output voltage values multimeter test TLV5620 can see that they are proportional relationship**, respectively 0.4V, 0.8V, 1.2V, 1.6V and some actual measurement error. The************************************************************************************************************* /
Platform: | Size: 441344 | Author: lvysam | Hits:

[SCMNUEDC_WiFi_Rx

Description: NRF24L01上位机/下位机程序 本程序使用两片STM32和NRF24L01进行互通信,使用HAL库开发,电路连接可在IOC文件中查看(NRF24L01 upper computer / lower computer program This program uses two pieces of STM32 and NRF24L01 for mutual communication, using the HAL library development, circuit connections can be viewed in the IOC file)
Platform: | Size: 7322624 | Author: 一城 | Hits:

CodeBus www.codebus.net