Author Topic: Modbus on AVR64DA64  (Read 404 times)

0 Members and 1 Guest are viewing this topic.

Online T3sl4co1lTopic starter

  • Super Contributor
  • ***
  • Posts: 21680
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Modbus on AVR64DA64
« on: June 26, 2022, 05:13:25 am »
I don't see any references to this, so here you go:
https://github.com/T3sl4co1l/freemodbus
The demo set is pretty extensive already, but I just added some AVR stuff to support AVR-DA and friends.  So, probably mega0, tinyAVR, etc.  Should be easier to add XMEGA now, too.

Also seems to be a very mature and widely used library.  Still testing, but it seems to work alright.  Not much trouble to integrate.  Seems to be around 3kB typical, not very heavy at all; though I have a few functions left to implement.  Doesn't look very efficient, in terms of operations, number of functions calls, etc. (in particular, callbacks from interrupts are very inefficient on AVR), but obviously, it's written for clarity / portability, and anyway, even if you're doing like 115.2kbps it's probably still a tiny performance cost to add to a project.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: Alti


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf