eSPI overclock!!!


I have a problem with ESPI of I.MX51, I wrote an applicatio in C # to drive a OLED device . When I launch the debug the serial port works properly and OLED turn on, the serial works with 8-bit for register and 16-bit for data , when I transfer the application to the evalboard OLED and lunch the application the SPI not works properly.
Analyzing the signals with an oscilloscope, I saw that the with 8-bit register the clock pulls out 9 pulse and with 16 bits have 17 pulses (on SCL signal).
I can not understand how it is in debug mode (USB OTG) with 8-16 the serial pulses properly and in the realese mode overclock!
Is there anyone who can help me?