Overzicht van Azure RTOS USBX
Azure RTOS USBX is een krachtige USB-host, een apparaat en een on-the-go (OTG) ingesloten stack. Azure RTOS USBX is volledig geïntegreerd met Azure RTOS ThreadX en beschikbaar voor alle ThreadX-ondersteunde processors. Net als ThreadX is Azure RTOS USBX ontworpen om een kleine footprint en hoge prestaties te hebben, waardoor het ideaal is voor diep ingesloten toepassingen waarvoor een interface met USB-apparaten is vereist.
Uitgebreide ondersteuning voor host, apparaat en OTG &
Azure RTOS USBX Host/Device embedded USB-protocolstack is een ingesloten USB-oplossing van industriële kwaliteit die speciaal is ontworpen voor diep ingesloten, realtime en IoT-toepassingen. Azure RTOS USBX biedt ondersteuning voor host, apparaat en OTG, evenals uitgebreide klasseondersteuning. Azure RTOS USBX is volledig geïntegreerd met het ThreadX Real-Time-besturingssysteem, Azure RTOS FileX embedded FAT-compatibel bestandssysteem, Azure RTOS NetX en Azure RTOS NetX Duo ingesloten TCP/IP-stacks. Dit alles in combinatie met een extreem kleine footprint, snelle uitvoering en een hoger gebruiksgemak, maken Azure RTOS USBX de ideale keuze voor de meest veeleisende ingesloten IoT-toepassingen waarvoor USB-connectiviteit is vereist.
USBX-geheugenvoetafdruk
Azure RTOS USBX heeft een relatief kleine minimale footprint van 10,5 kB FLASH en 5,1 kB RAM voor Azure RTOS CDC/ACM-ondersteuning voor USBX-apparaten. Azure RTOS USBX-host is minimaal 18 kB FLASH en 25 kB RAM vereist voor CDC/ACM-ondersteuning.
Er is 10 kB tot 13 kB aan instructiegebiedgeheugen nodig voor TCP-functionaliteit. Azure RTOS USBX RAM-gebruik varieert meestal van 2,6 kB tot 3,6 kB plus het geheugen van de pakketgroep, dat wordt gedefinieerd door de toepassing.
Net als ThreadX wordt de grootte Azure RTOS USBX automatisch geschaald op basis van de services die daadwerkelijk door de toepassing worden gebruikt. Dit elimineert vrijwel de noodzaak van gecompliceerde configuratie- en buildparameters, waardoor het voor de ontwikkelaar eenvoudiger wordt.
Verificatie van USB-interoperabiliteit
Azure RTOS USBX-apparaatstack is uitvoerig getest met het USB IF-standaardtestprogramma USBCV om te zorgen voor volledige naleving van de USB-specificaties en interoperabiliteit met verschillende hostsystemen. Bovendien is Azure RTOS USBX OTG-stack geverifieerd en gecertificeerd door de onafhankelijke testlaboratorium Allion in Taiwan.
Ondersteuning voor USB-hostcontroller
Azure RTOS USBX ondersteunt belangrijke USB-standaarden zoals OHCI en EHCI. Daarnaast biedt Azure RTOS USBX ondersteuning voor eigen discrete USB-hostcontrollers van Atmel, Email, Email, Vertrouwelijkesas, ST, TI en andere leveranciers. Azure RTOS USBX ondersteunt ook meerdere hostcontrollers in dezelfde toepassing. USB-apparaatcontrollerondersteuning Azure RTOS USBX ondersteunt populaire USB-apparaatcontrollers van analogische apparaten, Atmel, Email, NXP, Email,Ptsas, ST, TI en andere leveranciers.
Uitgebreide ondersteuning voor hostklassen
Azure RTOS USBX-host biedt ondersteuning voor de populairste klassen, waaronder ASIX, AUDIO, CDC/ACM, CDC/ECM, GSER, KEYBOARD (toetsenbord, muis en extern beheer), HUB, PIMA (PTP/MTP), PRINTER, PROLIFIC en STORAGE.
Uitgebreide ondersteuning voor USB-apparaatklasse
Azure RTOS USBX-apparaat biedt ondersteuning voor de populairste klassen, waaronder CDC/ACM, CDC/ECM, DFU,CY, PIMA (PTP/MTP) (w/MTP), RNDIS en STORAGE. Ondersteuning voor aangepaste klassen is ook beschikbaar.
Pictbridge-ondersteuning
Azure RTOS USBX ondersteunt de volledige Pictbridge-implementatie op zowel de host als het apparaat. Pictbridge bevindt zich boven op Azure RTOS USBX PIMA -klasse (PTP/MTP) aan beide zijden. De PictBridge-standaard staat de verbinding van een digitale camera of een smart phone rechtstreeks toe aan een printer zonder een pc, waardoor direct afdrukken naar bepaalde Pictbridge-printers mogelijk is. Wanneer een camera of telefoon is verbonden met een printer, is de printer de USB-host en is de camera het USB-apparaat. Met Pictbridge wordt de camera echter weergegeven als de host en worden opdrachten vanaf de camera gestuurd. De camera is de opslagserver, de printer de opslagclient. De camera is de afdrukclient en de printer is natuurlijk de afdrukserver. Pictbridge gebruikt USB als een transportlaag, maar is afhankelijk van PTP (Picture Transfer Protocol) voor het communicatieprotocol.
Ondersteuning voor aangepaste klassen
Azure RTOS usbx-host en apparaat ondersteunen aangepaste klassen. Er wordt een voorbeeld van een aangepaste klasse opgegeven in Azure RTOS USBX-distributie. Deze eenvoudige data pump klasse heet DPUMP en kan worden gebruikt als model voor aangepaste toepassingsklassen. Geavanceerde technologie Azure RTOS aangepaste klassen VOOR USBX-host en apparaatondersteuning. Er wordt een voorbeeld van een aangepaste klasse opgegeven in Azure RTOS USBX-distributie. Azure RTOS USBX is geavanceerde technologie die het volgende omvat:
- Ondersteuning voor host, apparaat en OTG
- USB-ondersteuning voor lage, volledige en hoge snelheid
- Automatische schaalaanpassing
- Volledig geïntegreerd met ThreadX, Azure RTOS FileX en Azure RTOS NetX
- Optionele metrische prestatiegegevens
- Azure RTOS ondersteuning voor TraceX-systeemanalyse
Azure RTOS USBX-API's
Azure RTOS HOST-API voor USBX
De Azure RTOS HOST-API van USBX is een intuïtieve en consistente API, volgens een naamconventie voor zelfstandige naamwoorden. Alle API's hebben toonaangevende ux_host_* om gemakkelijk te identificeren als USBX. Blokkerende API's hebben een optionele thread-time-out.
- ASIX
- Minimaal 0,3 kB FLASH, 4 kB RAM
- Automatisch schalen Trace op systeemniveau via Azure RTOS TraceX
- Intuïtieve Azure RTOS USBX-host-API's in deze vorm: ux_host_class_asix_
- AUDIO
- Minimaal 1,2 kB FLASH, 4 kB RAM
- Automatische schaalaanpassing
- Intuïtieve Azure RTOS USBX-host-API's in deze vorm: ux_host_class_audio_
- CDC/ACM
- Minimaal 1,4 kB FLASH, 4 kB RAM
- Automatische schaalaanpassing
- Traceer op systeemniveau via Azure RTOS TraceX
- Intuïtieve Azure RTOS USBX-host-API's in deze vorm: ux_host_class_cdc_acm_
- HID
- Minimaal 0,3 kB FLASH, 4 kB RAM
- Ondersteuning voor toetsenbord, muis en externe
- Automatische schaalaanpassing
- Traceer op systeemniveau via Azure RTOS TraceX
- Intuïtieve Azure RTOS USBX-host-API's in deze vorm: ux_host_class_hid_
- HUB
- Minimaal 1,7 kB FLASH, 2 kB RAM
- Automatische schaalaanpassing
- Traceer op systeemniveau via Azure RTOS TraceX
- Intuïtieve Azure RTOS USBX-host-API's in deze vorm: ux_host_class_hub_
- PIMA (PTP/MTP)
- Minimaal 0,9 kB FLASH, 8 kB RAM
- Automatische schaalaanpassing
- Traceer op systeemniveau via Azure RTOS TraceX
- Intuïtieve Azure RTOS USBX-host-API's in deze vorm: ux_host_class_pima_
- PRINTER
- Minimaal 0,8 kB FLASH, 8 kB RAM
- Automatische schaalaanpassing
- Traceer op systeemniveau via Azure RTOS TraceX
- Intuïtieve Azure RTOS USBX-host-API's in deze vorm: ux_host_class_printer_
- PRODUCTIEF
- Minimaal 1,5 kB FLASH, 4 kB RAM
- Automatische schaalaanpassing
- Traceer op systeemniveau via Azure RTOS TraceX
- Intuïtieve Azure RTOS USBX-host-API's in deze vorm: ux_host_class_prolific_
- STORAG
- Minimaal 5,6 kB FLASH, 4 kB RAM
- Automatische schaalaanpassing
Geïntegreerd met Azure RTOS FileX - Traceer op systeemniveau via Azure RTOS TraceX
- Intuïtieve Azure RTOS USBX-host-API's in deze vorm: ux_host_class_storage_
- USB-hostSTACK
- Ondersteunt veel hostcontrollers
- Minimaal 18 kB FLASH, 25 kB RAM
- Automatische schaalaanpassing
- Ondersteuning voor meerdere hostcontrollers op hetzelfde platform
- USB-ondersteuning voor lage, volledige en hoge snelheid
- Traceer op systeemniveau via Azure RTOS TraceX
- Intuïtieve Azure RTOS USBX-host-API's in deze vorm: ux_host_stack_
- OHCI, EHCI, EIGEN hostCONTROLLERS
Azure RTOS-API voor USBX-apparaten
De Azure RTOS USBX Device API is een intuïtieve en consistente API volgens een naamconventie voor zelfstandige naamwoorden. Alle API's hebben toonaangevende ux_device_* om gemakkelijk te identificeren als USBX. Blokkerende API's hebben optionele thread-time-out. Raadpleeg de Azure RTOS USBX-host voor meer informatie.
- CDC/ACM
- Minimaal 0,8 kB FLASH, 2 kB RAM
- Automatische schaalaanpassing
- Traceer op systeemniveau via Azure RTOS TraceX
- Intuïtieve Azure RTOS USBX-apparaat-API's in deze vorm: *ux_device_class_cdc_acm_**.
- CDC/ECM
- Minimaal 1,5 kB FLASH, 4 kB tot 8 kB RAM
- Automatische schaalaanpassing
- Traceer op systeemniveau via Azure RTOS TraceX
Intuïtieve Azure RTOS USBX-apparaat-API's in deze vorm: *ux_device_class_cdc_ecm_**.
- DFU
- Minimaal 1,1 kB FLASH, 2 kB RAM
- Automatische schaalaanpassing
- Traceer op systeemniveau via Azure RTOS TraceX
- Intuïtieve Azure RTOS USBX-apparaat-API's in deze vorm: ux_device_class_dfu_
- GSER
- Minimaal 0,6 kB FLASH, 4 kB RAM
- Automatische schaalaanpassing
- Traceer op systeemniveau via Azure RTOS TraceX
- Intuïtieve Azure RTOS-API's voor USBX-apparaten in deze vorm: ux_device_class_gser_
- HID
- Minimaal 0,9 kB FLASH, 2 kB RAM
- Automatische schaalaanpassing
- Traceer op systeemniveau via Azure RTOS TraceX
- Intuïtieve Azure RTOS USBX-apparaat-API's in deze vorm: ux_device_class_hid_* PIMA (PTP/MTP)
- Minimaal 5,2 kB FLASH, 8 kB RAM
- Automatische schaalaanpassing
- Traceer op systeemniveau via Azure RTOS TraceX
- Intuïtieve Azure RTOS USBX-apparaat-API's in deze vorm: ux_device_class_pima_
- OPSLAG
- Minimaal 2,3 kB FLASH, 4 kB RAM
- Automatische schaalaanpassing
- Traceer op systeemniveau via Azure RTOS TraceX
- Intuïtieve Azure RTOS USBX-apparaat-API's in deze vorm: ux_device_class_storage_
- RNDIS
- Minimaal 2,3 kB FLASH, 4 kB tot 8 kB RAM
- Automatische schaalaanpassing
- Geïntegreerd met Azure RTOS NetX en Azure RTOS NetXMBO
- Traceer op systeemniveau via Azure RTOS TraceX
- Intuïtieve Azure RTOS USBX-apparaat-API's in deze vorm: ux_device_class_rndls_
- Azure RTOS USBX-apparaatSTACK
- Minimaal 2,3 kB FLASH, 4 kB RAM
- Automatische schaalaanpassing
- Traceer op systeemniveau via Azure RTOS TraceX
- Intuïtieve Azure RTOS USBX-apparaat-API's in deze vorm: ux_device_class_storage_
- EIGEN hostCONTROLLERS
Volgende stappen
Ga aan de slag met Azure RTOS USBX-host en Apparaatstack door onze Gebruikershandleiding voor hoststack of Gebruikershandleiding voor Apparaatstack te volgen.