Discussion Title | Created date |
---|---|
different behavior in "if" using long integers Dear "freaks" - friends, I am experiencing a weird problem with code inside an if block. Here is the code that works unsigned char autogain = FALSE; signed int uplimit = 15750... |
Thursday, 3 April 2014 - 06:57 |
ADC autorange Dear friends, I am on a project, that uses an atmega16 @ 16MHz and a 16-bit bipolar ADC. Communication is made with SPI @ 4 MHz. The ADC is sampling a signal from an amplifier and... |
Wednesday, 20 February 2013 - 14:25 |
external interrupt code Dear community, I am having a small project, where the external interrupt is triggered and the code inside the interrupt polls for the commands I give through a joystick. ISR(... |
Tuesday, 19 June 2012 - 09:58 |
FT232RL D2XXX drivers & atmega16 Dear freaks, I am freaking :lol: ! Although I searched a lot in the forum and I Googled I cannot find an appropriate answer for my case. I will explain you my application and I... |
Monday, 9 January 2012 - 12:11 |
XTAL2 voltage range Dear friends, I am working on a project and I found out after some debugging that XTAL2 pin of atmega32 is oscillating @ 16 MHz (like the ext. crystal I use) BUT Vp-p is only 500... |
Sunday, 1 May 2011 - 19:23 |
using two timers for time control Hello. I use an atmega16 at 16 MHz. The microcontroller "talks" with spi to a DAC in order to produce a specific waveform of potentials. For the timing I use timer2 in CTC mode... |
Friday, 11 September 2009 - 09:14 |
Libraries Dear freaks, I am working on a project the last month and I have finally completed it. The resulting code was about 10K and the ram used was almost 33% of the atmega16 which I... |
Sunday, 6 September 2009 - 11:44 |
structure pointers in pgmspace I would appreciate if anyone could help me with this kind of problem. I am using the butterfly gcc code modified for my own menu (details here:) https://www.avrfreaks.net/index.p... |
Thursday, 30 July 2009 - 15:49 |
Structrures are pain in the ass Dear freaks, no matter how I try I cannot get the touch of it. Structures are quite a burden for me. Please, someone, a good tutorial!!! Let me explain you my problem. I am trying... |
Thursday, 16 July 2009 - 16:29 |
Timer interrupts during SPI transfer Hello, I am building a system with an ATMEGA16, as SPI master and two peripheral devices. I need precise timing so I am thinking about using a CTC timer interrupt. I am wondering... |
Sunday, 21 June 2009 - 15:22 |
DAC LTC1257 and spi Dear friends, I need to interface a LTC1257 which is a 12-bit DAC with a mega16. The linear technologies says that this DAC has a serial SPI interface. I have found assembly code... |
Monday, 15 June 2009 - 09:52 |
high speed ADC Hi guys. I am working on a project, and I have the need to use an AT90USBxxxx @ 16 MHz, and an ADC to record a very fast analog signal. I was wondering if i can use an ADC as fast... |
Wednesday, 16 July 2008 - 19:08 |