Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

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


 

Newest Forum Posts

  1. reservation car service Seattle by Jamesprede, 2025-05-01 10:06
  2. Last day: drone bonus by Danielrug, 2025-04-19 16:55
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Insightful Perspectives on This Subject by davidsycle, 2025-03-04 05:45
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  10. Build a project in "release" mode by tang, 2025-02-20 10:36

Last-Modified Blogs