User Activity

Dear experts, my STM32F042G6 is unexpectedly reset after I switched on fly CAN_TX GPIO to output GPIO pin.  for this I did this steps.1).HAL_CAN_STOP() and then  2). GPIOA->MODER &= ~((U32) "pinX");   GPIOA->MODER|= ~(U32) "pinX");I have also made th...