TMS570LS1224: SPI Daisy chain

Part Number: TMS570LS1224
Other Parts Discussed in Thread: HALCOGEN

I tried using CCS and HalCoGEN for generating SPI signals for the slave devices connected in daisy chain. It is not working,

How to transfer two set of data as given in the below image. 

This is given for three slave devices connected in SPI daisy chain. How to initiate for two slave devices? 

What do I need to modify in the code and HalCoGEN for achieving it ?

ADS7952: Daisy chain of SPI for ADS7952 - Data converters forum - Data  converters - TI E2E support forums

HalCoGEN configuration:

CCS CODE:

#include "sys_common.h"

/* USER CODE BEGIN (1) */
#include "mibspi.h"
/* USER CODE END */

/** @fn void main(void)
* @brief Application main function
* @note This function is empty by default.
*
* This function is called after startup.
* The user can use this function to implement the application.
*/

/* USER CODE BEGIN (2) */
/* USER CODE END */
//uint16 count = 3;
int main(void)
{
/* USER CODE BEGIN (3) */
uint16_t txBuffer[] = { 0XB900, 0XB900, 0XB900, 0XB900 };
uint16_t txBuffer1[] = { 0XA900, 0XA900, 0XA900, 0XA900, 0XA900};

mibspiInit(); /*initialize the spi */
mibspiEnableGroupNotification(mibspiREG1,0,0);
mibspiEnableGroupNotification(mibspiREG1,1,0);

mibspiSetData(mibspiREG1, 0, txBuffer);
mibspiSetData(mibspiREG1, 1, txBuffer1);

while(1);
/* USER CODE END */

}

void mibspiGroupNotification(mibspiBASE_t *mibspi, uint32 group)
{
switch (group){
case 0 :
/* Enable TG1 to start, SW Trigger */
mibspiTransfer(mibspiREG1,0);
break;
case 1 :
/* Enable TG1 to start, SW Trigger */
mibspiTransfer(mibspiREG1,1);
break;

default :
while(1);
break;
}
}