STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Basic timer interrupt example?

Beginner requesting an example of a timer interrupt every 20 us. Am using a Nucleo-F767ZI. Not sure if CubeMX is used for this as the interrupt is timer not external?

NCarl by Associate II
  • 1046 Views
  • 7 replies
  • 0 kudos

Why can't i send a specific number with i2c?

I have started writing an i2c driver for the stm32f051c8 and have stumbled upon an issue.The code i use to test a very basic version is: RCC->AHBENR|= 1<<18; // gpio clock enable gpiob RCC->APB1ENR|= 1<<21; // enable i2c1 clock GPIOB->MODER|= 2<<1...

0690X000008Az0ZQAS.png
NBlac by Associate III
  • 634 Views
  • 3 replies
  • 0 kudos

bxCaN 16-bit rx-filter

In the manuals it usually says that the 16-bit filter includes 11-bit STID, IDE, RTR and EXID[17:15]. Does that mean that if standard CAN IDs are used, EXID[17:15] covers the r0-bit and two highest bits of the 4-bit DLC-field? I haven't found that me...

STM32F030R8 Nucleo-64 Board ADC Voltage Reference

I want to decrease the reference voltage of the ADC to have a better resolution, is it possible to do it?Could someone explain me how can I do this? I am using the Nucleo-64 board STM32F030R8 and CubeMX to generate the code. Do I have to configure so...

EFons by Associate II
  • 882 Views
  • 4 replies
  • 0 kudos

16 bit SPI slave to DMA not working with Half word.

Hi, I'm using an STM32F301 chip to write to a display, so I need a lot of data to be transferred to it. The chip is configured as an SPI slave and the data is received via DMA. My issue is that the DMA receive buffer takes too much space in RAM becau...

fabces by Associate
  • 364 Views
  • 0 replies
  • 0 kudos

Current-limiting resistors for GPIO pins?

I'm not a hardware engineer, so apologies if this is a stupid question ...I have two STM MCUs communicating over an open-drain line which has a pull-up resistor. Each MCU has a GPIO port connected to the line, and the ports are configured open-drain,...

Issue with SPI and SDIO using same DMA

Hello,I'm working on an STM32F411 and I'm using two peripherals : one SPI and one SDIO.The SPI is triggered every millisecond in a timer ISR and is using two DMA2 streams 0 and 2 in direct mode at a very high priority for TransmitReceive. Then, the D...