I've problem with ATXmga256A3U that I'm new.
I have done this before by ATmega8, ATmega328, ATmega128..., 8MHz, 16MHz, 20MHz
I've a board that only send data, like SPI protocol. In hi level of clock pulse, the data will be valuable.
I send values in sequence with 100ms. length of each value is 6ms.
When I receive each value and I want to process it, all bit of each value are 1. but when I make a loop and read lines (data & clock) and I set and reset the LED, the LED works correctly.
I write this program with IAR-AVR and Microchip Studio, Codevision-AVR and with 16MHz, 32MHz clock, but I receive incorrect value!!!
Please help me.