Presentation is loading. Please wait.

Presentation is loading. Please wait.

HL CE M, lehmann usb_boothesc98.ppt 1 - 6/27/2015, 15:24 USB-Microcontroller C540U Family.

Similar presentations


Presentation on theme: "HL CE M, lehmann usb_boothesc98.ppt 1 - 6/27/2015, 15:24 USB-Microcontroller C540U Family."— Presentation transcript:

1

2 HL CE M, lehmann usb_boothesc98.ppt 1 - 6/27/2015, 15:24 USB-Microcontroller C540U Family

3 HL CE M, lehmann usb_boothesc98.ppt 2 - 6/27/2015, 15:24 SAB-C540U / -C541U Block Diagram Oscillator Watchdog SSC (SPI) Interface (C541U only) Timer 0 Timer 1 Interrupt Unit Transceiver USBPLL Module OSC & Timing C500 Prog. Watchdog Timer (C541U only) RAM 256 x 8 OTP 4K x 8 (C540U) 8K x 8 (C541U) Emulation Support logic (E-Hooks) Port 0 Port 1 Port 2 Port 3 8 lines 6 / 8 lines 6 / 8 lines 1) 8 lines 1) P-LCC-44: 6lines; S-DIP-52: 8lines

4 HL CE M, lehmann usb_boothesc98.ppt 3 - 6/27/2015, 15:24 SAB-C540U / -C541U List of Features  Enhanced 8-Bit C500-CPU  500 ns Instruction Cycle Time @ 12 MHz CPU Clock  Two 16-bit Timer/Counters (C501 compatible T0/1)  [4kbytes in the C540U] 8 Kbytes OTP / 256 bytes RAM  USB Device Core (FS/LS speed)  Synchronous Serial Channel, Watchdog Timer [C541U only]  30 digit. I/O Ports, 32 in SDIP52  LED Driver capability on 3 dedicated pins, 10 mA / 4,5 to 5,5 V  Power supply voltage range: according to USB spec  Enhanced HooksTechnology  48 MHz PLL on-chip for FS  Transceiver, D+ D-, on-chip...the interfacing solution!

5 HL CE M, lehmann usb_boothesc98.ppt 4 - 6/27/2015, 15:24 USB USB Device Device Command: Get descriptor (Who is out there?) SyncSync0000000100000001SOFSOF0xA50xA5Frame#Frame#0x0DD0x0DDCRC5CRC50x150x15EOPEOP001001 SyncSync 0000000100000001 SETUPSETUP 0xB40xB4 ADDRADDR 0x000x00 ENDPENDP 0x00x0 CRC5CRC5 0x080x08 EOPEOP 001001 SyncSync 0000000100000001 DATA0DATA0 0xC30xC3 DATADATA 80 06 00 01 00 00 40 00 CRC16CRC16 0xBB290xBB29 EOPEOP 001001 SyncSync 0000000100000001 ACKACK 0x4B0x4B EOPEOP 001001 Setup stage Enumeration process on the C541U

6 HL CE M, lehmann usb_boothesc98.ppt 5 - 6/27/2015, 15:24 Sync 00000001 SOF 0xA5 Frame# 0x0DD CRC5 0x15 EOP 001 Sync 00000001 SETUP 0xB4 ADDR 0x00 ENDP 0x0 CRC5 0x08 EOP 001 Sync 00000001 DATA0 0xC3 DATA 80 06 00 01 00 00 40 00 CRC16 0xBB29 EOP 001 Sync 00000001 ACK 0x4B EOP 001 Start Of Frame...will be generated every millisecond SyncSync0000000100000001 Packet start, signaling to the transceiver: “packet arriving“ SOFSOF0xA50xA5 Start of Frame (every millisecond) Frame#Frame#0x0DD0x0DD Frame number (0 - 2047) overrolling CRC5CRC50x150x15 5 bit Checksum over Frame# EOPEOP001001 End of Packet (D+ and D- are low) Setup stage USB USB Device Device

