SPI assembly code PIC18F

Status
Not open for further replies.

col_implant

New Member
Hi,

I'm looking to control serial flash memory with an SPI interface. Bit of a last minute change from i2C due to a sudden larger capacity requirement.

I wondering if anyone would know where I could download simple assembly routines to implement SPI memory control for a PIC18 core (or similiar)???

I admit ive always been an i2c guy so dont really know too much about SPI yet, i assume its something similiar i.e. [address/ID byte], [instruction byte], [data byte].

Thanks
 
Microchip "Application Maestro" will provide the SPI asm code.

Application Maestro installs along with MPLAB (if you tick the box) or you can add it later by clicking on "setup MPLAB tools from the windows start menu.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…