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?
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?
For X-NUCLEO-53L0A1, P-NUCLEO-IKA02A1 and X-NUCLEO-IHM03A1, we find libraries, but they don't work. Could you kindly help us? Thank you.
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...
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...
Hi hello,As iam new to stm32 i don't know how to use CAN bus to transmit and receive through CAN bus analyzer to stm32f4 controller, could some one help to give some sample or example code to send and receive message using CAN bus analyzer to stm32f4...
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...
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...
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,...
I want to interface temperature sensor LM35DZ with STM32F103C8T6. I wanted to know whether we need any signal conditioning circuit between the sensor and the STM32 or not. If yes, then I wanted to know the exact circuit using voltage divider and the ...
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...