Type in the full discussion title or a part of it.
Discussion Title Created date
Adding existing file stored in a project sub-directory to project makes copy of it in project's root directory - unwanted behavior
Using Microchip Studio 7.0.2542 on Windows 10 64-bit machine, which is otherwise working well.   My project source code tree is organized like this:   project/main.cpp...
Tuesday, 29 March 2022 - 14:54
Need macro to replace F() (from avr-libc) when not needed for different target (non-Harvard arch.)
I'm working with source code from an existing AVR target application that makes use of PSTR to cause string literals to be stored in flash memory (where other code uses memcpy_p...
Wednesday, 16 March 2022 - 01:32
AVR DB - SPI0 not fully communicating with SPI flash (W25Q80BV)
  Problem getting AVR DB SPI port to talk to a peripheral. This has had me stumped almost the whole day. I'm posting to see if anyone with experience using SPI on AVR DB...
Sunday, 13 February 2022 - 22:18
AVR DB timer D (TCD0, etc.) - no "count" register? usable for tick timer?
I'm trying to assess suitability of Timer D type in AVR DB (TCD0 instance) as a mechanism to create a tick (periodic interrupt) source. I'm using 28/32-pin parts which have...
Friday, 11 February 2022 - 17:50
Need use AVRDUDE (v7) to read/write fuse in AVR DB (BOOTSIZE field)
I have configured a serialUPDI programmer device to allow AVRDUDE version 7 beta to access my AVR128DB28 (just for firmware download/upload; no debug requirements with this); it...
Thursday, 10 February 2022 - 20:59
AVR DB - need INTERNALLY connect op amp output to ADC input, how to set ADC mux or other properties?
Target device is AVR128DB28, using Atmel Studio 7.   I need to connect an op amp output (being used for signal conditioning) to an ADC input, (and this is the problem...
Friday, 7 January 2022 - 17:19
AVR DB - op amp - electrical characteristics - can't find referenced data
I'm beginning to tackle op amp and ADC configuration for my AVR DB project. My op amp education is somewhat pre-historic (mid 1970s) so I'm rusty.   In the data sheet (...
Wednesday, 5 January 2022 - 20:54
AVR DB - GCC - first experiment with interrupt (from USART0), appliation restarts when first character received by USART0
AVR128DB18, MCS7 GCC, C executable. I am experimenting with interrupt service routine (first attempt at writing and testing ISR on this platform.) I am using USART0 in Async mode...
Saturday, 1 January 2022 - 21:02
Need use C (GCC toolchain) to write data (word, etc.) to mapped flash (AVR128DB28)
I wish to know how to write data (example, a single word at a given address) to mapped flash (not EEPROM, which is supported by AVR GCC library.)   The datasheet instructions...
Tuesday, 21 December 2021 - 20:31
AVR DB series - PORTMUX and USART0 - does PORTMUX assign all 4 pins to USART even if only 2 needed and relevant?
Now moving on to getting USART0 talking to the outside world. I've attached a FTDI type USB adapter to PA4 and PA5 so I can send async data to/from my development PC. The target...
Sunday, 19 December 2021 - 22:02
AVR DB series - ccp_write_io compiles/works in C, compiler error in C++ (Studio 7/GCC)
I am using several ccp_write_io calls to configure my AVR128DB28 to use external high frequency crystal. The code below is based on an example cited in TB3272 (URL below.)  ...
Sunday, 19 December 2021 - 17:37
Can I select (or change) target processor at compile time, not project/solution properties?
I am preparing to adapt an existing AVR C/C++ application to support a different AVR processor (and subsequently a non-AVR processor), and before I get started, I'd like to make...
Thursday, 16 December 2021 - 15:35

Pages