This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

HALCoGen SPI Chip Select Hold bug

Other Parts Discussed in Thread: HALCOGEN

Hi

I am using HALCoGen 3.05 with RM48HDK and in generated functions for SPI (spiTransmitData / spiTransmitAndReceiveData) is generated code:

if(blocksize <= 2)
{
Chip_Select_Hold = 0U;
}
else
{
Chip_Select_Hold = dataconfig_t->CS_HOLD << 28U;
}

that leads to deasertion of CS between last two transmitted blocks. I think that is wrong if dataconfig_t->CS_HOLD is set to TRUE.

Regards

Hezina