Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 Slide 6 Slide 7 Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 Slide 13 Slide 14 Slide 15 Slide 16 Slide 17 Slide 18 Slide 19 Slide 20 Slide 21 Slide 22 Slide 23 Product List
Topic 8 ControlSUITE Slide 19

In order to make USB as easy to use as possible, TI is providing many examples to show customers how to make use of common USB devices starting with the device mode examples. The first example is the bulk class example. With this example, a user types a string into a console application on the host computer. That string then gets sent to the Concerto device, the case of the string inverted, and then sent back and displayed on the PC. So effectively, uppercase letters become lowercase and lowercase letters become uppercase. Not a very complex example but it is an excellent example to learn how to access USB on a PC through C++. TI is also providing both the keyboard and mouse example. In these examples, a Concerto device is connected to a computer via USB and either a keyboard or a mouse emulated. In the keyboard example, whenever a GPIO or a button is pushed on the evaluation board, text is typed into whatever window has focus. In the mouse example, whenever a Concerto device is plugged in, the mouse is moved in a square pattern on screen. The third device example is the mass storage class. With this example, an SD card is connected to the Concert device via the SPI peripheral. The file system present on the SD card is presented to the host computer via USB. To the end user, what this looks like is that there is a thumb drive plugged into the computer and one is able to read it and write files on that thumb drive, which is in actuality, the SD card. Probably one of the favorite examples is the serial example. The Concerto device that is connected to PC appears to the PC as a virtual serial port. All the serial traffic being sent to the Concerto device is then transmitted out on UART0 and all traffic received by UART0 is then transmitted back to the PC. This effectively emulates an FTDI chip perhaps.

PTM Published on: 2013-01-08