| Os motores de busca de Datasheet de Componentes eletrônicos |
|
ADIN2111CCPZ-R7 Folha de dados(PDF) 47 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADIN2111CCPZ-R7 Folha de dados(HTML) 47 Page - Analog Devices |
|
47 / 125 page ![]() Data Sheet ADIN2111 SWITCH SPI analog.com Rev. 0 | 47 of 125 MDIO PHY Address Determination The ADIN2111 allows access to the two PHY registers via an SPI to MDIO master bridge. Each of the two PHYs has a fixed MDIO PHY address, as follows: ► MDIO PHY Address 1: PHY 1 ► MDIO PHY Address 2: PHY 2 Clause 45 MDIO Operation Examples Example write to PHY 1 Register XYZ: 1. Write MDIOACC0 with MDIO_DATA = the address of Regis- ter XYZ, MDIO_DEVAD = the device ID of Register XYZ, MDIO_PRTAD = 0x1, MDIO_OP = 0x0(ADDR), MDIO_ST = 0x0, and TRDONE = 0x0. 2. Write MDIOACC1 with MDIO_DATA = the value to be written to Register XYZ, MDIO_OP = 0x1(WR) and TRDONE = 0x0. 3. Optionally, poll MDIOACC0. TRDONE = 0x1 to determine that the write address operation has completed. 4. Poll MDIOACC1. TRDONE = 0x1 to determine that the write data operation completed. Example read of PHY 1 Register XYZ: 1. Write MDIOACC0 with MDIO_DATA = the address of Register XYZ, MDIO_OP = 0x0(ADDR), and TRDONE = 0x0. 2. Write MDIOACC1 with MDIO_OP = 0x3(RD) and TRDONE = 0x0. 3. Poll MDIOACC1. TRDONE = 0x1 to determine that the write data operation completed. MDIOACC1. MDIO_DATA reflects the content of MDIO Register XYZ. Example write operation followed by a read to verify the write operation: 1. Write MDIOACC0 with MDIO_DATA = the address of register ABC and TRDONE = 0x0. 2. Write MDIOACC1 with MDIO_DATA = the value to be written to register ABC, MDIO_OP = 0x1(WR), and TRDONE = 0x0. 3. Write MDIOACC2 MDIO_OP = 0x3(RD) and TRDONE = 0x0. 4. Poll MDIOACC2. TRDONE = 0x1 to verify that all operations completed. MDIO_DATA reflects the content of register ABC. Example of four consecutive writes. It is possible to write a com- mand to all eight registers before checking any. 1. Write MDIOACC0 with MDIO_DATA = the address of Register ABC and TRDONE = 0x0. 2. Write MDIOACC1 with the write data for register ABC, MDIO_OP = 0x1, and TRDONE = 0x0. 3. Write MDIOACC2 with MDIO_DATA = the address of Register DEF and TRDONE = 0x0. 4. Write MDIOACC3 with the write data for register DEF, MDIO_OP = 0x1, and TRDONE = 0x0. 5. Write MDIOACC4 with MDIO_DATA = the address of Register GHJ and TRDONE = 0x0. 6. Write MDIOACC5 with the write data for register GHJ, MDIO_OP = 0x1, and TRDONE = 0x0. 7. Write MDIOACC6 with MDIO_DATA = the address of Register XYZ and TRDONE = 0x0. 8. Write MDIOACC7 with the write data for Register XYZ, MDIO_OP = 0x1, and TRDONE = 0x0. 9. Host polls MDIOACC7. TRDONE = 0x1 to verify that all write data operations are complete. Example burst read starting from Register XYZ: 1. Write MDIOACC0 with MDIO_DATA = the address of the Regis- ter XYZ, MDIO_OP = 0x0(ADDR), and TRDONE = 0x0 2. Write MDIOACC1 with MDIO_OP = 0x2(INC_RD) and TRDONE = 0x0. 3. Write MDIOACC2 with MDIO_OP = 0x2(INC_RD) and TRDONE = 0x0. 4. Write MDIOACC3 with MDIO_OP = 0x2(INC_RD) and TRDONE = 0x0. 5. Write MDIOACC4 with MDIO_OP = 0x2(INC_RD) and TRDONE = 0x0. 6. Write MDIOACC5 with MDIO_OP = 0x2(INC_RD) and TRDONE = 0x0. 7. Write MDIOACC6 with MDIO_OP = 0x2(INC_RD) and TRDONE = 0x0. 8. Write MDIOACC7 with MDIO_OP = 0x2(INC_RD) and TRDONE = 0x0. 9. Poll MDIOACC7. TRDONE = 1 to verify that all read data operations are complete. 10. Read MDIOACC1. MDIO_DATA, reflects the content of Register XYZ. 11. Read MDIOACC2. MDIO_DATA, reflects the content of Register XYZ. ADDR + 1. 12. Read MDIOACC3. MDIO_DATA, reflects the content of Register XYZ. ADDR + 2. 13. Read MDIOACC4. MDIO_DATA, reflects the content of Register XYZ. ADDR + 3. 14. Read MDIOACC5. MDIO_DATA, reflects the content of Register XYZ. ADDR + 4. 15. Read MDIOACC6. MDIO_DATA, reflects the content of Register XYZ. ADDR + 5. 16. Read MDIOACC7. MDIO_DATA, reflects the content of Register XYZ. ADDR + 6. Clause 22 MDIO Operations Examples Example of Clause 22 write of Register XYZ: 1. Write MDIOACC0 with MDIO_DATA = write data, MDIO_DEV_AD = the address of the Register XYZ, MDIO_PRTAD = 0x1, MDIO_OP = 0x1(WR), MDIO_ST = 0x1(Clause 22), and TRDONE = 0x0. |
|
Ligação URL |
| ALLDATASHEET é útil para você? [ DONATE ] |
Sobre Alldatasheet | Publicidade | Contato conosco | Privacy Policy | Link para a ficha técnica | roca de Link | Lista de Fabricantes All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |