New fast data logging sketches

I set again the inputs like that:

const int8_t MCP_SAR_CLK_PIN   = A0;  // analog pin 0
const int8_t MCP_SAR_DOUT_PIN  = A1;  // analog pin 1
const int8_t MCP_SAR_DIN_PIN   = -1;
const int8_t MCP3201_CS_PIN    = A2;  // analog pin 2

and it acquire 2863 on the SD card, that is quite accurate to 3,3 volts which I am sending to the ADC.

In the log file is only:

Log Interval usec: 250
2863

very rare happened that it save 2 values. Anyways it sends over serial communication just this:

Type any character to start.
FreeRam: 308
Log Interval: 250 usec
Logging to: FAS

and then I have to reset the Arduino to make new measurement. It doesnt look like the problem is with PINs. For some reason the program get stacked after saving first value.

Here is the picture of my boards:

Can you please give me an advice how to get rid of this problem? Thank you in advance.

Yours sincerely,
Maslo