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
  • 857 Views
  • 1 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
  • 1116 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
  • 769 Views
  • 3 replies
  • 0 kudos