STM32Cube_FW_F4 icon indicating copy to clipboard operation
STM32Cube_FW_F4 copied to clipboard

error :: when i changed rx_buffer/tx_buffer address (assign new buffer location at run time)

Open bhura112 opened this issue 7 years ago • 0 comments

`struct ONE{ char one[1]; char two[2]; }one_s; struct Two{ char one[1]; char two[2]; }two_s; struct THREE{ char one[1]; char two[2]; }three_s;

//calling .. fir fun HAL_UART_Receive_IT(&huart1,(uint8_t *)one_s.one,sizeof(one_s));
osDelay(10); //calling .. sec fun HAL_UART_Receive_IT(&huart1,(uint8_t *)two_s.one,sizeof(two_s));
osDelay(10); //calling .. third fun HAL_UART_Receive_IT(&huart1,(uint8_t *)three_s.one,sizeof(three_s));
osDelay(10);
`

but it's every time write only one_s struct ,after 5 or 10 time it's write another (two or three_s struct)

bhura112 avatar Feb 22 '18 08:02 bhura112