7 HL CE M, lehmann usb_boothesc98.ppt 6 - 6/27/2015, 15:24 Sync 00000001 SETUP 0xB4 ADDR 0x00 ENDP 0x0 CRC5 0x08 EOP 001 Sync 00000001 DATA0 0xC3 DATA 80 06 00 01 00 00 40 00 CRC16 0xBB29 EOP 001 Sync 00000001 ACK 0x4B EOP 001 Setup packets are fully decoded and Interrupts are generated SyncSync 0000000100000001 SETUPSETUP0xB40xB4 Setup Packet (start of control transfer) ADDRADDR0x000x00 Address 0 (default addr. f. every new plugged-in dev.) Sync 00000001 SOF 0xA5 Frame# 0x0DD CRC5 0x15 EOP 001 ENDPENDP0x00x0 Endpoint 0 (used for configuration) CRC5CRC50x080x08EOPEOP001001 Setup stage USB USB Device Device Enumeration process on the C541U

8 HL CE M, lehmann usb_boothesc98.ppt 7 - 6/27/2015, 15:24 Sync 00000001 DATA0 0xC3 DATA 80 06 00 01 00 00 40 00 CRC16 0xBB29 EOP 001 Sync 00000001 ACK 0x4B EOP 001 The Data packet defines what kind of setup transfer is initiated Sync 00000001 SETUP 0xB4 ADDR 0x00 ENDP 0x0 CRC5 0x08 EOP 001 SyncSync0000000100000001DATA0DATA00xC30xC3 DATADATA DATADATA 80 06 00 01 00 00 40 00 01 = device descriptor 01 = device descriptor 80 = transfer direction, std. command 80 = transfer direction, std. command 06 = get descriptor 06 = get descriptor 00 = index of descriptor 40 00 = amount of bytes requested by host (little endian format; Lowbyte first, Highbyte least) 40 00 = amount of bytes requested by host (little endian format; Lowbyte first, Highbyte least) Get device descriptor generates an interrupt Get device descriptor generates an interrupt 00 00 = language ID CRC16CRC160xBB290xBB29EOPEOP001001 Setup stage USB USB Device Device

9 HL CE M, lehmann usb_boothesc98.ppt 8 - 6/27/2015, 15:24 USB USB Device Device Every control transfer will be ACKnowledged SyncSync0000000100000001ACKACK0x4B0x4B Acknowledge Packet EOPEOP001001 SyncSync0000000100000001SOFSOF0xA50xA5Frame#Frame#0x0DD0x0DDCRC5CRC50x150x15EOPEOP001001 SyncSync0000000100000001SETUPSETUP0xB40xB4ADDRADDR0x000x00ENDPENDP0x00x0CRC5CRC50x080x08EOPEOP001001 SyncSync0000000100000001DATA0DATA00xC30xC3DATADATA 80 06 00 01 00 00 40 00 CRC16CRC160xBB290xBB29EOPEOP001001 Setup stage Enumeration process on the C541U

10 HL CE M, lehmann usb_boothesc98.ppt 9 - 6/27/2015, 15:24 USB USB Device Device Every control transfer will be ACKnowledged (add-on) SyncSync0000000100000001ACKACK0x4B0x4B Acknowledge Packet SyncSync0000000100000001SOFSOF0xA50xA5Frame#Frame#0x0DD0x0DDCRC5CRC50x150x15EOPEOP001001 SyncSync 0000000100000001 SETUPSETUP 0xB40xB4 ADDRADDR 0x000x00 ENDPENDP 0x00x0 CRC5CRC5 0x080x08 EOPEOP 001001 SyncSync 0000000100000001 DATA0DATA0 0xC30xC3 DATADATA 80 06 00 01 00 00 40 00 CRC16CRC16 0xBB290xBB29 EOPEOP 001001 EOPEOP001001 Setup stage Enumeration process on the C541U

11 HL CE M, lehmann usb_boothesc98.ppt 10 - 6/27/2015, 15:24 SyncSync 0000000100000001 ACKACK 0x4B0x4B EOPEOP 001001 Every data transfer will be initiated with an IN/OUT package by the host(PC) SyncSync 0000000100000001 ININ 0x960x96 ADDRADDR 0x000x00 ENDPENDP 0x00x0 CRC5CRC5 0x80x8 EOPEOP 001001 SyncSync0000000100000001SOFSOF0xA50xA5Frame#Frame#0x0DE0x0DECRC5CRC50x170x17EOPEOP001001 Data stage USB USB Device Device Enumeration process on the C541U SyncSync 0000000100000001 DATA1DATA1 0xD20xD2 DATADATA 12 01 00 01 00 00 00 08 CRC16CRC16 0xC8E70xC8E7 EOPEOP 001001 Data In Packet (Host requesting data from device)

