Spark Logic

Microcontrollers and processors

AVR

Discussions and practical resources mentioning AVR.

Discussions 81

  1. Port manipulation – LCD 8bit parallel

    …acros, using port manipulation, but STM32 has a different method to make this. Using AVR , library make control using DDRA and PORTA, for example, to control port direction and values. How …
  2. Ported: JChristensen/DS3232RTC

    Pito

    …twi.c.o C:\Users\pito\MyCode\Arduino\libraries\Wire\utility\twi.c:25:20: fatal error: avr/io.h: No such file or directory #include <avr/io.h> ^ compilation terminated. Multiple libraries were found for "Wire.h" Used: C:\Users\pito\MyCode\Arduino\librarie…
  3. Porting Marlin to STM32.

    youprint

    … most promising platform for Marlin 2.0. A stm32 chip is cheaper and powerful than an AVR. we could expect to use the blue pill for minimal configuration. This is amazing!
  4. PrintF via SWO

    RogerClark

    … the Arduino IDE is going to get debugger support any time in the near future, as for AVR Arduino now recommends the use of Atmel Studio ( aka AVR Studio) if you want debugger support, and surprisingly the Arduino team seem to think debug support is not someth…
  5. Recomendations for working components – TFT, OLED, ..

    RogerClark

    …quency library would work without modifications. It’s a Teensy library which also has AVR support, but would probably not work on other processors like ESP8266 or ESP32 or SRM32 without modification The modifications may be as simple as adding more #ifdef clau…
  6. Reflow oven and Solder paste?

    stm32arduinoer

    RogerClark wrote:It was easier for me to use an AVR Arduino Pro Mini, as I2C slave works (if you modify the AVR core a little) So.. I didnt use the STM32 for this.
  7. Robot Dyn – Black Pill board may pre-install the bootloader !

    arpruss

    …would expect that most people who are getting started with an stm32 have already used AVR Arduinos, and so are likely to have one lying around and usable for a USB-uart bridge (by grounding the reset pin). But it would still be convenient not to have to bother…
  8. SD card SDIO

    sheepdoll

    Ahh Good ol’ reliable FATFS I have been using this for years on AVR, There is a version that runs on a Tiny88! I suspect that there are many Arduino libs that include FATFS as well. FATFS is also the Included SDIO overlay that CUBEMX includes when the File sys…
  9. SD only partially works.

    RogerClark

    Martin I suspect these are bugs in SD lib and perhaps would be present on AVR (as we’re using the same code) From what I understand SD has been superseded by SdFat, but the problem with this appears to be Victor sent a pull request to the SdFat repo which was …
  10. SPI-3 wires

    miki

    …M32 even if i had dig into maple library to play with regs.Anyway I did the same with avr’s. It is very simple to make faster code ,compile and upload sketches.
  11. STM32F091 ADC resolution 10 bit instead of 12 bit

    danieleff

    …2) in setup() Thats interesting. In had not realised that Frederics core defaulted to AVR resolution, I wonder what Daniel’s defaults to. BTW. Am am not going to change what libmaple does, as plenty of code has been written for it already and expects 12 bit 10…
  12. STM32F103C8 & TFT (ili9325)

    …cro is not needed on the STM32 as the ARM architecture is completely different to the AVR. However, we included the F macro (that really doesn’t do anything), but in this case it sounds like it causes some problems david.prentice Fri Nov 18, 2016 9:00 am Manol…
  13. STM32F103C8T6 extreme low power consumption (frequency, periphery)

    ahull

    … of 72MHz? Can I use 8MHz crystal an reduce frequency in software like fuses on Atmel AVR? Is there any minimal frequency?
  14. STM32F4 upload questions

    Stanimir5F

    … and mostly with IAR Embedded Workbench. As for Arduino IDE all my experience is with AVR processors. So combining these two is something new to me. Stan
  15. STM32F407 Discovery Compiling Issues

    RogerClark

    …er, so I suspect there is something else going on. It would be interesting to know if AVR code compiles in the location where the STM32 code doesnt
  16. Sine wave generator

    RogerClark

    …thub.com/ChrisMicro/AttinySou … Modulation I hope the OP has a clear understanding of AVR registers
  17. UECIDE with Roger’s core and latest gcc 7

    mrburnette

    …uinoIDE experience and are here looking to port previous projects they created in the AVR-constrained resource silicon. An under $2 delivered STM32F103 on a Blue_Pill is a huge reduction in cost from even a clone-UNO, never mind a real UNO. The forum started a…
  18. USB Composite (HID / MIDI / Mass Storage) library

    madias

    …ry is based on PluggableUSB, so is only compatible with IDE 1.6.6 and nightly builds (AVR core > 1.6.8, SAM core > 1.6.4, SAMD core > 1.6.1) Furthermore, since PluggableUSB only targets boards with native USB capabilities, this library only supports t…
  19. USBComposite, Some help making a gaming HID…

    Nutsy

    I did wonder if it could be done in avr, but I think my googlefu is weak… It was only because someone else mentioned usbcomposite as they used it to control a retro arcade… I’ll look through that post now
  20. Using Arduino for STM32 with Visual Studio 2013

    stuartw

    …he STM32duino extensions installed into Arduino, however it wants me to select use an AVR programmer to program them from what I can tell. Any thoughts from visual_micro?