USB应用实验

所属分类:单片机开发
开发工具:C/C++
文件大小:4174KB
下载次数:9
上传日期:2018-06-20 10:24:50
上 传 者Der_steppenwolf
说明:  基于ARM Cortex-M4F(TM4C123)单片机 【USB应用实验】 编程控制TM4C123微控制器的USB 模块,与PC机交互数据 【功能】 (1)PC机从命令行CMD 窗口发送指令,可以控制高亮LED灯的亮度(PWM模式调光); (2)PC机从命令行CMD 窗口发送指令,可以控制SPI接口DAC7512输出正弦波的峰峰值和频率,控制格式自定; (3)从PC机CMD窗口输入的字符串(回车结尾,EXIT退出)显示在12864液晶屏上来自MCU端的事件显示在PC机CMD窗口,可使用不同颜色标记不同事件 (4)可从PC机发送文本文件到MCU;来自MCU的字符串显示在窗口中
(Based on ARM Cortex-M4F (TM4C123) single chip microcomputer [USB application experiment] Program control TM4C123 microcontroller USB module, interact with PC data. [function] (1) PC sends commands from the command line CMD window to control the brightness of high brightness LED lights (PWM mode dimming). (2) the PC sends commands from the command line CMD window to control the peak and frequency of the SPI interface DAC7512 output sine wave, and the control format is self determined. (3)The string entered from the PC CMD window (carriage return, EXIT exit) is displayed on the 12864 LCD screen. Events from the MCU side are displayed in the PC CMD window, and different colors can be used to mark different events. (4) Text files can be sent from PC to MCU; strings from MCU are displayed in windows.)

文件列表:
usb_dev_bulk_v2\usb_dev_bulk\driverlib\adc.c (75073, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\adc.h (17747, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\aes.c (45674, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\aes.h (10153, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\can.c (71576, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\can.h (14250, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\comp.c (16306, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\comp.h (7766, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\cpu.c (12366, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\cpu.h (3087, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\crc.c (10786, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\crc.h (4679, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\debug.h (3415, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\des.c (25504, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\des.h (6352, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\driverlib.lib (3587034, 2014-08-01)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\eeprom.c (40422, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\eeprom.h (11761, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\emac.c (198324, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\emac.h (48393, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\flash.c (28020, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\flash.h (5059, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\fpu.c (11623, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\fpu.h (4709, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\gpio.c (104980, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\gpio.h (10154, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\hibernate.c (85982, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\hibernate.h (12446, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\i2c.c (68014, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\i2c.h (18625, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\interrupt.c (34364, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\interrupt.h (4138, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\lcd.c (71142, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\lcd.h (22842, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\mpu.c (16156, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\mpu.h (6855, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\pin_map.h (670413, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\pwm.c (79584, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\pwm.h (17043, 2014-09-23)
usb_dev_bulk_v2\usb_dev_bulk\driverlib\qei.c (23030, 2014-09-23)
... ...

----------------------------------- USB Bulk Example (usb_bulk_example) ----------------------------------- This Windows command line application is written using C for Windows and should be built using Microsoft Visual Studio 2008. Project file usb_bulk_example.vcproj is provided to build the application. USB communication with the Tiva boards running the usb_dev_bulk sample application is performed using the LMUSBDLL interface which is a thin wrapper over the Microsoft WinUSB API. The relevant WinUSB subsystem files and the LMUSBDLL.dll are installed when you first connect the board to a Windows host via USB and install the drivers. Device drivers for the usb_dev_bulk device can be found in the windows_drivers subdirectory under "C:\TI\TivaWare for X Series", where "X" indicates the Tiva series for which the software was installed. The LMUSBDLL interface is provided purely to allow the sample applications to be compiled and run in the absence of the Windows Device Driver Kit (DDK). The WinUSB API header and library files are not included in the Windows SDK shipped with Visual Studio 2008 so any code which uses this interface requires access to the DDK to build. LMUSBDLL contains all the application code requiring WinUSB so applications may link to it without the need for the Windows DDK.

近期下载者

相关文件


收藏者