User Tools

Site Tools


artnetv3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
artnetv3 [2016/09/24 17:34] maxi2artnetv3 [2016/09/24 20:32] (current) – [Table] maxi2
Line 1: Line 1:
 ====== ArtNET Node v3 ====== ====== ArtNET Node v3 ======
  
-==== FPGA Register ====+===== FPGA Register ====
 +Der FPGA enthält ein paar Register, die über den SPI Bus von einem Microcontroller geschrieben/gelesen werden können. Mithilfe dieser Register werden alle Blöcke, die implementiert wurden, konfiguriert.
  
-Der FPGA enthält ein paar Register, die über den SPI Bus vom Microcontroller geschrieben/gelesen werden können. Mithilfe dieser Register werden alle Funktionalitäten die implementiert wurde konfiguriert.+==== SPI Kommunikation ====
  
 +=== Register Schreiben ===
  
-Um ein Register zu schreiben muss zuerst der Opcode 'w' gesendet werden, dann die **Registeradresse** und zu letzt der neue **Wert**.+Um ein Register zu schreiben muss zuerst der **Opcode 'w' (0x77)** gesendet werden, dann die **Registeradresse** und zu Letzt der neue **Wert**.
  
-=== Registermap ===+{{:artnet_fpga_write_reg.png}} 
 +   
 +//Beispiel: Register 0x0B wird mit 0xB0 beschrieben//
  
-^ Address  ^ Name     ^ Description                 ^ Bit 7                ^ Bit 6  ^ Bit 5  ^ Bit 4                        ^ Bit 3                               ^ Bit 2                   ^ Bit 1  ^ Bit 0  ^ +==== Registermap ==== 
-| 0x00     | IPADDR0  | Lowest byte of IP address   | interpreted as byte                                                                                                                              |||||||| +^ Address  ^ Name      ^ Description                 ^ Bit 7                ^ Bit 6  ^ Bit 5  ^ Bit 4                        ^ Bit 3     ^ Bit 2                   ^ Bit 1  ^ Bit 0  ^ 
-| 0x01     | IPADDR0  | ...                         | interpreted as byte                                                                                                                              |||||||| +| 0x00     | IPADDR0   | Lowest byte of IP address   | interpreted as byte                                                                                                    |||||||| 
-| 0x02     | IPADDR2  | ...                         | interpreted as byte                                                                                                                              |||||||| +| 0x01     | IPADDR0   | ...                         | interpreted as byte                                                                                                    |||||||| 
-| 0x03     | IPADDR3  | Highest byte of IP address  | interpreted as byte                                                                                                                              |||||||| +| 0x02     | IPADDR2   | ...                         | interpreted as byte                                                                                                    |||||||| 
-                                                                                                                                                                                                  ||||||||||| +| 0x03     | IPADDR3   | Highest byte of IP address  | interpreted as byte                                                                                                    |||||||| 
-| 0x0C     | IOACFG   | config of physical I/O A    | X                    | X      | X      | direction\\ 0 = out, 1 = in  | enable\\ 0 = disabled, 1 = enabled  | address of data buffer                  ||| +0x04     BUF0ADDR  ArtNET address buffer 0     Sub-Net                                                            |||| Universe                                           |||| 
-0x0C     | IOBCFG   | config of physical I/O B    | X                    | X      | X      | direction                    | enable                              | address of data buffer                  ||| +| 0x05     | BUF1ADDR  | ArtNET address buffer 1     | Sub-Net                                                            |||| Universe                                           |||| 
-0x0C     | IOCCFG   | config of physical I/O C    | X                    | X      | X      | direction                    | enable                              | address of data buffer                  ||| +| 0x06     | BUF2ADDR  | ArtNET address buffer 2     | Sub-Net                                                            |||| Universe                                           |||| 
-0x0C     | IODCFG   | config of physical I/O D    | X                    | X      | X      | direction                    | enable                              | address of data buffer                  ||| +| 0x07     | BUF3ADDR  | ArtNET address buffer 3     | Sub-Net                                                            |||| Universe                                           |||| 
-0x0C     | IOECFG   | config of physical I/O E    | X                    | X      | X      | direction                    | enable                              | address of data buffer                  ||| +| 0x08     | BUF4ADDR  | ArtNET address buffer 4     | Sub-Net                                                            |||| Universe                                           |||| 
-0x0C     | IOFCFG   | config of physical I/O F    | X                    | X      | X      | direction                    | enable                              | address of data buffer                  ||| +| 0x09     | BUF5ADDR  | ArtNET address buffer 5     | Sub-Net                                                            |||| Universe                                           |||| 
-0x0C     | IOGCFG   | config of physical I/O G    | X                    | X      | X      | direction                    | enable                              | address of data buffer                  ||| +| 0x0A     | BUF6ADDR  | ArtNET address buffer 6     | Sub-Net                                                            |||| Universe                                           |||| 
-0x0C     | IOHCFG   | config of physical I/O H    | X                    | X      | X      | direction                    | enable                              | address of data buffer                  |||+| 0x0B     | BUF7ADDR  | ArtNET address buffer 7     | Sub-Net                                                            |||| Universe                                           |||| 
 +| 0x0C     | IOACFG    | config of physical I/O A    | X                    | X      | X      | direction\\ 0 = out, 1 = in  | enable    | address of data buffer                  ||| 
 +0x0D     | IOBCFG    | config of physical I/O B    | X                    | X      | X      | direction                    | enable    | address of data buffer                  ||| 
 +0x0E     | IOCCFG    | config of physical I/O C    | X                    | X      | X      | direction                    | enable    | address of data buffer                  ||| 
 +0x0F     | IODCFG    | config of physical I/O D    | X                    | X      | X      | direction                    | enable    | address of data buffer                  ||| 
 +0x10     | IOECFG    | config of physical I/O E    | X                    | X      | X      | direction                    | enable    | address of data buffer                  ||| 
 +0x11     | IOFCFG    | config of physical I/O F    | X                    | X      | X      | direction                    | enable    | address of data buffer                  ||| 
 +0x12     | IOGCFG    | config of physical I/O G    | X                    | X      | X      | direction                    | enable    | address of data buffer                  ||| 
 +0x13     | IOHCFG    | config of physical I/O H    | X                    | X      | X      | direction                    | enable    | address of data buffer                  |||
artnetv3.1474731275.txt.gz · Last modified: by maxi2