Hello NXP TechSupport
I tried to use the SPI_MasterTransfer function of SPI PAL to send two signals, the first signal was sent out, but the second signal was not sent out.
sending code:
su1_SPIwriteDate[0] = ((WriteAddr << 1U) & 0xFEU); su1_SPIwriteDate[1] = 1;//*pBuffer; su2_spiReadState = 1; su2_spiReadState = SPI_MasterTransfer(&spi1Instance, su1_SPIwriteDate, su2_SPIReadDate, 2);
init code:
SPI_MasterInit(&spi1Instance, &spi1_MasterConfig0);
config info(generated code (sdk3.0)):
spi_master_t spi1_MasterConfig0 =
{
.baudRate = 500000,
.ssPolarity = SPI_ACTIVE_HIGH,
.frameSize = 8,
.clockPhase = READ_ON_ODD_EDGE,
.clockPolarity = SPI_ACTIVE_HIGH,
.bitOrder = SPI_TRANSFER_MSB_FIRST,
.transferType = SPI_USING_INTERRUPTS,
.rxDMAChannel = 255U,
.txDMAChannel = 255U,
.callback = NULL,
.callbackParam = NULL,
.ssPin = 0,
.extension = NULL
};


Please help me see where the problem is
Thank you