Post Created date
Problem with RS485 app
Bob, the code is somewhere in one of the first posts, he uses the TX-complete interrupt. I do not think that it has something to do with switch-over between RX and TX, because he...
Friday, 12 May 2006 - 16:07
IAR Workbench assembler / c code relocatable conflict?
The link you supplied is for a complete ASM program. This cannot be used as an external function to be called from C. It manipulates the stackpointer and uses almost all registers...
Friday, 12 May 2006 - 14:36
Getting weird voltage out of my regulators, mega16L board
Exact regulator type and/or schematic available? I only see very small capacitors, this is ok for some regulators, not for others. Try some uFs on inputs and/or outputs. Jörg.
Wednesday, 10 May 2006 - 16:50
Problem with RS485 app
John, set the baud rate to custom, this is the last radio button in the baud rate selction box. Set the desired baudrate value in the edit box just under the Data bit box, named '...
Wednesday, 10 May 2006 - 16:42
Problem with RS485 app
John, I use Bray terminal V1.9b, sadly this seems to be the very last version available. There are still some small problems with this version, it sometimes 'eats' some characters...
Wednesday, 10 May 2006 - 16:19
Problem with RS485 app
To find if it is a baudrate problem, try a customer value (you use Bray terminal, do you?) of your standard baudrate+- 100 baud. This should give you a clue. Jörg.
Wednesday, 10 May 2006 - 16:04
Problem with RS485 app
Be sure to bias the RS485 lines correctly, so that the receivers see an inactive state when both sides are switched to RX. Jörg.
Tuesday, 9 May 2006 - 13:10
Atmega88 Ceramic Resonator Issues
Colin, did you try to find the exact reason for the failure? Why not use the clockout option for testing and watch the output frequency with a scope during operation? This way the...
Monday, 8 May 2006 - 15:19
Atmega88 Ceramic Resonator Issues
Colin, did you try the setting 'Full swing crystal' (this is how it is called in AVRStudio)? This will increase the drive for the oscillator and increase the amplitude of the...
Monday, 8 May 2006 - 12:31
How to multiply without using floating point math?
Quote:Code: unsigned int x; unsigned char y; y = (x * 238) >> 10; Be careful here, x * 238 can overflow an int. You'll want to change it to 238L. I think, the correct way to...
Saturday, 22 April 2006 - 21:20
How to multiply without using floating point math?
Quote:Second, the 128/550 will be done by the compiler, ... I do not think that this is correct. All expressions are to be evaluated from left to right (using operators with same...
Saturday, 22 April 2006 - 19:06
All Around IAR Embedded Workbench!!!!
#define _INPUTCONF 100 // example eeprom address 100 #pragma location = _INPUTCONF __root __eeprom unsigned char CTest = 0xAA; unsigned char Test; void main(void...
Friday, 7 April 2006 - 17:30

Pages