Lantronix DSTni-EX Computer Hardware User Manual


 
iii
Contents
Copyright & Trademark ________________________________________________________i
Warranty___________________________________________________________________ ii
Contents___________________________________________________________________ iii
List of Tables _______________________________________________________________iv
List of Figures_______________________________________________________________ vi
1: About This User Guide _________________________________________ 1
Intended Audience ___________________________________________________________ 2
Conventions ________________________________________________________________ 2
Navigating Online____________________________________________________________ 2
Organization________________________________________________________________ 3
2: SPI Controller ________________________________________________ 4
Theory of Operation __________________________________________________________ 4
SPI Background___________________________________________________________ 4
DSTni SPI Controller _______________________________________________________ 4
SPI Controller Register Summary _______________________________________________ 5
SPI Controller Register Definitions ______________________________________________ 6
SPI_DATA Register________________________________________________________ 6
CTL Register _____________________________________________________________ 7
SPI_STAT Register ________________________________________________________ 8
SPI_SSEL Register ________________________________________________________ 9
DVD_CNTR_LO Register __________________________________________________ 10
DVD_CNTR_HI __________________________________________________________ 10
3: I
2
C Controller________________________________________________ 11
Features__________________________________________________________________ 11
Block Diagram _____________________________________________________________ 12
Theory of Operation _________________________________________________________ 12
I
2
C Background __________________________________________________________ 12
I
2
C Controller ____________________________________________________________ 13
Operating Modes _________________________________________________________ 13
Bus Clock Considerations __________________________________________________ 21
Programmer’s Reference_____________________________________________________ 22
I
2
C Controller Register Summary_______________________________________________ 22
I
2
C Controller Register Definitions ______________________________________________ 23
Slave Address Register ____________________________________________________ 23
Data Register____________________________________________________________ 24
Control Register__________________________________________________________ 25
Status Register __________________________________________________________ 26
Clock Control Register_____________________________________________________ 28
Extended Slave Address Register____________________________________________ 29
Software Reset Register ___________________________________________________ 29
4: USB Controller ______________________________________________ 30
Features__________________________________________________________________ 30
Theory of Operation _________________________________________________________ 31
USB Background _________________________________________________________ 31
USB Interrupt____________________________________________________________ 31
USB Core_______________________________________________________________ 31
USB Hardware/Software Interface ___________________________________________ 32
USB Transaction _________________________________________________________ 37
USB Register Summary______________________________________________________ 38
USB Register Definitions _____________________________________________________ 39
Interrupt Status Register ___________________________________________________ 39
Error Register ___________________________________________________________ 41
Status Register __________________________________________________________ 43
Address Register _________________________________________________________ 45
Frame Number Registers __________________________________________________ 46
Token Register __________________________________________________________ 47
Endpoint Control Registers _________________________________________________ 49