12 HL CE M, lehmann usb_boothesc98.ppt 11 - 6/27/2015, 15:24 Sync 00000001 DATA1 0xD2 DATA 12 01 00 01 00 00 00 08 CRC16 0xC8E7 EOP 001 Sync 00000001 ACK 0x4B EOP 001 USB USB Device Device Data packages Sync 00000001 IN 0x96 ADDR 0x00 ENDP 0x0 CRC5 0x8 EOP 001 DATADATA 12 = length of device descriptor 12 = length of device descriptor 01 = device descriptor type 01 = device descriptor typeSyncSync0000000100000001DATA1DATA10xD20xD2DATADATA 12 01 00 01 00 00 00 08 CRC16CRC160xC8E70xC8E7EOPEOP001001 00 = Device Protocol 00 = Device Protocol 00 = Device Class 00 = Device Sub Class 00 = Device Sub Class 08 = Max. packet size of endpoint 0 08 = Max. packet size of endpoint 0 first 8 bytes of the device descriptor initialized in config.h 01 = high-byte of USB-Specification 01 = high-byte of USB-Specification 00 = low-byte of USB-Specification V 01.00 } Data stage

13 HL CE M, lehmann usb_boothesc98.ppt 12 - 6/27/2015, 15:24 USB USB Device Device End of Data Stage SyncSync0000000100000001SOFSOF0xA50xA5Frame#Frame#0x0E00x0E0CRC5CRC50x0E0x0EEOPEOP001001 SyncSync 0000000100000001 OUTOUT 0x870x87 ADDRADDR 0x000x00 ENDPENDP 0x00x0 CRC5CRC5 0x080x08 EOPEOP 001001 SyncSync 0000000100000001 DATA1DATA1 0xD20xD2 DATADATACRC16CRC16 0x00000x0000 EOPEOP 001001 SyncSync 0000000100000001 ACKACK 0x4B0x4B EOPEOP 001001 Empty data packet indicating data stage end Enumeration process on the C541U Data Out Packet (Host aborts data stage) Data stage  Status stage

14 HL CE M, lehmann usb_boothesc98.ppt 13 - 6/27/2015, 15:24 Reset from Host (10ms) Reset initiated from host RESETRESET128160128160 USB USB Device Device Enumeration process on the C541U

15 HL CE M, lehmann usb_boothesc98.ppt 14 - 6/27/2015, 15:24 SyncSync 0000000100000001 ACKACK 0x4B0x4B EOPEOP 001001 Command: Set Address (You are called Number 2 from now on!) SyncSync0000000100000001SETUPSETUP0xB40xB4ADDRADDR0x000x00ENDPENDP0x00x0CRC5CRC50x080x08EOPEOP001001 SyncSync 0000000100000001 DATA0DATA0 0xC30xC3 DATADATA 00 05 02 00 00 00 00 00 CRC16CRC16 0xD7680xD768 EOPEOP 001001 DATADATA 02 = device address nr. 2 00 = direction from host to device, std. command, recipient device 05 = set address 05 = set address this command is handled by the C54x itself without extra software 00 00 00 00 00 = default SyncSync0000000100000001SOFSOF0xA50xA5Frame#Frame#0x1430x143CRC5CRC50x040x04EOPEOP001001 USB USB Device Device

16 HL CE M, lehmann usb_boothesc98.ppt 15 - 6/27/2015, 15:24 USB USB Device Device End of Data Stage SyncSync0000000100000001SOFSOF0xA50xA5Frame#Frame#0x1440x144CRC5CRC50x080x08EOPEOP001001 SyncSync 0000000100000001 ININ 0x960x96 ADDRADDR 0x000x00 ENDPENDP 0x00x0 CRC5CRC5 0x080x08 EOPEOP 001001 SyncSync 0000000100000001 ACKACK 0x4B0x4B EOPEOP 001001 SyncSync 0000000100000001 DATA1DATA1 0xD20xD2 DATADATACRC16CRC16 0x00000x0000 EOPEOP 001001 Empty data packet from device handled by C54x without Software Enumeration process on the C541U Data stage  Status stage

