Quantcast
Channel: MEL PICBASIC Forum
Viewing all articles
Browse latest Browse all 4787

Emulating SPI rom with PICbasic pro?

$
0
0
Hello.

I want to emulate SPI rom with PIC, to test various things. The original device works as follows - on power up, it is queried and 32 bytes read. I know that we can work with SHIFTOUT do represent PIC as SPI slave, but how to start sequence? i.e. if I just put corresponding SHIFTOUT statement into loop, it will transmit automatically when CS pin will be active and clock signal applied to clock pin?

Viewing all articles
Browse latest Browse all 4787

Trending Articles