Type in the full discussion title or a part of it.
Discussion Title Created date
Unable to program atmega8A through optiboot with internal clock
I loaded optiboot to Atmega8A (attached .hex) which was available in arduino install folder.   I tried to program Atmega8A with fuse settings: Hi Byte: 0xDC (Boot Size = 256...
Saturday, 15 July 2017 - 07:55
custom Timer Library issues
I wrote simple timer library (I thought this may work) and attached complete code.   I use timeoutList[] array for maintaining different timer requests. timeoutList[]...
Saturday, 8 July 2017 - 14:10
One byte EEPROM reading from 16 bit address in Atmega328P
I am getting confused with EEPROM access. avr-libc has listed several library functions to access EEPROM. One of them being  uint8_t eeprom_read_byte (const uint8_t *__p)...
Tuesday, 4 July 2017 - 10:15
pgm_read_byte vs pgm_read_byte_near
I was looking at avr-libc at http://www.nongnu.org/avr-libc/user-manual/group__avr__pgmspace.html pgm_read_byte(address_short) ultimately makes use of  pgm_read_byte_near(...
Sunday, 2 July 2017 - 02:11
PB5 behaves differently when connected to ADC7
I have written keypad interface program with nano board. I connected 4x4 membrane keypad directly to PC0 through PC5 and ADC6, ADC7 pins PC0 to PC3 are configured as inputs and...
Tuesday, 27 June 2017 - 16:27
PORT pin pulsing eventhough not commanded
I am facing strange problem with my new Atmega8A chip (china market). I have written the below code, but PORTD pins are all pulsing @74msec (15msec ON + 59 msec OFF). I am using...
Friday, 2 June 2017 - 07:37
How to check current alarm status or deactivate Alarm in DS3231
I interfaced DS3231 RTC to Atmega328. But I am not able to find out a way to deactivate the alarm that is already set. In register 0x0E, AxIE is used to enable/disable the...
Wednesday, 10 May 2017 - 12:04
Atomicity Control using individual Interrupts
I was reading few articles related to automicity control (such as in https://www.avrfreaks.net/forum/tut-newbies-guide-avr-interrupts?page=all). But most of the articles talk...
Monday, 20 February 2017 - 02:38
buffer size limitation in peterfleury UART Library
I was referring to peterfleury UART library implementing ring buffer https://github.com/andygock/avr-uart/blob/master/uart.c. In this library, there is a restriction on the...
Saturday, 18 February 2017 - 08:17
Toggling IO decives at different rates
I have few output devices. Two Indicators and one buzzer. These three devices have to be toggled at different rates. What is the best way to handle? I wrote code (which handled...
Saturday, 21 January 2017 - 16:50
Compare Output Mode FPWM
I was referring to latest datasheet of Atmega328P. Table 15-3 shows the COM0A1:0 bit functionality when the WGM01:0 bits are set to fast PWM mode. I could not follow the impact...
Friday, 20 January 2017 - 16:48
Issue with PWM in Mode3 using OC0B
I have issue with PWM in Mode 3. Below is the code. I guess duty cycle can be controlled using OCR0B on OC0B pin. Not sure where the mistake is. May be some silly mistake. I am...
Friday, 20 January 2017 - 16:03

Pages