xiaozhou-lei / arduino_nulllab

Hardware support package for Larduino

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

中文

Arduino Hardware Support Package for LGT8F's

Automatic IDE integration is supported via the Arduino Boards Manager. This is the recommanded way of installation now.

Start the Arduino-IDE. In File->Preferences, Settings tab, enter

https://raw.githubusercontent.com/nulllaborg/arduino_nulllab/master/package_nulllab_boards_index.json

as an Additional Boards Manager URL.

  • Open Tools->Board:...->Boards Manager

  • Find arduino_nulllaba by typing 'ch' into the search line

  • Click on the list entry
  • Click on Install.

Now you should find a new entry nulllab avr compatible boards in the list at Tools->Board:...

  • Choose nulllab boards from the list

Task status

  • PWM & Timers update
  • Fast_IO update(/libraries/BasicsExamples/examples/FastIO/FastIO.ino)
  • Support timer3
  • Analog Comparator
  • Differential Amplifier update
  • Computation Accelerator

Summary

arduino_nulllab is a 3rd party hardware support package for the LGT8F core based arduino boards. The backend of the HSP is fork from offical arduino distribution. We have try to keep all the standard features compatible with arduino world. So feel free to resuse all of the libraries which designed for arduino platform.

Microcontroller based on LGT8F, e.g LGT8F328P has more advanced features which not covered in standard arduino implementation. so there are also many new features merged to this 3rd party package. Important update and new features as following:

  • External/Internal crystal can be selected at runtime

  • Fast_IO interface for fast I/O speed and small code size

  • Full configurable PWM features, including complementary and dead-band control

  • Differential Amplifier front-end for 12bit Analog-to-Digital converter

  • 1/2 channel 8bit Digtial-to-Analog output, campatible with analogWrite()

  • More standalone I/Os

Pin Different

pin_diff

Bootloader

The LGT8F328P bootloader is based on optiboot. Source can be found inside the bootloader directory

  • Bootloader upload baudrate: 115200bps
  • Fix CH340G download unstabitily

Thanks

About

Hardware support package for Larduino

License:MIT License


Languages

Language:C 49.8%Language:C++ 31.4%Language:Assembly 11.0%Language:Makefile 5.6%Language:PHP 2.0%Language:Shell 0.2%