Type in the full discussion title or a part of it.
Discussion Title Created date
Can't use multiple DMAC channels on SAMD10
I need to use multiple dmac channels at once on the SAMD10 but i can't find any way to assign different dmac descriptors to different dmac channels. When i select a different...
Wednesday, 13 February 2019 - 17:32
Petit FatFS slow reading speed [ATtiny85]
This project http://elm-chan.org/works/sd8p/r... uses the petit fatfs library to read wav files off of SD cards and play them flawlessly without any problems, but in my...
Friday, 30 March 2018 - 09:00
Use external RAM to store varibles
Is it possible to configure atmel studio to use external ram on AVRs that don't support external RAM by hardware? Something like you write code that writes to and reads from...
Saturday, 17 March 2018 - 20:05
"ld returned 1 exit status"
I'm trying to port this https://github.com/nayem-cosmic/... to an ATtiny84A, but when i try to compile this mess it gives me exactly this error: "ld returned 1 exit status"...
Friday, 2 March 2018 - 15:52
ADC interrupt not working on ATtiny85
I wrote this: .equ SDA = (1 << PB4) .equ SCK = (1 << PB2) .equ ADCIN = (1 << PB3) .equ TIMER0_COMPB_vect = 11 .equ ADC_vect = 8 .equ START = 15 .org 0x000000...
Sunday, 10 December 2017 - 13:16
Interrupts in assembly not working
I'm trying to do PWM with an ATtiny85 and i wrote this code: .equ PIN = (1 << PB3) .equ TIMER0_OVF_vect = 5 .org TIMER0_OVF_vect rjmp test .org 0x000000 ldi r16, PIN...
Sunday, 10 December 2017 - 10:06
Invalid register (SBIW)
I have an ATtiny 85 and i wrote this: .set D3 = 0x08 ldi r16, 0x05 ldi r17, 0x01 rcall delay rjmp PC delay: sbiw r17:r16, 1 brcc delay retand i get an error on SBIW, "...
Saturday, 9 December 2017 - 20:29
Number must be positive and less than 8
So i have this piece of code  inline void sendByte(uint8_t clr) { for(uint8_t i = 0; i < 8; i++) { if((clr & (1 << (7-i))) > 0) { asm volatile( "...
Monday, 4 December 2017 - 20:03
RET after doing BRCC
I wrote this short code for a delay (in processor cycles), but after doing BRCC, RET won't work, here is my code:  setup: ldi r16, 0x20 ldi r17, 0 out DDRB, r16 loop:...
Monday, 4 December 2017 - 16:58