Post Created date
Command-line build with Atmel Studio 7
EDIT: Forget what I wrote about *.cproj working with atmelstudio.exe. I thought I saw it working, but it seems that I was mistaken. Back to square 1.  
Friday, 30 September 2016 - 11:04
Command-line build with Atmel Studio 7
Why would you want to build at the command line? is this for night-time or per-commit costant integration or similar? I'm not sure I understand the second part of the question....
Friday, 30 September 2016 - 10:45
Really strange USART issue with xmega128a3u
Nothing wrong with lower case macros.   If it is a c-function we have it lower case too.  sei() and cli() are also lower case.   The compiler doesn't care...
Monday, 20 April 2015 - 10:17
Really strange USART issue with xmega128a3u
SetupUsartPort is acutally a macro. Yeah, I know, a lot of people want macros to be written in capitals, but I hate SHOUTING in my code.   No, there really isn't anything in...
Monday, 20 April 2015 - 09:21
Really strange USART issue with xmega128a3u
I am always initialising the port as output and the uart is initialised much later (256a3u, 128a4u). Exactly. So do I. Normally, I do this: Set initial output values (high/low)...
Monday, 20 April 2015 - 07:02
Really strange USART issue with xmega128a3u
A quick grep of the iox*.h files reveals that 0x644 is PORTC_OUT, 0x684 is PORTE_OUT, 0x640 is PORTC_DIR and 0x680 is PORTE_DIR Yeah, that's kinda what I tried to explain between...
Monday, 13 April 2015 - 12:20
XMEGA32A4U external eeprom currupted data after power up
Of course,   it takes the same time to write one byte as a whole page.    And you will wear out the EEPROM faster. You sure? Afaik, it is only the...
Monday, 23 March 2015 - 14:43
XMEGA32A4U external eeprom currupted data after power up
It is a bit of a mystery why anyone would use a 24C08. Agreed. Yes, the xmega32A4U does have 1kB EEPROM. Which, by the way, is much easier to access than an external EEPROM on...
Monday, 23 March 2015 - 14:33
XMEGA32A4U external eeprom currupted data after power up
There isn't much to go on, but I think that there is a clue in the corrupted addresses. The three addresses the you mention, all need more than eight bits addressing. I can't see...
Monday, 23 March 2015 - 13:29
DS1337 Stuck
Just some advice for dealing with peripheral circuits:   Always include a startup delay, so your peripheral chips are alive and kicking when you begin communication. It...
Tuesday, 17 March 2015 - 21:26
XMEGA SPI Slave Clock Problem
It's been a while since you sent your question, so I don't know if it is still relevant for you.   It is quite difficult to use an xmega as an SPI slave, unless you do one of...
Thursday, 19 February 2015 - 15:27
Casting unsigned int to signed long
Quote:As always, choose the appropriate type. Fiddling signed and unsigned is unwise. Believe me. Unsigned int is the appropriate type for these variables. Making these signed...
Tuesday, 18 February 2014 - 14:46

Pages