STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Which flag definition would be faster ?

I have a lot of different flags in project, I wonder which style definition reads faster by processor .Definition 1     typedef struct{   __IO uint8_t flag1 ;   . //other flags     }Flag_t ;     Definition 2     typedef struct{   ...

hazall by Associate III
  • 551 Views
  • 1 replies
  • 0 kudos

How to search appropriate STM32

I'm looking for an STM32 which features:-Cortex M4 or M7-CAN bus capability -FPU/DSP capability-at least 512kb flash (tough I prefer 1MB or even more)-no BGA (I need to adapt it manually to a breadboard for testing - BGA makes things complicated at t...

MWebe.3 by Associate
  • 760 Views
  • 4 replies
  • 0 kudos

Interfacing MLX90614 sensor i2c with STM32F401 Discovery board. Problem : I am getting device address, register address, data address correct, but getting always NACK in stop condition. Can anyone please help me, this is my code snippet.

uint8_t I2C_ADDRESS = 0x00;I2C_HandleTypeDef hi2c1;int main(void){HAL_StatusTypeDef status = HAL_ERROR; uint8_t buf[3] = {0,};uint32_t temp_data_a; uint32_t temp_data_o; __IO float T; __IO float To;while (1){ HAL_I2C_Mem_Read(&hi2c1, 0x00, 0x06, I2C...

APand.7 by Associate II
  • 1383 Views
  • 4 replies
  • 0 kudos

Resolved! stm32f303re wrong adc value reading

I am using stm32f303re nucleo board, I apply a voltage of 3.3 volts directly to the adc2_in2 analog pin of the stm32f303 microcontroller. My adc resolution rate is 12 bits and the value I read is around 3975. this causes me to get wrong results, why ...

TB5BYO by Associate II
  • 1465 Views
  • 5 replies
  • 0 kudos

I am working with an STM32F429 in a project and I am seeing random BusFaults, captured against erroneous execution of ldr r4, [r2, #12]. This is one example.

I am working with an STM32F429 in a project and I am seeing random BusFaults in random code locations, very infrequently but obviously problematic. I traced one earlier to this instruction ldr r4, [r2, #12].You'll see from the screen capture attached...

JSimp.2 by Associate II
  • 959 Views
  • 4 replies
  • 0 kudos

Resolved! STM32F407 Discovery Board USART2 Read String

Hi I am using STM32F407 discovery board. Trying to receive string with USART2 interrupt in this video.Here is my usart2 receive and interrupt codes:uint8_t receiveUart(void) { uint8_t rxData = 0;   // IF THERE IS DATA IN THE RECEIVE DATA REGISTER...