Post Created date
Is each interrupt vector 2 bytes or 4 bytes in size on ATmega328P?
ki0bk wrote: This is a common beginner confusion!  Thanks but sounds like a horrible idea! almost every ISA I know uses simple byte addressing. Maybe they should change it...
Thursday, 31 March 2022 - 21:24
Is each interrupt vector 2 bytes or 4 bytes in size on ATmega328P?
ki0bk wrote: The Datasheet shows it as 2 "Words", not bytes. Isn't program address in bytes? i.e INT0 is at address `0x002` and INT1 at address `0x0004`, 4-2 = 2 byte offset.
Thursday, 31 March 2022 - 20:39
Is there a difference between using the r1 register or the data address 0x1?
Ah I see so it's not always 1 clock, thanks for the image.
Monday, 28 February 2022 - 23:57
Is there a difference between using the r1 register or the data address 0x1?
westfw wrote:"LDS R1, R2" is twice as many cycles and twice as many bytes as "MOV R1, R2" Why is that? aren't LDS and MOV both 1 clock?   Are you referring to the...
Monday, 28 February 2022 - 23:48
Is there a difference between using the r1 register or the data address 0x1?
avrcandies wrote: I don't believe so ---the r00-r31 registers are computation registers and must be accessed as such, other registers like PORTC, DDRA, are accessible (take a good...
Monday, 28 February 2022 - 20:22
Connecting Arduino directly to the serial port of an old PC (not USB)
ki0bk wrote: connecting that directly to your PC serial port will blow up your UNO Welp I knew something was wrong :D   Fortunately I didn't connect the Tx port from PC to...
Thursday, 20 January 2022 - 16:09
Tx port is constantly high even after enabling serial communication
@clawson Thanks for sharing the script.
Tuesday, 18 January 2022 - 17:18
Tx port is constantly high even after enabling serial communication
awneil wrote:The question was whether it's a genuine one, or not Yes a genuine board. I probably looked at the wrong schematic hematic then, thanks for the link. And yes seems...
Tuesday, 18 January 2022 - 17:17
Tx port is constantly high even after enabling serial communication
@awneil I have the Uno board. So what do you suggest the Builtin TX LED is for then? it for sure isn't the same as the Tx port. I will also look at the Tutorial.   @...
Tuesday, 18 January 2022 - 15:30
Tx port is constantly high even after enabling serial communication
@awneil   I will probably start using that official header from now on.
Tuesday, 18 January 2022 - 15:24
Tx port is constantly high even after enabling serial communication
ki0bk wrote:9600 baud 11 bit character size = 0.001 seconds   I think that might be my issue. Changing BUAD to:   #define BAUD 1Makes a bit of a difference. Now...
Tuesday, 18 January 2022 - 15:21
Tx port is constantly high even after enabling serial communication
clawson wrote: Note that '1' != 0x01 !!     Of course. To see a `1` I goto use the ascii table. Here i'm just trying to blink an LED first.
Tuesday, 18 January 2022 - 15:16

Pages