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
spi command bytes
Moderator: Benj
-
- Posts: 81
- Joined: Wed Jun 20, 2012 9:59 pm
- Has thanked: 36 times
- Been thanked: 5 times
- Contact:
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
-
- Posts: 81
- Joined: Wed Jun 20, 2012 9:59 pm
- Has thanked: 36 times
- Been thanked: 5 times
- Contact:
Re: spi command bytes
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?