STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

I have a question about HAL_I2C_Master_Transmit (I2C_HandleTypeDef * hi2c, uint16_t DevAddress, uint8_t* pData, uint16_t Size, uint32_t Timeout);

Hi, I have a question about HAL_I2C_Master_Transmit (I2C_HandleTypeDef * hi2c, uint16_t DevAddress, uint8_t* pData, uint16_t Size, uint32_t Timeout);I see the second field is a pointer to a 16 bit integer. However the device I am trying to interface ...

Tommino by Senior
  • 897 Views
  • 1 replies
  • 0 kudos

Resolved! I am looking for simplest way to request voltage from USB-PD SOURCE using STM32G0B1RE as a SINK.

Hello,I am working on the STM32G0B1RE processor as a USB-PD SINK.I would like to ask what is the easiest and fastest method (preferably using CubeMX) to request higher voltages from the USB-PD port (for example 9V or 12V)? Can anyone share the simple...

Tarru by Associate II
  • 3587 Views
  • 11 replies
  • 0 kudos

STM32F215 gets stuck

Due to privacy policies I cannot publish my code.I am creating a datalogger that receives information from CAN IT and USART IT and stores it on a microSD via SPI. With each interruption I get the time from the RTC and I also use the ADC to unmount th...

by Not applicable
  • 1194 Views
  • 6 replies
  • 0 kudos

STM32H750VB MODBUS Timer Calculation

I am developing a project using STM32H750VB and for automation purpose I am in need of MOD BUS protocol. I have referred the code in this weblink (https://github.com/srikanth977/ModbusRTUSlave_RS232 ). I have completed the code and its working fine ...

Resolved! Hi! I am not sure why I can't recieve a correct value of pvParams inside the task. Pointer value in received correctly but when I cast it to a "const int*" or any other pointer it gives me rubbish when i dereference it.

int main(void) { HAL_Init();   SystemClock_Config();   MX_GPIO_Init(); MX_USART3_UART_Init();   const int* task_1_Param = 1; const int* task_2_Param = 2;   xTaskCreate (vTask, "T1", 150, (void *)&task_1_Param, 1, NULL); xTaskCreate ...

DMark.1 by Associate II
  • 821 Views
  • 3 replies
  • 0 kudos

This is my UART receiving project which is used to accept data from docklight. How do I send binary file into this code?

#include "main.h"   /* Private define ------------------------------------------------------------*/ #define FLASH_USER_START_ADDR ADDR_FLASH_PAGE_16 /* Start @ of user Flash area */ #define FLASH_USER_END_ADDR ADDR_FLASH_PAGE_255 + FLASH_PAG...