17 HL CE M, lehmann usb_boothesc98.ppt 16 - 6/27/2015, 15:24 Get Descriptor from Device Number 2 (What are you like?) SyncSync0000000100000001SOFSOF0xA50xA5Frame#Frame#0x1510x151CRC5CRC50x1E0x1EEOPEOP001001 SyncSync 0000000100000001 SETUPSETUP 0xB40xB4 ADDRADDR 0x020x02 ENDPENDP 0x00x0 CRC5CRC5 0x150x15 EOPEOP 001001 Setup stage USB USB Device Device Enumeration process on the C541U SyncSync 0000000100000001 DATA0DATA0 0xC30xC3 DATADATA 80 06 00 01 00 00 12 00 CRC16CRC16 0x072F0x072F EOPEOP 001001 SyncSync 0000000100000001 ACKACK 0x4B0x4B EOPEOP 001001 Devices is accessed Devices is accessed by address 2

18 HL CE M, lehmann usb_boothesc98.ppt 17 - 6/27/2015, 15:24 Sync 00000001 DATA0 0xC3 DATA 80 06 00 01 00 00 12 00 CRC16 0x072F EOP 001 Sync 00000001 ACK 0x4B EOP 001 Sync 00000001 SETUP 0xB4 ADDR 0x02 ENDP 0x0 CRC5 0x15 EOP 001 Sync 00000001 SOF 0xA5 Frame# 0x151 CRC5 0x1E EOP 001 Get Descriptor from Device Number 2 (What are you like?), details DATADATA 01 = device descriptor 01 = device descriptor 80 = transfer direction, std. command 80 = transfer direction, std. command 06 = get descriptor 06 = get descriptor 00 = index of descriptor 12 00 = bytes to 12 00 = bytes to transfer 00 00 = language ID SyncSync0000000100000001DATA0DATA00xC30xC3DATADATA 80 06 00 01 00 00 12 00 CRC16CRC160x072F0x072FEOPEOP001001 Setup stage USB USB Device Device

19 HL CE M, lehmann usb_boothesc98.ppt 18 - 6/27/2015, 15:24 IN request (get data about device description) SyncSync 0000000100000001 ININ 0x960x96 ADDRADDR 0x020x02 ENDPENDP 0x00x0 CRC5CRC5 0x150x15 EOPEOP 001001 SyncSync0000000100000001SOFSOF0xA50xA5Frame#Frame#0x1520x152CRC5CRC50x1C0x1CEOPEOP001001 Data stage USB USB Device Device Enumeration process on the C541U SyncSync 0000000100000001 ACKACK 0x4B0x4B EOPEOP 001001 SyncSync 0000000100000001 DATA1DATA1 0xD20xD2 DATADATA 12 01 00 01 00 00 00 08 CRC16CRC16 0xC8E70xC8E7 EOPEOP 001001

20 HL CE M, lehmann usb_boothesc98.ppt 19 - 6/27/2015, 15:24 Sync 00000001 ACK 0x4B EOP 001 Sync 00000001 IN 0x96 ADDR 0x02 ENDP 0x0 CRC5 0x15 EOP 001 Sync 00000001 DATA1 0xD2 DATA 12 01 00 01 00 00 00 08 CRC16 0xC8E7 EOP 001 USB USB Device Device IN request, details (get data about device description) DATADATA 12 = length of device descriptor 12 = length of device descriptor 01 = device descriptor type 01 = device descriptor type 01 = highbyte of USB-Specification 01 = highbyte of USB-Specification 00 = lowbyte of USB-Specification 00 = Device Protocol 00 = Device Protocol 00 = Device Class 00 = Device Sub Class 00 = Device Sub Class 08 = Max. packetsize of endpoint 0 08 = Max. packetsize of endpoint 0 first 8 bytes of the device descriptor initialized in config.h SyncSync0000000100000001DATA1DATA10xD20xD2DATADATA 12 01 00 01 00 00 00 08 CRC16CRC160xC8E70xC8E7EOPEOP001001 Data stage

