This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRV10983: Unable to read/write the EEPROM register to drive the motor in i2c/PWM Mode.

Part Number: DRV10983
Other Parts Discussed in Thread: MSP430G2553, TM4C123GH6PM

We are trying to drive the Ceiling BLDC motor through the DRV10983 module by MickroElekronika using an ESP32 WiFi chip.

We have used Arduino IDE for that where we used Wire.h library for i2c communication.

But the i2c communication is not established yet. 

It will great if you can provide Arduino sample code for PWM mode/ i2c mode.

We have ordered a TM4C123GH microcontroller also, can you please guide me through the whole process to drive the module.

If you can provide a small and simple TM4c123 code that help me to drive the motor at PWM mode.

  • Hello Amal,

    Thanks for the question and for posting to the MD forum. We dont not have any Arduino sample to help you get ramped using that platform. We do have some code that is compatible with the MSP430G2553 in order to communicate with the DRV10983, you can download it at this link here: https://www.ti.com/lit/zip/sloc316

    This does not have any PWM code but just I2C communication with the device, you can compare this with your Arduino library to see if there are any changes you need to make. If you need example code for the TM4C123GH I would recommend checking the TI Resource Explorer: https://dev.ti.com/tirex/explore/node?devices=TM4C123GH6PM&node=AH0kQX-7fhkapp6rdaDODg__.ge-t7a__LATEST

    This has some example code for I2C and PWM. If you are having problems running that code I would recommend making a post specifically regarding the TM4C123GH so that the team may provide you any PWM and I2C examples they may have. Please note that I linked code for the TM4C123GH6PM in specific, if you purchased a different MCU please make sure to find the right code in the TI Resource Explorer.

    We also have a programming guide for the DRV10983, I will link it here if it provides any assitance:https://www.ti.com/lit/an/slvuaa5/slvuaa5.pdf 

    I hope this helps!

    Best,

    Isaac