Need guidance for layer1 and layer 2 connection in firmware