21 HL CE M, lehmann usb_boothesc98.ppt 20 - 6/27/2015, 15:24 2 nd IN request (get data about device description) SyncSync 0000000100000001 ININ 0x960x96 ADDRADDR 0x020x02 ENDPENDP 0x00x0 CRC5CRC5 0x150x15 EOPEOP 001001 SyncSync0000000100000001SOFSOF0xA50xA5Frame#Frame#0x1530x153CRC5CRC50x030x03EOPEOP001001 Data stage USB USB Device Device Enumeration process on the C541U SyncSync 0000000100000001 ACKACK 0x4B0x4B EOPEOP 001001 SyncSync 0000000100000001 DATA0DATA0 0xC30xC3 DATADATA 8B 05 41 C5 01 00 00 00 CRC16CRC16 0x86DB0x86DB EOPEOP 001001

22 HL CE M, lehmann usb_boothesc98.ppt 21 - 6/27/2015, 15:24 Sync 00000001 DATA0 0xC3 DATA 8B 05 41 C5 01 00 00 00 CRC16 0x86DB EOP 001 USB USB Device Device 2 nd IN request, details Device Specific Data are Transferred to PC Sync 00000001 ACK 0x4B EOP 001 Sync 00000001 IN 0x96 ADDR 0x02 ENDP 0x0 CRC5 0x15 EOP 001 DATADATA C5 = highbyte of product ID 41 = lowbyte of product ID 00 = index for manufacturer string descriptor 00 = index for manufacturer string descriptor 01 = lowbyte of devicenumber 00 = highbyte of devicenumber 00 = index for product string descriptor next 8 bytes of the device descriptor initialized in config.h SyncSync0000000100000001DATA0DATA00xC30xC3DATADATA 8B 05 41 C5 01 00 00 00 CRC16CRC160x86DB0x86DBEOPEOP001001 } C541 8B = lowbyte of vendor ID 05 = highbyte of vendor ID }

23 HL CE M, lehmann usb_boothesc98.ppt 22 - 6/27/2015, 15:24 Sync 00000001 SOF 0xA5 Frame# 0x154 CRC5 0x1D EOP 001 Sync 00000001 IN 0x96 ADDR 0x02 ENDP 0x0 CRC5 0x15 EOP 001 Sync 00000001 DATA1 0xD2 DATA 00 01 CRC16 0xFCF1 EOP 001 Sync 00000001 ACK 0x4B EOP 001 USB USB Device Device 3 rd IN request the remaining data is transferred SyncSync0000000100000001SOFSOF0xA50xA5Frame#Frame#0x1540x154CRC5CRC50x1D0x1DEOPEOP001001 SyncSync 0000000100000001 ININ 0x960x96 ADDRADDR 0x020x02 ENDPENDP 0x00x0 CRC5CRC5 0x150x15 EOPEOP 001001 SyncSync 0000000100000001 DATA1DATA1 0xD20xD2 DATADATA 00 01 CRC16CRC16 0xFCF10xFCF1 EOPEOP 001001 DATADATA 00 = index for serial number string descriptor 01 = number of configurations Data stage

24 HL CE M, lehmann usb_boothesc98.ppt 23 - 6/27/2015, 15:24 USB USB Device Device Command: OUT transfer (with empty data package) finishes the data stage SyncSync0000000100000001SOFSOF0xA50xA5Frame#Frame#0x1550x155CRC5CRC50x020x02EOPEOP001001 SyncSync 0000000100000001 OUTOUT 0x870x87 ADDRADDR 0x020x02 ENDPENDP 0x00x0 CRC5CRC5 0x150x15 EOPEOP 001001 SyncSync 0000000100000001 DATA1DATA1 0xD20xD2 DATADATACRC16CRC16 0x00000x0000 EOPEOP 001001 SyncSync 0000000100000001 ACKACK 0x4B0x4B EOPEOP 001001 Enumeration process on the C541U Data stage  Status stage

25 HL CE M, lehmann usb_boothesc98.ppt 24 - 6/27/2015, 15:24 Command: Get Configuration Descriptor (How does the device function?) SyncSync0000000100000001SOFSOF0xA50xA5Frame#Frame#0x1570x157CRC5CRC50x1F0x1FEOPEOP001001 SyncSync 0000000100000001 SETUPSETUP 0xB40xB4 ADDRADDR 0x020x02 ENDPENDP 0x00x0 CRC5CRC5 0x150x15 EOPEOP 001001 Setup stage USB USB Device Device Enumeration process on the C541U SyncSync 0000000100000001 DATA0DATA0 0xC30xC3 DATADATA 80 06 00 02 00 00 FF 00 CRC16CRC16 0x97250x9725 EOPEOP 001001 SyncSync 0000000100000001 ACKACK 0x4B0x4B EOPEOP 001001

