I have a problem with an arduino mega. I am playing with an SPI Bus.
If a connect MOSI to D11 pin, MISO on D12 and D13 on SCK, it does not work.
BUT, if i connect MOSI, MISO and SCK on the small connector (6 pins next CPU), everything works !
I do not understand why this 6 pins connector is connected to SPI whereas D11-D12-D13 are not connected.
Is there something to do (hardware/software) in order to activate spi bus on D11-D12-D13 pins ?
Thanks a lot