Post Created date
DSP16 Absolute Value causing Data Address Read Exception
ld.h ? There are ld.sh and ld.uh instructions, check the hex opcodes in your dissasembly against the 5 formats. My suspicion is your stack is being trampled, either because there...
Friday, 20 September 2019 - 06:45
ISR vs. Timer
Quote:But what I currently see is, that the TC0 CH1 seems stop counting up while the ISR is being processed. The timer will keep counting inside an ISR until you do something to...
Wednesday, 28 August 2019 - 01:42
Interrupt stuff -> How to get a signal connected to an ExtInt0 Port triggering an ISR
EXTIN0 is 'special', it is the NMI interrupt, and you will need to write your own exception handler. (or modify exception.S ). Can you use another EXTINT pin ? As to why eic_301....
Saturday, 24 August 2019 - 06:12
UC3L System clock and SPI...
Quote: static const gpio_map_t SPI_GPIO_MAP = { {AVR32_SPI_SCK_0_0_PIN, AVR32_SPI_SCK_0_0_FUNCTION }, //SCK {AVR32_SPI_MISO_0_0_PIN, AVR32_SPI_MISO_0_0_FUNCTION}, //...
Thursday, 22 August 2019 - 03:09
UC3L System clock and SPI...
The PLLMUL field in the SCIF PLL register is only 4 bits wide, so the maximum main clock frequency that you could get from the 115 kHz RC oscillator would be about 1.8 MHz (The...
Wednesday, 21 August 2019 - 23:31
Application note AVR32752 code does not compile!
From the the UC3Axxx datasheet(s) "Power Manager (PM)" section, Oscillator 0/1 control registers, STARTUP field ; AVR32_PM_OSCCTRL0_STARTUP_2048_RCOSC should be defined as 3 The...
Tuesday, 6 August 2019 - 22:49
microsd - how long do you wait before trying to access
After CD becomes active you could repeatedly try to read a block from the card. After 'n' successful reads your card is ready. If you're using ChaNs' FatFs you could repeatedly...
Tuesday, 30 July 2019 - 00:50
The AtMega32 goes strange in an arithmetic statement.
Which AVR8 ?? What is MAX_8bit_COUNT set to ? (255 ?) The time delay will probably not change because local_countsNo has not been set to anything.
Tuesday, 23 July 2019 - 00:47
Need help with ADC & PWM
ADMUX = (ADMUX & 0x28)|ch; should really be ADMUX = (ADMUX & 0xE0)|ch; Put the return (ADC); at the very end of the get_adc_val() procedure, otherwise the ADIF flag will...
Monday, 22 July 2019 - 06:44
Need help with ADC & PWM
Which AVR8 are you using ? ADMUX = (ADMUX & 0x28)|ch; //Set the channel selection bits is 'odd', but ADCSRA = (1 << ADSC); //Start conversion will disable the ADC (...
Monday, 22 July 2019 - 06:27
Need help with ADC & PWM
I am surprised that the program compiled. In the wayt() procedure the variable dutycycle is not declared. (or should that dutycycle really be t ? )
Monday, 22 July 2019 - 06:02
ATMEGA8 16PU Why Does My LED flash Twice?
if(PINB == (1<<PB2)) might be problematic because the other pins on PORTB might not be zero. (reading the PINx value will also return the state of any output pins on that...
Sunday, 21 July 2019 - 06:39

Pages