Skip to main content
kobi_hayun
Associate III
Mar 10, 2005 11:42 AM UTC
Question

PC SPI Protocol

Posted on March 10, 2005 at 12:42

PC SPI Protocol

This topic has been closed for replies.

2 replies

kobi_hayun
Associate III
Mar 10, 2005 10:39 AM UTC
Posted on March 10, 2005 at 11:39

Hi Everybody

Is anyone know of PC SPI protocol.

I need this in order to down load my final firmware (I dont have debug port in the final design).

Thanks

HKobi

fggnrc
Associate III
Mar 10, 2005 11:42 AM UTC
Posted on March 10, 2005 at 12:42

Perhaps I am wrong, but I am not aware of a PC SPI protocol.

SPI stands for Serial Periferal Interface.

The communication takes place between a master and a slave.

Both of them use a shift register that is updated by means of three wires: MISO (master in - slave out), MOSI (master out - slave in) and SCK (serial clock).

The data transmission is byte-oriented, but there is no protocol that states the meaning of the exchanged data.

To talk to a PC, it is better to use a microcontroller with a SCI (Serial Communication Interface). In this case you have to use a MAX232 to make the signal compatible with RS232 (aka COM ports of a PC).

It is more difficult to interconnect a PC with SPI, since you have to build custom hardware and attach it to a parallel port.

Even if you have a communication mean with the PC, it is up to you to implement the In Application Programming.

I suggest you to read the datasheet of the microcontroller that you are using, the ''Flash Programming Reference Manual'', AN1576 and AN1576.

Regards

EtaPhi