Lantronix
manual
DSTni-EX User Guide, Section Five
Block Diagram
SelectO Signal
Error Condition
Wire-O
Warranty
CAN Configuration Registers
Reset
Endpoint for Token Command
6. CAN Connector
Digital Phase Lock Loop Logic
Page 1
DSTni-EX
User Guide
Section Five
Part Number
900-335
Revision A 3/04
Page 1
Page 2
Image 1
Page 1
Page 2
Contents
Section Five
DSTni-EX User Guide
Page
Lantronix
Copyright & Trademark
Technical Support
Master Distributor
Warranty
1 About This User Guide
Contents
2 SPI Controller
3 I2C Controller
5 CAN Controllers
List of Tables
Table 3-17. Clock Control Register
List of Figures
1 About This User Guide
Conventions
Intended Audience
Navigating Online
Notes Notes are information requiring attention
Organization
Theory of Operation
2 SPI Controller
SPI Background
DSTni SPI Controller
Table 2-1. SPI Controller Register Summary
SPI Controller Register Summary
SPIDATA Register
SPI Controller Register Definitions
RESET
Table 2-2. SPIDATA Register
Interrupt Request Enable
CTL Register
Phase Select
Wire-O
Table 2-6. SPISTAT Register
SPISTAT Register
Table 2-7. SPISTAT Register Definitions
Interrupt Request
Table 2-10. BCNT Bit Settings
SPISSEL Register
SelectO Signal
Table 2-8. SPISSEL Register
DVDCNTRHI
DVDCNTRLO Register
Table 2-11. DVDCNTRLO Register
Table 2-12. DVDCNTRLO Register Definitions
3 I2C Controller
Features
I2C Background
Block Diagram
Figure 3-1. DSTni I2C Controller Block Diagram
Operating Modes
I2C Controller
Master Transmit Mode
Code
Table 3-1. Master Transmit Status Codes
I2C State
Microprocessor Response
Table 3-2. Codes After Servicing Interrupts Master Transmit
Servicing the Interrupt
Table 3-3. Status Codes After Each Data Byte Transmits
Transmitting Each Data Byte
All Bytes Transmit Completely
Master Receive Mode
Table 3-4. Master Receive Status Codes
Table 3-5. Codes After Servicing Interrupt Master Receive
Table 3-6. Codes After Receiving Each Data Byte
Receiving Each Data Byte
Slave Transmit Mode
Slave Receive Mode
Bus Clock Speed
Bus Clock Considerations
Clock Synchronization
Bus Arbitration
I2C Controller Register Summary
Programmer’s Reference
Resetting the I2C Controller
Table 3-7. I 2C Controller Register Summary
Slave Address Register
I2C Controller Register Definitions
General Call Address Enable
Table 3-8. Slave Address Register
Table 3-10. Data Register
Data Register
Table 3-12. Control Register
Control Register
Table 3-13. Control Register Definitions
Extended Slave Address
Table 3-14. Status Register
Status Register
Table 3-16. Status Codes
Table 3-15. Status Register Definitions
Status Code
Table 3-17. Clock Control Register
Clock Control Register
Table 3-18. Clock Control Register Definitions
Extended Slave Address Register
Software Reset Register
Table 3-21. Software Reset Register
Table 3-22. Software Reset Register Definitions
4 USB Controller
USB Interrupt
USB Background
USB Core
Serial Interface Engine
Digital Phase Lock Loop Logic
USB Hardware/Software Interface
Microprocessor Interface
Buffer Descriptor Table
Rx vs. Tx as a Target Device or Host
Figure 4-1. Buffer Descriptor Table
Addressing BDT Entries
Table 4-1. USB Data Direction
Table 4-2. 16-Bit USB Address
Table 4-3. 16-Bit USB Address Definitions
USB Controller Determines…
Table 4-4. BDT Data Used by USB Controller and Microprocessor
Microprocessor Determines…
Table 4-5. USB Buffer Descriptor Format
BD Owner
Table 4-6. USB Buffer Descriptor Format Definitions
DATA0/1 Transmit or Receive
USB Ownership
Figure 4-2. USB Token Transaction
USB Transaction
Table 4-7. USB Register Summary
USB Register Summary
Dedicated to host mode
Interrupt Status Register
USB Register Definitions
Table 4-8. Interrupt Status Register
Table 4-9. 16- Interrupt Status Register Definitions
Sleep Timer
Enable/Disable USBRST Interrupt
Error Condition
USB Reset
Table 4-10. Error Interrupt Status Register
Error Register
Table 4-11. 16- Error Interrupt Status Register Definitions
Data Field Received Not 8 Bits
Error interrupt with two functions
CRC16 Failure
PID check field failed
Live USB Single Ended Zero Signal
Live USB Differential Receiver JSTATE Signal
Table 4-12. Status Register
Table 4-13. Status Register Definitions
Host Mode Enable valid for host mode only
USB Reset Signal
Resume Signaling
BDT PDD Reset
Table 4-14. Address Register
Address Register
Table 4-15. 16- Address Register Definitions
Table 4-16. Frame Number Register
Frame Number Registers
Table 4-17. Frame Number Register Definitions
Frame Number
Token Register
Table 4-18. Token Register
Endpoint for Token Command
Table 4-19. Token Register Definitions
Table 4-20. Valid PID Tokens
Endpoint Enable
Endpoint Control Registers
Table 4-21. Endpoint Control Registers
Table 4-22. Endpoint Control Register Definitions
Table 4-23. Endpoint Control Register Definitions
Host Mode Operation
Figure 3. Enable Host Mode and Configure a Target Device
Sample Host Mode Operations
Figure 4. Full-Speed Bulk Data Transfers to a Target Device
Figure 4-5. Pull-up/Pull-down USB
USB Pull-up/Pull-down Resistors
USB Output Enable
USB Interface Signals
HOST Mode Enable
Clock CLK
5 CAN Controllers
CANBUS Background
Arbitration and Error Checking
Data Exchanges and Communication
Table 5-1. Bit Rates for Different Cable Lengths
CANBUS Speed and Length
Register Summary
CAN Register Summaries
Hex Offset
Register
Register
Table 5-4. Detailed CAN Register Map
Detailed CAN Register Map
Hex Offset
Acceptance Filter Enable Register
Register
TX Message Registers
CAN Register Definitions
Figure 5-1. TX Message Routing
Sending a Message
Table 5-5. TxMessage0ID28
Tx Message Registers
Table 5-6. TxMessage0ID12
Table 5-7. TxMessage0Data
Table 5-13. TxMessage0 Register Definitions
Table 5-12. TxMessage0Ctrl Flags
Message Identifier for Both Standard and Extended Messages
Message Data
Figure 5-2. RX Message Routing
RX Message Registers
Table 5-14. RxMessageID28
Rx Message Registers
Table 5-15. Rx Message ID28 Register Definitions
Table 5-16. RxMessageID12
Table 5-21. Rx Message Data 39 Register Definitions
Table 5-20. Rx Message Data
Table 5-22. Rx Message Data
Table 5-23. Rx Message Data 23 Register Definitions
Table 5-27. Rx Message RTR Register Definitions
Table 5-26. RxMessage RTR
Table 5-28. Rx Message Msg Flags
Table 5-29. Rx Message Msg Flags Register Definitions
Table 5-30. Tx/Rx Error Count
Error Count and Status Registers
Table 5-31. Tx\Rx Error Count Register Definitions
Table 5-32. Error Status
Table 5-35. Tx/Rx Message Level Register Definitions
Table 5-34. Tx/Rx Message Level Register
rxlevel10
txlevel10
Note The reset value of this register’s bits is indeterminate
Interrupt Flags
CRC Error
Format Error
Table 5-38. Interrupt Enable Registers
Interrupt Enable Registers
Table 5-39. Interrupt Enable Register Definitions
Bus Off State − int2n group error interrupts
Table 5-40. Interrupt Enable Registers
CAN Operating Mode
Table 5-41. Interrupt Enable Register Definitions
Overload Condition − int3n group diagnostic interrupts
Configuration Bit Rate
CAN Configuration Registers
Figure 5-3. CAN Operating Mode
Table 5-42. Bit Rate Divisor Register
Table 5-45. Configuration Register Definitions
Table 5-44. Configuration Register
Overwrite Last Message
Cfgsjw
tseg1 +
Bit Time
tseg2 +
time quanta TQ
Table 5-46. Acceptance Filter Enable Register
Acceptance Filter and Acceptance Code Mask
Table 5-47. Acceptance Filter Enable Register Definitions
Table 5-48. Acceptance Mask 0 Register
Table 5-51. Acceptance Mask Register ID12 Definitions
Table 5-50. Acceptance Mask Register ID
Table 5-52. Acceptance Mask Register Data
D5556
Table 5-55. Acceptance Code Register Definitions
Table 5-54. Acceptance Code Register
Table 5-56. Acceptance Mask Register ID12
Table 5-57. Acceptance Mask Register ID12 Definitions
Arbitration Lost Capture Register
CANbus Analysis
Table 5-60. Arbitration Lost Capture Register
Table 5-61. Arbitration Lost Capture Register Definitions
Table 5-62. Error Capture Register
Error Capture Register
Table 5-63. Error Capture Register Definitions
Errorcode
Frame Reference Register
Table 5-65. Error Capture Register Definitions
Table 5-64. Frame Reference Register
Stuff Bit Inserted
Interface Connections
CAN Bus Interface
Figure 5-6. CAN Connector
Figure 5-5. CAN Bus Interface
+5CAN
Figure 5-7. Power for CAN
GNDCAN
+24V
0.01uf
Figure 5-8. CAN Transceiver and Isolation Circuits
Related pages
Troubleshooting for Pelonis HC-0125D
Nuance PaperPort Card Scanner Product Specifications for Xerox 200
Built-in CD Player’s Error Message for Pioneer DEH-2100R
Care & Cleaning Cleaning Chart for Frigidaire 318205852
31 AlliedWare OS How To Note Igmp for Allied Telesis AR400
Installation Instructions for Bertazzoni FD30 PRO XE
DH1500 Parts List for Stanley Black & Decker DH1500 DH3500 DH9000
Language Code List for Samsung HT-X200
What does Figure 12.10 illustrate about flash synchronization?
View Figure 12.10 details
Top
Page
Image
Contents