26 HL CE M, lehmann usb_boothesc98.ppt 25 - 6/27/2015, 15:24 Sync 00000001 DATA0 0xC3 DATA 80 06 00 02 00 00 FF 00 CRC16 0x9725 EOP 001 Sync 00000001 ACK 0x4B EOP 001 Sync 00000001 SETUP 0xB4 ADDR 0x02 ENDP 0x0 CRC5 0x15 EOP 001 Sync 00000001 SOF 0xA5 Frame# 0x157 CRC5 0x1F EOP 001 Command: Get Configuration Descriptor (How does the device function?), details DATADATA 02 = configuration descriptor 02 = configuration descriptor 80 = transfer direction, std. command 80 = transfer direction, std. command 06 = get descriptor 06 = get descriptor 00 = index of descriptor SyncSync0000000100000001DATA0DATA00xC30xC3DATADATA 80 06 00 02 00 00 FF 00 CRC16CRC160x97250x9725EOPEOP001001 00 00 = language ID 00 00 = language ID 00 = highbyte of bytes to transfer FF = lowbyte of bytes to transfer USB USB Device Device

27 HL CE M, lehmann usb_boothesc98.ppt 26 - 6/27/2015, 15:24 In Request: Gives Feedback to How does the device function? SyncSync 0000000100000001 ININ 0x960x96 ADDRADDR 0x020x02 ENDPENDP 0x00x0 CRC5CRC5 0x150x15 EOPEOP 001001 SyncSync0000000100000001SOFSOF0xA50xA5Frame#Frame#0x1580x158CRC5CRC50x0F0x0FEOPEOP001001 Data stage USB USB Device Device Enumeration process on the C541U SyncSync 0000000100000001 ACKACK 0x4B0x4B EOPEOP 001001 SyncSync 0000000100000001 DATA1DATA1 0xD20xD2 DATADATA 09 02 19 00 01 01 00 60 CRC16CRC16 0x50200x5020 EOPEOP 001001

28 HL CE M, lehmann usb_boothesc98.ppt 27 - 6/27/2015, 15:24 Sync 00000001 DATA1 0xD2 DATA 09 02 19 00 01 01 00 60 CRC16 0x5020 EOP 001 Sync 00000001 ACK 0x4B EOP 001 USB USB Device Device In Request: Gives Feedback to How does the device function?, details Sync 00000001 IN 0x96 ADDR 0x02 ENDP 0x0 CRC5 0x15 EOP 001 DATADATA 19 00 = length of configuration, interface and endpoint descriptor 09 = length of configuration descriptor 02 = configuration descriptor type 00 = index to configuration string descriptor 00 = index to configuration string descriptor 01 = number of used interfaces in this configuration 01 = value to set this configuration with SetConfiguration 60 = attributes of configuration first 8 bytes of the device descriptor initialized in config.h SyncSync0000000100000001DATA1DATA10xD20xD2DATADATA 09 02 19 00 01 01 00 60 CRC16CRC160x50200x5020EOPEOP001001

29 HL CE M, lehmann usb_boothesc98.ppt 28 - 6/27/2015, 15:24 2 nd In Request: Gives Feedback to How does the device function? SyncSync 0000000100000001 ININ 0x960x96 ADDRADDR 0x020x02 ENDPENDP 0x00x0 CRC5CRC5 0x150x15 EOPEOP 001001 SyncSync0000000100000001SOFSOF0xA50xA5Frame#Frame#0x1590x159CRC5CRC50x100x10EOPEOP001001 Data stage USB USB Device Device Enumeration process on the C541U SyncSync 0000000100000001 ACKACK 0x4B0x4B EOPEOP 001001 SyncSync 0000000100000001 DATA0DATA0 0xC30xC3 DATADATA 32 09 04 00 00 01 00 00 CRC16CRC16 0x273E0x273E EOPEOP 001001

