2022-07-29 01:42 PM
Hi,
Continuing my evolution (after the post above) I want to put the i2c driver (github link below) to run on the stm32f469 discovery kit board.
https://github.com/neuberfran/SmartDriveEmC/tree/main/src
This is 1 external i2c driver (called SmartDrive)
I put my previous post here from the community, because I don't want to miss this splash screen when writing my new software. Which will use LVGL and will be pressed to run motor 01 (right and left). The same will apply to engine number 02.
2022-07-30 01:19 PM
Well, in the project you've linked there is #include <Wire.h> and then some I2C manipulations with the "Wire" thing: Wire.beginTransmission(this->_address); Wire.read, Wire.write etc.
The ST library has its own API for I2C, not compatible with this "Wire" thing. IMHO it won't not port cleanly and needs a complete rewrite of the I2C I/O.
So you'll need to learn some I2C examples provided by ST and do the work, or ... convince somebody else to do this.
2022-07-30 04:09 PM
@Pavel A.
I have two more questions for you:
1) Could you list the main changes I will have to make to my github driver?
https://github.com/neuberfran/SmartDriveEmC/tree/main/src
2) If I can't, where can I find a professional to do this for me in an accessible way financially speaking
2022-07-31 12:08 PM
Hi @neuberfran
1: In the SmartDrive class, replace all calls to Wire methods to either the STM32 "HAL" library or any other STM32 library you may find.
2: Here, for one: https://www.fiverr.com/categories/programming-tech/electronics-engineering/embedded-systems-iot