Sign in

username:

password:



Not a member?

Search motoroladsp



Search tips

Subscribe to motoroladsp



motoroladsp by Keywords

56303 | 563xx | 5680 | 56805 | 5680x | 56F80 | 56F800DEMO | 56F805 | 56f807 | 56F830 | ADC | Bootloader | Codec | CodeWarrior | CW5 | CW6 | Debugger | DSP56303 | DSP56303EVM | DSP563xx | DSP5680 | DSP56800 | DSP56807 | DSP56858 | DSP56858EVM | DSP56F803 | DSP56F805 | DSP56F807 | DSP56F80x | DSP56F826 | DSP56F827 | DSP56F8xx | EVM | FFT | Flash_over_jtag | GPIO | Interrupt | Interrupts | JTAG | LCD | Linker | MCF5307 | Metrowerks | Modulus | MSCAN | PCMaster | PWM | Quad | Rif | RTOS | SDK | SPI

Discussion Groups

Technical discussions about Freescale (Motorola) DSPs (including the DSP56000, DSP56300, DSP56600, 56800 DSPs).

  

Post a new Thread

SPI software - bharath_sdpt - Mar 11 15:41:31 2008



Hi All,

i am developing SPI interface for DSC 56F805 using CodeWarrior IDE 
and Processor Expert. I am planning to use "SW_SPI" bean and use the 
methods "Send_Char", "Recv_Char".

My question is, if i want to send a stream of 8 characters, can i 
use Send_Char continuously for eight times, or do i need to wait for 
some time between sucessive calls to "Send_Char".

Please let me know whether the following code snippet works fine:

byte DataOut[8] = "12345678";
byte i;

void main(void)
{
    for (i = 0; i < 8; i++) 
    {
         /* SendChar */
         SWSPI1_SendChar(DataOut[i]);
    }
}



(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )