Microchip-MPLAB-Harmony / csp

Harmony 3 Chip Support Package
https://onlinedocs.microchip.com/v2/keyword-lookup?keyword=MH3_csp&redirect=true
Other
34 stars 22 forks source link

SMBus features request for PIC32MZ series devices. #42

Open youpko opened 2 years ago

youpko commented 2 years ago

I am trying to implement SMBus logic with the I2C driver for a PIC32MZ2048EFM100. My application uses the above mention PIC MCU but this feature request is probably mostly the same for other MCUs in the PIC32MZ EF series.

The MCU should be an SMBus Master & Slave .

SMBus BlockRead & BlockWrite-BlockRead not supported.

I checked "PIC32 Family Reference Manual, Sect. 24 Inter-Integrated Circuit" manual and in the overview it gives an example that this is possible as the I2C Master & I2C Slave work independently form each other in the I2C Module.

As I am not to familiar with the internal workings of the Harmony project I didn't manage to implement this myself yet, hence my request to look if this can be integrated in the driver for the devices that support is.

dsettu commented 2 years ago

@youpko , We have logged the request to add support for SMbus