AnsweredAssumed Answered

SPIMaster_LDD usage with K60 and serial Flash chip

Question asked by JOE VIGNOLA on Oct 9, 2013

I'm using the Processor expert SPIMaster_LDD with a K60 processor and a serial flash chip (SST25VF032B).  I have more than one flash chip on the SPI bus with separate chip selects. In order to be able to read anything from the chip I need to send out the command plus the number of bytes I expect to get back. Also, I need to ignore any bytes that are received while the command to the chip is being transmitted. I have attached sample functions (memory_read_status) to read the Status register from the FLASH chip.  Is this the correct way to use the processor expert functions?

 

Thanks,

 

Joe.

 

 

Original Attachment has been moved to: spi_memory.c.txt.zip

Outcomes