STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

I am trying to run UART on STM32 MCU using HAL library for one of my application. I would like to receive packet of data which I am not able to do. Can you please guide me in this? I have provide details below.

I have created an application where I can transmit and receive data over UART port one by one. I am also able to receive packets in sets where I know the size of the data.But in my case, I want to receive data packet of unknown length and read from r...

HDesa.1 by Senior
  • 1382 Views
  • 7 replies
  • 0 kudos

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
  • 663 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
  • 839 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
  • 563 Views
  • 3 replies
  • 0 kudos