30 HL CE M, lehmann usb_boothesc98.ppt 29 - 6/27/2015, 15:24 Sync 00000001 DATA0 0xC3 DATA 32 09 04 00 00 01 00 00 CRC16 0x273E EOP 001 USB USB Device Device 2 nd In Request: Gives Feedback to How does the device function?, details Sync 00000001 ACK 0x4B EOP 001 Sync 00000001 IN 0x96 ADDR 0x02 ENDP 0x0 CRC5 0x15 EOP 001 DATADATA 04 = interface descriptor type 32 = max. power consumption (in 2mA units) 09 = length of interface descriptor 01 = used endpoints used in this interface 00 = number of interfaces 00 = alternate settings 00 = interface class next 8 bytes of the device descriptor initialized in config.h 00 = interface sub class SyncSync0000000100000001DATA0DATA00xC30xC3DATADATA 32 09 04 00 00 01 00 00 CRC16CRC160x273E0x273EEOPEOP001001

31 HL CE M, lehmann usb_boothesc98.ppt 30 - 6/27/2015, 15:24 USB USB Device Device 3 rd In Request: Gives Feedback to How does the device function?, details SyncSync0000000100000001SOFSOF0xA50xA5Frame#Frame#0x15B0x15BCRC5CRC50x0D0x0DEOPEOP001001 SyncSync 0000000100000001 ININ 0x960x96 ADDRADDR 0x020x02 ENDPENDP 0x00x0 CRC5CRC5 0x150x15 EOPEOP 001001 SyncSync 0000000100000001 ACKACK 0x4B0x4B EOPEOP 001001 SyncSync 0000000100000001 DATA0DATA0 0xC30xC3 DATADATA 0000 CRC16CRC16 0x00000x0000 EOPEOP 001001 00 = polling interval for interrupt endpoints Enumeration process on the C541U

32 HL CE M, lehmann usb_boothesc98.ppt 31 - 6/27/2015, 15:24 USB USB Device Device Command: OUT transfer finishes the data stage SyncSync0000000100000001SOFSOF0xA50xA5Frame#Frame#0x15C0x15CCRC5CRC50x150x15EOPEOP001001 SyncSync 0000000100000001 OUTOUT 0x870x87 ADDRADDR 0x020x02 ENDPENDP 0x00x0 CRC5CRC5 0x150x15 EOPEOP 001001 SyncSync 0000000100000001 DATA1DATA1 0xD20xD2 DATADATACRC16CRC16 0x00000x0000 EOPEOP 001001 SyncSync 0000000100000001 ACKACK 0x4B0x4B EOPEOP 001001 Enumeration process on the C541U Data stage  Status stage

33 HL CE M, lehmann usb_boothesc98.ppt 32 - 6/27/2015, 15:24 USB Application Support Starterkit

34 HL CE M, lehmann usb_boothesc98.ppt 33 - 6/27/2015, 15:24 USB Application Support Phytec KitCON-541 / Starterkit Evaluation Board - Starter Kit Starterkit

35 HL CE M, lehmann usb_boothesc98.ppt 34 - 6/27/2015, 15:24 C541-Evaluation Board Phytec KitCON-541 / Starterkit D+ D- D+ D- USB GND USB Vcc Common Vcc plane Common GND plane rev. USB Spec. 1.0 rev. USB Spec. 1.0 96-pol connector female 1,5k  3,0-3,6V 4,0-4,75V 0,0 V FULL speed USB driver FULL speed USB driver LOW speed USB driver LOW speed USB driver USB powered / self powered selector USB powered / self powered selector 1 2 3 4 SAB-C541 on PGA 44 socket USBconnector DADD 5k 100k 47nF detached/attachedcircuitdetached/attachedcircuit GND n-channel FET Starterkit

36 HL CE M, lehmann usb_boothesc98.ppt 35 - 6/27/2015, 15:24 Infos on INTERNET...the interfacing solution Microcontrollers general: http://www.siemens.de/Semiconductor/Microcontroller/ http://www.siemens.de/Semiconductor/products/ICs/34/usb.htm...for infos on our USB parts


Download ppt "HL CE M, lehmann usb_boothesc98.ppt 1 - 6/27/2015, 15:24 USB-Microcontroller C540U Family."

Similar presentations


Ads by Google