Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


How to correctly send/receive data to/from I2C

I’m new to STM32 and don’t know the correct format to perfom this task. Can anyone tell me what the correct function call is and what parameters do I need to pass in each function? Thanks
Tunisia

Hello mojo,

All your needs are in the STM32 Cube Firmware packages
For example, If you are using STM32F4 you need to download STM32CubeF4 from ST website and look for I2C examples within the downloaded archive.

Best Regards,
Tarek BOUCHKATI


Hello Mojo,

Did you resolve your problem?
I am starting with STM32 also some examples have been done, now I can perform the blink use a push button and some usart communication but the I2C is not working still.
Can you share your solution?
Tried the HAL_I2C_Master_Transmit and HAL_I2C_Master_Receive but did not work.
I am trying to connect an MPU9250 to an STM32F103 the electrical connections are ok and parameters where performed using the Cube.
Had experience with arduino but do not want to use it...

Thanks,
Timóteo