It appears from this link: (https://shop.iflight.com/as5048a-magnetic-encoder-pro262) that iFlight makes the SPI cable to be connected to SBGC v3.6 gimbal controller. Based on the wire colors and comparing the pinout of AS5048A to that of the SBGC v3.6, it turns out that: GND=white, 5V=red, MISO=green, MOSI=yellow, SCL=blue, SDA=black. The two terminals of the SPI cable provided by iFlight are not identical: one fits the pinout for AS5048A, the other one the pinout for the SBGC.