I need a help.
I am developing a project using ATXMEGA64A4U whose base of communication to external world is twi. I am using avr/twi_master_driver.h pack.
A string of 28 bytes (0000000000000000000000000000)is transferred to twicMaster.writeData buffer and twi puts out (0000000000000000L00005000000).
Is there an error in the twi settings?
The compiler is Atmel's Studio 7.
The string goes right until the 'TWI_MasterWriteRead' subroutine but it corrupts after the 'TWI_MasterInterruptHandler' ISR.