Menu

New parts supported - AVR128DA28/32/48/64 and AVR128DB28/32/48/64

Anobium
2024-08-02
2024-08-07
  • Anobium

    Anobium - 2024-08-02

    Just adding the following chips to the compiler.

    AVR128DA28/32/48/64
    AVR128DB28/32/48/64

    The AVR DA and DB family of microcontrollers are 24 MHz across the full supply voltage range of 1.8V to 5.5V. The family includes 32 KB, 64 KB, and 128 KB Flash variants in 28- to 64-pin package options.

    They include a DAC and 12-bit analogue inputs, in addition to the new features introduced with the ATmega 0-series such as the Event System and Configurable Custom Logic.

    In addition, the DB-series parts feature:

    • Eight I/O pins with Multi-Voltage I/O (MVIO), allowing them to operate at a different voltage from the positive supply.
    • Analogue OPAMP peripheral with three op amps that can be used as amplifiers, unity gain buffers, programmable gain amplifiers (PGAs), or instrumentation amplifiers.

    AVR128DA28, AVR64DA28, AVR32DA28, AVR128DA32, AVR64DA32, AVR32DA32, AVR128DA48, AVR64DA48, AVR32DA48, AVR128DA64 and AVR64DA64

    AVR128DB28, AVR64DB28, AVR32DB28, AVR128DB32, AVR64DB32, AVR32DB32, AVR128DB48, AVR64DB48, AVR32DB48, AVR128DB64 and AVR64DB64


    Enjoy

     
    ❤️
    1
  • Fabrice Engel

    Fabrice Engel - 2024-08-03

    Have ordered 2 of this chip (AVR128DA28) to learn AVR family and play not with PIC only :)

     
  • Anobium

    Anobium - 2024-08-03

    The compiler and basics will be working.

    Many of the core libraries will need updating. It may be time to change the approach so that these AVRs have a specific set of libraries to minimise the risk to the legacy chips.

    It will be fun!

     
  • Anobium

    Anobium - 2024-08-03

    The following is flashing the LED on the Microchip NANO board.

    This shows the IO is operating and the DAT file is consistent.

    #chip AVR128DA48
    #option Explicit
    
    // *************************************************************
    
    #Define LED1   PORTC.6   
    
    Do
        PulseOut LED1, 100 ms
        wait 100 ms
    Loop
    

    I will resolve the clock source as part of the AVRDX testing. But, this shows that the basic compiler is handing these new types of chips.

    GCBASIC (2024.08.02 (Windows 32 bit) : Build 1402 )
    
    Compiling: first-start-sample.gcb
    Program compiled successfully (Compile time: 1.062 seconds)
    
    Summary:
         Compiled:
              Program lines: 7
              Subroutines:  User: 0 ; System: 3 of 459 ; Total: 3
         Chip resource usage:
              Program Memory: 80/32768 words (.24%)
              RAM: 0/16384 bytes (0%)
              OSC: 24Mhz (Clock source is not a primary internal oscillator. Ensure the clock source is correctly setup)
    
    Assembling program using GCASM
    Program assembled successfully (Assembly time: 0.031 seconds)
    Done
    

    :-)

     
    ❤️
    1
  • Anobium

    Anobium - 2024-08-07

    A set of basic demos for these chips. See https://github.com/GreatCowBASIC/Demonstration_Sources/tree/main/TestSolutions/AVRDX_implementation/avr128da48 or your installation if you have the latest set of demos installed.

    Build 1402 is required as this will have the latest support files.

    As with all the newly added AVRDX chips the libraries will need resolving but the compiler is operating as expected.

    Enjoy

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.