User Activity

HiIm using TIM6 on the STM32F303 MCU with clock 64 MHz and PSC 63999.If the ARR set to 65000 and in non- interrupt mode, the below code HAL_TIM_Base_Start(&htim6); HAL_Delay(500); HAL_TIM_Base_Stop(&htim6); results in CNT value of ~500 as expected.Ho...
I'm using STM32F051 controller and MCP2515 CAN SPI module using to try to interface with my car using OBD2 connector. I have tested the CAN bus to transmit and receive messages successfully. Can someone help me with a sample CAN message PID query f...
struct {unsigned char oned; unsigned char twod;}test;hspi2.Instance->DR = *((uint16_t *)&(test.oned));struct {unsigned char oned; unsigned char twod;}test;this works fine.however,typedef union { struct {  uint8_t idType;  uint32_t id;  uint8_t dlc;  ...
Hi, I have a board with STM32F501R8T6 and AT24C02 & DS1307 RTC are connected to I2C2. Earlier i had used custom I2C driver and interfaced them with a 8051 controller without any issues. Now since there is a need to change the I/0 pins config in ARM ...
Hi, I am programming STM32F051R8TX controller using STM32Cube auto-generated code. The HSI clock for the controller is 8 Mhz which can be PLL’d to 48 Mhz. When I was using the discovery board (which has the same controller) the PLL was by default set...