Post Created date
UART framing errors
@nowak Sorry that I do not have an data sheet here, but I am pretty sure that you confirmed my suspicion. You get the interrupt to say that the transmit buffer is empty (i.e. you...
Friday, 25 May 2007 - 13:20
Estimate cycles in C Code
And, of course, if your results are to mean anything you need to count the cycles for the code generated by the C compiler (including any optimisation settings) that you are...
Friday, 25 May 2007 - 12:04
UART framing errors
One thought that springs to mind is that any nodes that are transmitting may be disabling their transmitters before the final byte of a transmission has been sent? You need to...
Friday, 25 May 2007 - 11:51
How to understand the length of a string?
Forgive me if I am telling you stuff that you already know, Mustihi... The string terminator is the character with the 8-bit value 0x00. The string terminator is not the character...
Thursday, 24 May 2007 - 15:06
Another crack at USB
FWIW, we use the FTDI 245 device as our USB interface of choice and we have had problems with a number of PCB assembly sub-contractors trying to place the 245R in the QFN-32...
Thursday, 24 May 2007 - 13:23
ATmega USB mouse interface
That was my thinking. I may still have some example code that communicates "by steam" with a PS/2 device, albeit a keyboard. If I can find it I will post a link. Cheers A. p.s. I...
Monday, 22 January 2007 - 16:49
ATmega USB mouse interface
Your choice, obviously, but IMHO you are making your own life hard. For a bit of background information, the mouse acts as an "HID" (Human Interface Device) peripheral, so looking...
Monday, 22 January 2007 - 15:37
ATmega USB mouse interface
This may be bad information, as I am working from memory and "hearsay", so please forgive me if I am wrong. However, my observation has been that USB mice can often also be used...
Monday, 22 January 2007 - 13:06
AtMega 162 EEPROM Corruption
Thanks, I'll give that a try. Sorry about the lighting response - I got distracted for a couple of days. Andy
Saturday, 12 November 2005 - 09:48
AtMega 162 EEPROM Corruption
Thanks, but I already knew about the location 0 problem and specifically ignore thast location. Although you are right, I could keep THIS value in RAM, the problem is that I have...
Wednesday, 9 November 2005 - 12:12
C programming
The extern keyword is used to refer to external data, rather than functions. In order to refer to an external function you need to use a function prototype. (This is good practice...
Tuesday, 27 September 2005 - 08:23
Global variables and interrupt routine
Usually problems of this type are due to omission of the "volatile" keyword on the variable definition. I can explain further if required. That said, I don't like the idea of a...
Thursday, 25 August 2005 - 14:47

Pages