Possible to move the MISO, SCK, SS and MOSI pins?
Posted: Thu Jan 24, 2013 12:11 pm
I was looking at it and it seems to me that if I change the MISO, SCK, SS and MOSI to PJ7, PD4, PE7 and PE6 respectively in the firmware, I could wire the LCD to board much more easily all through EXT2.
Okay, it would actually require changing a fair amount of pin definitions, but most of the pins being changed are the ones not in use by anything else since they are unstandard to begin with. The cable would become much more simple. All you'd need is a 20 position IDC connector, the ribbon cables that come with the LCD and a sharp blade to make the adaptor.
I've included a picture to help with the outline, but the basic idea is EXTB with the unused 9-10 wires removed is connected to the end of the IDC connector. Directly adjacent to it and flipped is the wire coming out of EXT A with the last wire in the series skipping 1 pin to connect VCC to VCC.
I guess the question is, would changing the MISO,SCK,SS and MOSI pins be as simply as modifying their definitions in pin.h? Or would other issues arise? I understand that timing is important, would this just completely muck it up?
Okay, it would actually require changing a fair amount of pin definitions, but most of the pins being changed are the ones not in use by anything else since they are unstandard to begin with. The cable would become much more simple. All you'd need is a 20 position IDC connector, the ribbon cables that come with the LCD and a sharp blade to make the adaptor.
I've included a picture to help with the outline, but the basic idea is EXTB with the unused 9-10 wires removed is connected to the end of the IDC connector. Directly adjacent to it and flipped is the wire coming out of EXT A with the last wire in the series skipping 1 pin to connect VCC to VCC.
I guess the question is, would changing the MISO,SCK,SS and MOSI pins be as simply as modifying their definitions in pin.h? Or would other issues arise? I understand that timing is important, would this just completely muck it up?