AnsweredAssumed Answered

FRDM KE02Z SPI example

Question asked by CitRam on Jan 13, 2014
Latest reply on Jan 24, 2014 by CitRam

Hi to All

 

I'm learning to write code for FRDM KE02Z. I want to send 8bits words via SPI.

I  have created project, with Processor Expert have created and configurated SM1:SPIMaster_LDD.

And I don't know what code to write for sending 8bit word via SPI in ProcessorExpert.c or Events.c?


I think I have to use the SM1_SendBlock(); in ProcessorExpert.c, but don't know what arguments need to use.

I think must be something like

if(SM1_GetBlockSentStatus = false)
{
SM_SendBlock(,00110111);
}

Could you help me please.



ke02.jpg

Attachments

Outcomes