Type in the full discussion title or a part of it.
Discussion Title Created date
How is a binary value of "0" transmitted in serial communication?
I'm going to use a simple LED circuit to demonstrate this (I know it's not a good example but I need to keep this simple). I'm also going to use USART, and more specifically the...
Saturday, 15 January 2022 - 18:40
What is the difference between a CPU register and the rest of volatile memory on AVR?
Going to use ATmega328P as an example.   It has all of its CPU and IO registers memory address mapped on an SRAM. A section of this SRAM is also used as volatile...
Thursday, 13 January 2022 - 00:04
What is the type of the __vector_x function?
As explained in this link:  https://www.avrfreaks.net/forum/...   `__vector_x` has a weak symbol which can be overwritten by a user for setting interrupt callbacks...
Monday, 3 January 2022 - 17:17
never mind
never mind
Wednesday, 29 December 2021 - 18:57
How does UART transfer data out of the TX pins?
My question is manly regarding this function in ArduinoCore-avr:   https://github.com/arduino/Ardui...   size_t HardwareSerial::write(uint8_t c)I can see that it...
Monday, 1 February 2021 - 15:45
Do we need a driver to talk to atmega328p from a PC
This question is more specific to Linux and how drivers are needed to talk to other peripherals. Another way to ask this question would be: Why do we need drivers to begin with?...
Friday, 10 July 2020 - 13:54
How does the "delay" mechanism work in atmega328p
In a regular Linux x86 environment, we can use the "sleep(size_t x)" C function to delay execution X number of seconds. Behind the scenes, libc calls "nanosecond" which...
Monday, 6 July 2020 - 21:22
What's the point of having USART in SPI Mode?
atmega328p supports USART in SPI Mode, which i'm guessing is different than UART in synchronous mode.   Why would this exist if one can either use UART, USART (for ...
Monday, 6 July 2020 - 19:18
Does atmega328p have special instructions for Serial Communication?
atmega328p has a few dedicated Serial pins to use with UART and SPI communication. This is the Arduino code which implements the UART Serial communication: https://github.com...
Sunday, 5 July 2020 - 23:20
Does the AVR chip on Arduino Uno constantly run instructions?
Lets say I write my own code and not use the `C` template Arduino provides, I won't have a loop in mine and just return: int main(){  return 0; }  In this case, does...
Wednesday, 1 July 2020 - 16:21
Why does the Arduino Uno board have 2 external Oscillators?
As the image shows, there are 2 external Oscillators, one for the "16u2" AVR Chip which acts as the USB to Serial converter (Red one) and the other is connected to the AVR Chip (...
Tuesday, 30 June 2020 - 19:35
Why doing a loop-back test requires pulling the RESET low?
Here are instructions for doing a loop-back test, which I used to send Serial data to Arduino Uno and Read them back at the same time on my terminal: https://forum.arduino.cc/...
Tuesday, 30 June 2020 - 19:20

Pages