AnsweredAssumed Answered

Regarding visualDSP++ programming for BF518

Question asked by Vr123 on Feb 22, 2012

void sendSPIByte(int toSend)

{

int var1;

while(*pSPI_STAT==0x0008);

SPITDBR=toSend;

while(*pSPI_STAT==0x0020);

var1 = SPIRDBR;

This is a part of my code . The error code os cc0029 and the error message is "

".\sample.c", line 142: cc0029:  error: expected an expression

  SPITDBR=toSend;

 

please help me to troubleshoot

         ^

Outcomes