Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - About I2C in ldmicro

(you are viewing a thread; or go back to list of threads)

About I2C in ldmicro (by José)
I have received this notification from biatel1,via Github:

I found little bit more general problem.
Up to version 5.3.1.0 I2C works on ATMega 328, Atmega 8 etc. with small issue that it works on 28-pin, and not on 32-pin.
But starting from version 5.4.0.3 up to the newest 5.4.1.1 it stopped and claims there is no SDA/SCL pin in these AVR.
Looking at source --> folder LDmicro-5.4.1.1\ldmicro\Tests --> example "test-i2c-lcd16x2.ld" opens correctly with version 5.3.1.0 but not any above this version.
So something bad happened above 5.3.1.0 that small AVRs lost I2C capability.

I have warned yet about some untested modifications in earlier versions of ldmicro that have broken I2C...
May Ihor have a look at it ?

BR
Mon May 31 2021, 13:55:41
(no subject) (by Toni)
The same thing happens to me.

Greetings.
Tue Jun 1 2021, 01:48:53
(no subject) (by Paulino)
Probar con la versión de fransua, 32-5.a
esta adjunta en RAR
Tue Jun 1 2021, 10:04:09, download attachment @LdMicro32-5.4a.zip
(no subject) (by Toni)
Thanks Paulino
Tue Jun 1 2021, 10:36:01
(no subject) (by José)
Yes,

if you improve problems with I2C in ldmicro you can use my fork version ldmicro32 available on github and kindly provided by Paulino.
If nothing is done about it in the official branch, I will probably have to create a new release of ldmicro32 in a near future.

BR
José
Tue Jun 1 2021, 15:42:29
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):