Part Number: TMS320F28379D
Other Parts Discussed in Thread: CC3200
Tool/software: Code Composer Studio
Hi,
I posted a question about sending more than 2 chars through spi using F28379D, so, i check and modify every single bit of all registers for understand where i can fall in error. But after that i can tell you that the setting is right. My fault is in Code Sketch, infact i can send 2 chars but i have really problem to shift the TXBUFF after this 2 chars. How i can write in the sketch to wait until my BUFFULL_FLAG is full? , i need to wait until this Buff is completly full with my chars.
Another question regarding C++ Language used for TI Sketch. In another post i saw this command : SpiaRegs.SPITXBUF =sdata[0] | sdata[1]<<8;
While sdata[0] ='A'; and sdata[1] ='B';
and it work, but only for 2 chars.
I tried to create a for cycle using int i=0; and SpiaRegs.SPITXBUF=sdata[i] and incremente i++, but how i said the problem is in the shift, the result is the only last char sent.
My objective is to sent a string of chars, for example to response at my CC3200 : "This is F28379D Slave Application" or send an ADC samples.
Any help would be appreciated !! Thanks, Alessio