Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I found what can be the cause of the problem. It seems that a 10uF+/- 10% 6.3V and a 10uF+/-10% 10V ceramic capacitor don't have the same characteristics, so when I change from a 6.3V to 10V the circuit the time delay increase from 12s to 18s (I have tested different capacitors of both type and...
Hi
I am using an TLC555C chip from Texas instrument to form a monostable timing circuit (see attachment). When simulated this circuit gives a delay of approximately 17s, in real tests using a 10uF ceramic capacitor the delay is approximately 12s and 18s with a 10uF aluminium electrolytic...
Memory mapping in AvrStudio 5 (AVR GCC)
Hi
I am trying to address an external device from an atmega 128. I want to set the external device start address at 0x8000
Here is an example how this was done in an old version of codevisionAVR:
#pragma warn-
unsigned char Chip_base[0x8000]@0x8000...
Hi
I am trying to write the code for connecting a device to Matlab, I have got the documentation for the device and the code is written on the EMT platform and use CPL commands. I have no experience with CPL so if someone could recommend me some links where I could get more background information.
Hi
I included PwmOut.Vhd and compiled PwmOut before PwmController was compiled, now quartus finds the file but I get some errors on the In and Out Signals on the Port map. I have attached my code, how I want the circuits to corporate, and my including.
Could I have misunderstood the use of a...
Hi
I am trying to include a sub circuit into my VHDL code. But quartus gives me the following error: design library "work" does not contain primary unit "PwmOut", this happens when I move the whole subfolder in the working directory, and also when only the sub project file is moved into the...
I did some change in the code sequence, and no its debug correctly until the line:
angleFloatBeta = acos(argument); /*calculate the arc cos */
when stepping through this line the debugger jump straight to the end of the code without updating variables/registers. It seems like the debugger...
Hi
To avoid the size problem you mention, I am using the If-statement to check the size of the in value.
Could the problem be that I am reading a 10bit value from the ADCW(ADCL+ADCH) into a 16 bit integer value. The ADCH register uses only the two lowest bits (if right adjusted). I am reading...
Tnx for replay Alex
I did the change that you suggested, and downloaded the code to the target. I am still getting strange outputs at the atmega16.
The out value is much to high. I did a test and removed some of the code and just outputted the read ADC value at the outputs. I am still getting...
Hi
I hope someone can help me to find the bug(s) in my code (Atmel Atmega16). I have tried to debug the code, but could not get the debugger in AVR studio4 to work properly.
I have tested and know that the interrupt and the reading from the ADC works as expected, but after this I have at least...
Hi
Tnx for good advice. I will check out the documentation. Do you have any tip where I mess up in my code? I know the interrupts is working and that the ADC value is read, but after this I have a bug. The purpose of the code is to read a accelerometer value, calculate the angle of this and...
Hi
Tnx for replay. I am new to atmel/AVR studio so this optimization doesn't give my any meaning. I found in the configuration that I am using -Os optimization. What does this mean? What is the difference between the different optimizations levels? I am using GCC, but how do I debug the...
Hi
My program is not working as expected, and of this reason I am trying to find the bug with help of the debugger in AVR studio 4. When I step throw the code the debugger would not step into the If-statement, and I get no response in the output register (PORTB and PORTC). I hope anyone could...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.