All Questions
54
questions
0
votes
1
answer
44
views
LCD Entry Mode Set and AVR MCU
I want to simulate **the Entry set mode ** function of and LCD based on HITACHI 44780 Controller.
(Here is the datasheet.)
The "Entry set mode" is given the following code of the 8 bits data ...
0
votes
2
answers
68
views
Extended IO registers handling in AVR using Assembly language
I want to program the ADC module of arduino Mega2560 using Assembly language (for simulation and learning),
I can initialise the ADC Module using Assembly and my program converts in the first ...
0
votes
1
answer
150
views
Proteus ATTiny85/ATMega328P CLKOUT not sending any signal at all - Why?
I set all the fuse bits correctly according to the datasheet, It seems like I just need to set the CLKOUT bits correctly, and I should get a signal of some sort. I can still send signals to the GPIO ...
0
votes
0
answers
109
views
Can't read RGBC data from TCS34725 RGB Sensor using AVR and Atmega16
For my project, I need to read the RGBC data from a TCS34725 RGB Sensor using the Atmega16 and AVR. It should be able to classify between the colors Red, Green, Blue and Clear light. Therefore I made ...
0
votes
1
answer
101
views
AVR programming, push button not working
I was trying to study AVR programming using an Arduino. I just wanted to blink some LEDs. At first I succeeded then I tried using a push button for it. It didn't work out. I tried using a switch ...
1
vote
1
answer
113
views
AtTiny214 can't change waveform output pins
I am trying to program my AtTiny214 (TinyAVR1 Series chip, SOIC-14 version, relevant datasheet: Datasheet) so that I have 2 PWM outputs with different duty cycles.
My problem is:
Changing the contents ...
3
votes
2
answers
512
views
The function setup () executes after ATmega328P wake up from the sleep mode
I am using ATmega328P in deep-sleep mode in Arduino IDE.
For wake up I am using PCINT. I can see it is working but setup () also executes after wakeup.
Is it ...
0
votes
1
answer
647
views
How do I invoke pymcuprog?
I have successfully created an ATtiny406 binary using avr-gcc in Linux, and I can program it to the device via Atmel-ICE under Atmel Studio in Windows, and it ...
3
votes
2
answers
751
views
Moving Data, Bss and heap memory to external SRAM Atmega2560
This is my first question here, sorry if I miss something.
I’m using an Atmega2560 as main processor for my project but I’m running out of ram so I have connected an external 64 KB (64 x 8) SRAM to it....
1
vote
1
answer
78
views
Execution of a piece of code in embedded
Can anyone explain to me step by step
What is the result of executing the code below:
DDRB = 0;
unsigned char temp;
temp = (PINB & (1 << 4)) >> 4;
0
votes
0
answers
100
views
Chosing a small microcontroller
My IO/peripheral requirements are extremely minimal (I2C, a timer output, 2-3 GPIO). Problem is, I'm not sure how much "compute" I need, especially since there's not a lot of straightforward ...
0
votes
1
answer
180
views
Semaphore in FreeRTOS doesn’t work
I am a newbie to freeRTOS and I was trying to learn about semaphores,I am using ATmega32a microcontroller, the plan was to create 3 tasks each is blinking the same led for some time with different ...
0
votes
0
answers
71
views
Why enc28j60 is not responding to another enc28j60?
I interfaced enc28j60 with atmega328p. Then I connected the enc28j60 board1 using ethernet cable to my laptop. I have checked the transmission and reception over the ethernet and it worked. I can sent ...
1
vote
1
answer
588
views
Where is Interrupt Vector Table stored in ATmega32A?
Given that Atmega32A has three types of memory :
1) SRAM.
2) Flash (Program memory).
3)EEPROM.
In which section the Interrupt Vector Table is stored ?
0
votes
1
answer
264
views
Porting from iccavr project to Atmel studio problems with Atmega2561 8 bit MCU
I'm currently in the process of having to port a large project from ICCAVR known as the imagecraft IDE to Atmel Studio 7.0 and have had great difficulty trying to get the Atmel build of the project ...