...but I'm wondering if my experience with Harmony and the Harmony versions of PLIB are what everyone else sees.
Recently, I needed to talk to an RTC via I2C. Something we've all done before, and will do again. Having recently adopted the PIC32MX platform and MPLABX, I decided to give the PLIB interfaces a try (the versions integrated into Harmony).
After spending about 4 hours tearing my hair out using the standard interfaces, yet seeing no transitions on SDA or SCL, I finally went directly to the registers. And within 20 minutes, *poof* - there was my data from the RTC.
The PLIB code I used was many version - examples from the Harmony documentation, examples from forums, examples from .ZIPs from Microchip. Very few of these compiled straight away, and none of them worked.
I've also used routines from the PLIB PORT library, which honestly are _extremely_ complex and offer very little in terms of abstraction or reduction of complexity, which I'd expect from an interface library.
The only useful routines I've found thus far are the USB and FS routines, which honestly seem to have some problems of their own (i.e. all functions return good error codes, so no problems, however opening a file for APPEND doesn't seem to always work, and dis-mounting a filesystem upon a USB device disconnect seems to fail consistently).
So, without meaning to stir too much up, is this a common experience?