User Activity

I am using the FDCAN_Classic_Frame_Networking example for the STM32G0 part. Instead of using the 64Mhz clock I have a 16Mhz oscillator connected. The example uses a 1Mb bit rate at 64Mhz. My hardware and ioc file are setup to use the 16Mhz as FDCAN1 ...
Hello,I'm using CubeMx to create a project with usb cdc serial port and BLE functionality. CubeMx generates a sequencer UTIL_SEQ_Run(~0); that runs the BLE state machine. In the code below, if I comment out UTIL_SEQ_Run(~0); the code runs fine per Wo...
I2C Error trappingI am using the STM32WB in master mode, polling a single LSM303AGR accelerometer. Using the HAL transmit routine as follows:if(hi2c1.State == HAL_I2C_STATE_READY) {  /* Now send the device address and register to be read with 1 sec d...
I am using the STM32WB in master mode, polling a single LSM303AGR accelerometer. Using the HAL transmit routine as follows:if(hi2c1.State == HAL_I2C_STATE_READY) {  /* Now send the device address and register to be read with 1 sec delay max*/  while(...
I am using the following code:  while(HAL_I2C_Master_Transmit(&hi2c1, DEVICE_ADDR, i2cbuffer, 1, 1000) != HAL_OK)  {   /* Error_Handler() function is called when Timeout error occurs.     When Acknowledge failure occurs (Slave doesn't acknowledge its...