Realtek Alc887 8-channel High Definition Audio Codec

my problem is that the same code on Arduino Mega works perfectly, but on Arduino UNO doesn't works.
In the callback onReceive linked to the Wire lib, I receive the event but with no bytes in the buffer.
The arduino code is this: