7I90HD 30
REFERENCE INFORMATION
LBP16
SPACE 0: HOSTMOT2 REGISTERS
Example: read first 5 entries in hostmot2 IDROM:
85420004
85 ; 85 == NN = 5 | Inc bit (0x80) so address is incremented after each access
42 ; Read from space 0 with address included after command
00 ; LSB of address (IDROM starts at 0x0400)
04 ; MSB of address (IDROM starts at 0x0400)
Example: write 3 GPIO ports starting at 0x1000:
83C20010AAAAAAAABBBBBBBBCCCCCCCC
83 ; 83 == NN = 3 | Inc bit so address is incremented after each access
C2 ; Write to space 0 with address included after command
00 ; LSB of address (GPIO starts at 0x1000)
10 ; MSB of address (GPIO starts at 0x1000)
AAAAAAAA ; 32 bit data for GPIO port 0 at 0x1000
BBBBBBBB ; 32 bit data for GPIO port 0 at 0x1004
CCCCCCCC ; 32 bit data for GPIO port 0 at 0x1008
Note: like all LBP16 data, write data is LS byte first.