OEM Cobranet Module Design Guide
Total Page:16
File Type:pdf, Size:1020Kb
CDK-8 OEM CobraNet Module Design Guide Date 8/29/2008 Revision 1.1 © Attero Tech, LLC 1315 Directors Row, Suite 107, Ft Wayne, IN 46808 Phone 260-496-9668 • Fax 260-496-9879 620-00001-01 CDK-8 Design Guide Contents 1 – Overview .....................................................................................................................................................................................................................................2 1.1 – Notes on Modules .................................................................................................................................................... 2 2 – Digital Audio Interface Connectivity...........................................................................................................................................................................3 2.1 – Pin Descriptions ....................................................................................................................................................... 3 2.1.1 - Audio clocks ..................................................................................................................................................... 3 2.1.2 – Digital audio..................................................................................................................................................... 3 2.1.3 – Serial bridge ..................................................................................................................................................... 4 2.1.4 – Control............................................................................................................................................................. 4 2.1.5 – Power ............................................................................................................................................................... 4 2.2 – Reference design...................................................................................................................................................... 4 3 – HMI Interfacing.....................................................................................................................................................................................................................13 3.1 – External Memory Bus Example................................................................................................................................ 13 3.1.1 – Schematic diagrams........................................................................................................................................ 13 3.1.2 – Software notes................................................................................................................................................ 15 3.1.3 – Source Code - ‘C’ file ...................................................................................................................................... 15 3.1.4 – Source code - header file ................................................................................................................................ 20 3.2 – GPIO Port Example ................................................................................................................................................. 21 3.2.1 – Schematic diagram ......................................................................................................................................... 21 3.2.2 – Software notes................................................................................................................................................ 22 3.2.3 – HMI Setup and Initialization............................................................................................................................ 23 3.2.4 – HMI Driver – Header file.................................................................................................................................. 23 3.2.5 – HMI Driver – ‘C’ code...................................................................................................................................... 24 4 – PCB Design Guidelines .....................................................................................................................................................................................................32 4.1 – Power Supply.......................................................................................................................................................... 32 4.2 – Clock Termination.................................................................................................................................................. 32 4.3 – Clock signal parallel end termination ..................................................................................................................... 32 4.4 – Grounding.............................................................................................................................................................. 32 4.5 – Signal Separation.................................................................................................................................................... 32 4.6 – Chassis Grounding ................................................................................................................................................. 32 5 – End Product Bring-up hints............................................................................................................................................................................................33 5.1 – Power Supplies ....................................................................................................................................................... 33 5.2 – Clocks and I2S lines ............................................................................................................................................... 33 5.3 – Ethernet LED activity............................................................................................................................................... 33 APPENDIX A – CDK-8DUART SHMI message protocol........................................................................................................................................... A-1 A1 – Terminology........................................................................................................................................................... A-1 A2 – System Description ................................................................................................................................................ A-2 A3 – Serial Format.......................................................................................................................................................... A-3 A3.1 – Message Format ............................................................................................................................................. A-3 A3.2 – Read Messages............................................................................................................................................... A-4 A3.3 – Write Messages .............................................................................................................................................. A-5 A3.4 – Baud Rate Change Message ............................................................................................................................ A-6 A3.5 – NACK Response Descriptions ......................................................................................................................... A-6 A4 – Commands & Responses ........................................................................................................................................ A-8 A4.1 – Legend ........................................................................................................................................................... A-9 A4.2 – sysDescr......................................................................................................................................................... A-9 A4.3 – sysContact ..................................................................................................................................................... A-9 A4.4 – sysName ........................................................................................................................................................ A-9 A4.5 – sysLocation .................................................................................................................................................. A-10 A4.6 – ifPhysAddress............................................................................................................................................... A-10 A4.7 – flashPersistEnable ........................................................................................................................................ A-10 A4.8 – errorCode..................................................................................................................................................... A-10 A4.9 – errorCount ................................................................................................................................................... A-10 A4.10 – modeRateControl ....................................................................................................................................... A-11 A4.11 – conductorStatus ........................................................................................................................................