I have my SPI communication working. I can see my Sent and received Data on SPI bus. So, to check the LED driver Configuration I have written below code to write the data in MAP_0 register and read it back.
LedSpiCmdWriteWord(0x6C, 0xCC); /* Send unlock MAP command */
LedSpiCmdReadWriteVerify(0X40, 0X11, 0x80, &spi_error); // code for checking LED Driver
LedSpiCmdWriteWord(0x68, 0xA5); /* Send lock MAP command */
SPI MOSI pin has Data log as ---> 6CCC 4011 8000 0000 68A5
SPI MISO pin has Data log as ---> 2000 2444 0000 8024 0000
So when I wrote 0x11 in Map Register_0 using Address 0x40, while reading Map_0 Register using Address 0x80 I am getting 0x24 as return value.
What might be wrong?