EXPANDIO-USB-SS HEXWAX, EXPANDIO-USB-SS Datasheet
EXPANDIO-USB-SS
Specifications of EXPANDIO-USB-SS
Related parts for EXPANDIO-USB-SS
EXPANDIO-USB-SS Summary of contents
Page 1
... Summary expandIO-USB is an ultra-low cost USB I/O expander. It allows a PIC microcontroller to be remotely controlled via USB, significantly reducing time-to-market for simple USB-based products. expandIO-USB provides control of most microcontroller functions and is available for PIC18F14K50, LF2455, and LF4455 microcontrollers. expandIO-USB uses the Human Interface Device (HID) USB profile ...
Page 2
... FS should be assumed. given only for DIL packages. The following parts are widely stocked by distributors: expandIO-USB-FS-DIL-28 expandIO-USB-PT-FS expandIO-USB-SS Contact us for information about availability of other parts. Basic Operation To the PC (‘host’), expandIO-USB looks like a Human Interface Device (HID) with which it may exchange information using simple commands ...
Page 3
... However, you may customize them if you wish. Unless otherwise configured, the default IDs are given in table 1. Device Strings Device strings are non-volatile Unicode strings stored by the expandIO-USB and which may be read by the host PC and all its applications. For information on how to modify them, refer to the customization section. Product Name The manufacturer name is a Unicode string characters plus zero terminator ...
Page 4
... In HID terms, all transfers are 1ms interrupt reports of 64 bytes, to and from output EP1. On low speed devices, all exchanges of data (‘reports’) between the host and the expandIO-USB are 8 bytes in length. In HID terms, all transfers are 10ms interrupt reports of 8 bytes, to and from output EP1. ...
Page 5
... Mac OS and Linux is in preparation. Commands Commands are sent from the host and responses are received from expandIO in the form of HID reports. With the exception of the EXESPI, EXEI2C and EXEUNIO commands, all commands and responses are 4 bytes long. Full speed device reports contain 16 commands / responses each ...
Page 6
... UNI/O bus. Only one of SPI port or one I2C port can be configured. The MSSP resource is used. In the equations below Fo = 24MHz for expandIO-USB and 48MHz for USB-XP. SPI: If byte 1, bits 1 and 0 are 00, the MSSP port is configured for SPI operation. The SDO pin shown in the ...
Page 7
... Freq) The lowest permitted value is 0x0F, giving a maximum bus frequency of 93.75kHz for expandIO-USB and 125kHz for USB-XP. Byte 3 bits 7-4 indicate the port (A=0001, B=0010…) and byte 2 bits 2-0 indicate the bit (0- used as the SCIO pin. Multiple UNI/O buses can be implemented on separate I/O buses ...
Page 8
... It has no payload and is sent unprompted when one or more interrupt events have occurred. Interrupts occur when an interrupt is enabled (xxxIE = 1) and flagged (xxxIF = 1). In this event, expandIO-USB disables the interrupt (xxxIE = 0) and generates an INTERRUPT report the responsibility of the host application to determine the cause of the interrupt by ...
Page 9
... Only one scan operation be in progress at any one time. Once this command is sent, all enabled pins on the first port are tri-stated. When expandIO-USB is idle, it will scan these outputs by setting them one by one to a high output state and observing the state of the input port. If ...
Page 10
... Repeat interval is 6.272ms (Slowest possible is 10.88ms) The stream rate will only be achieved if the commands requested can be executed at the rate requested. Otherwise, the rate will be the maximum achievable rate. p10 22-Nov-10 expandIO-USB will never be so busy streaming data that it will not be able to respond to new commands. Example 00 00 ...
Page 11
... USB-expandIO-DIL 18LF2455 USB-expandIO-PT 18LF4455 USB-expandIO-SS 18F14K50 USB-expandIO-SS may be supplied with an ID label may be identified with a red mark on the package. Programming expandIO-USB expandIO-USB may be programmed in-circuit provided the programming signals PGC, PGD and Vpp are protected against contention. In particular, note that the Vpp line is subject to a voltage 13V during programming ...
Page 12
... FwFhidDLLExample.xls. Warranty The warranty and liability provisions for this pre-loaded software product follow software industry conventions. Please refer to www.hexwax.com for a complete warranty statement. Firmware Factory Ltd rd 2 Marshall St, 3 London W1F 9BB, UK sales@firmwarefactory.com support@firmwarefactory.com p12 22-Nov-10 Floor expandIO-USB HW148-18 www.firmwarefactory.com ...
Page 13
... UART baud rate generator low byte UART baud rate generator high byte SRCLK2 SRCLK1 SRCLK0 SRSCKE SRSC2E SRSC1E Synchronous serial port address / baud / mask Synchronous serial port receive / transmit buffer SSPOV SSPEN CKP expandIO-USB HW148- CHS1 CHS0 GO/DONE# PVCFG1 PVCFG0 NVCFG1 ACQT0 ADCS2 ...
Page 14
... CM2IE USBIE EEIE SPPIP ADIF RCIF TXIF OSCFIF CMIF USBIF EEIF – – PORTA5 PORTA4 PORTA3 PORTA2 PORTA1 PORTA0 PORTB7 PORTB6 PORTB5 PORTB4 PORTB3 PORTB2 PORTB1 PORTB0 expandIO-USB RCEN PEN RSEN MSK3 MSK2 MSK1 S R/ PSA T0PS2 ...
Page 15
... TXSTA 0xAC Appendix B: Device Pin-Outs Device pin-outs are shown in the accompanying PDF file “expandIO-USB Pinouts HW148B”. These pages are coped from the base controller data sheets and are copyright Microchip Technology Ltd. p15 22-Nov-10 Description / Bitmap ...