Other Parts Discussed in Thread: HALCOGEN
Device used: RM48L952ZWT
Hello,
I try to use spiTransmitData, function generated by Halcogen. I see at the end of the function a check done on Rx flag (= 1 means buffer full)
while((spi->FLG & 0x00000100U) != 0x00000100U)
{
} /* Wait */
Should it not be that:
while((spi->FLG & 0x00000200U) != 0x00000200U)
{
} /* Wait */
Meaning that Tx buffer is empty??
Have a good day