Page 1 of 1

spi command bytes

Posted: Sun Sep 03, 2017 6:52 pm
by Tony Brown
Hi,

I need to send a 4 byte command sequence (C7h, 94H, 90H and 9AH) via spi interface to erase an external eprom, anyone know how I do this. When I try entering it in spi_send_char it says "parameter 1 is invalid".

Thanks

Tony

Re: spi command bytes

Posted: Sun Sep 03, 2017 7:06 pm
by medelec35
Hi Tony,
Have you tried 0xC7 etc?


Martin

Re: spi command bytes

Posted: Sun Sep 03, 2017 7:16 pm
by Tony Brown
That seems to work. Do you know if I have to send the bytes separately or is there a way I can send them altogether?