• On STM32h753 UART interrupt is working fine after programming the controller using keil but malfunctions after complete power reset ?

    Akash Kasturi
    Akash Kasturi

    I am working on STM32H753 microcontroller. I want to receive string using UART interrupt and send the same string back on UART. The IDE is keil uvision 5. The problem I am facing is that when I first program the MCU  UART is working fine and I am receiving…

    • 19 days ago
    • Software Tools
    • Keil forum
  • I cannot use F12 anymore to check out code values.

    BarrySC
    BarrySC

    Hello,

    I am currently studying C in µvision as a student for my exams. So using the F12 function to see info about the code and which values / masks they have is essential.

    However each time I press F12 I get this error: (see screenshot).

    This happens…

    • 2 months ago
    • Software Tools
    • Keil forum
  • Working with buttons

    _Vladimir_
    _Vladimir_
    Hello) Please, tell me what I'm doing wrong. I want to make the LED (PE1) work when the (PB13) button is pressed, but it does not work, as I understand that I am not correctly initializing the mode of the button port, there must be Input mode, but I don…
    • Answered
    • 2 months ago
    • Developer Community
    • Infrastructure Solutions
  • Reading battery voltage

    Banala
    Banala

    Hello Guys,

    I am using NucleoF070RB board to read battery voltage using voltage sensor module. I read ADC can be started by three ways Poll Conversion, Interrupts, DMA. I found many examples regarding the Arduino but could not find about…

    • 2 months ago
    • Software Tools
    • Keil forum
  • USBD MSC - fs_ioc_get_id ("U0:") returns error

    Alexander Wagner
    Alexander Wagner

    Hello, I would like to configure my STM32F769 so that the connected USB stick can be used by windows explorer as a mass data storage device.

    I have already tried it with the example programs. So it is possible to display an SD card or a memory area in…

    • 3 months ago
    • Software Tools
    • Keil forum
  • Using STM32H7 ETM without external tool

    GuillaumeP
    GuillaumeP

    Hello,

    I want to record the execution trace on our STM32H753 (all the time, in circular buffer mode) and, in some particular cases, output this trace to an external peripheral through SPI (no dedicated tool like Lauterbach).

    I understood that I can…

    • 3 months ago
    • Processors
    • Cortex-M / M-Profile forum
  • Timer not working in stm32f401re

    Ashk.tr
    Ashk.tr

    i want to setup timer in STM32F401RE and i already have this code:


    int main(void) {
    TIM1_init();

    while (1) {}
    }


    /// initialize TIM1
    /// timer TIM1 channel 2 is configed to generate PWM at 1kHz. the output of the
    void TIM1_init(void) {
    RCC->AHB1ENR |= RCC_AHB1ENR_GPIOAEN;…
    • 3 months ago
    • Processors
    • Cortex-M / M-Profile forum
  • LED with button

    SuleimanTheMagnificent
    SuleimanTheMagnificent

    I am using the STM32 G031K8 ARM CORTEX-M0 + development board.

    I am writing my code in Assembly language.

    I want the LED to light up when I add an external button and press this button. I have adjusted the Clock settings and GPIOx settings. I set the…

    • Answered
    • 3 months ago
    • Processors
    • Cortex-M / M-Profile forum
  • How can I build my custom bootloader with stm32f103

    Ravona
    Ravona

    Hi everyone,

    I have 2 stm32f103 development board. I did usart communication with board(15 byte). I want to make a my custom bootloader with my one development board. And I try to boot with hex file other development board. Anyone have any idea?

    Stay…

    • Answered
    • 4 months ago
    • System
    • Embedded forum
  • Importing CPP libs to CubeMX project

    winterGrey
    winterGrey

    Hi,

    I am trying to import .cpp  file to stm32f103c8 CubeMX project. I have a CPP file I want to import to keil. How can I compile CPP and C files at the same time on Keil. Can I do that?

    I want to use the HAL library also I have one cpp file.  I couldn't…

    • Answered
    • 4 months ago
    • Software Tools
    • Keil forum
  • STM32L476VG discovery board Jtag communication with IAR

    M.Lee
    M.Lee

    Hi, I have a STM32L476VG discovery board and I want to program it with jtag communication and PE micro multilink universal programmer and IAR IDE.


    I have installed a firmware of ARM in PE programmer and I have connected NJRST, JTDI, JTMS, JTCK, JTDO,…

    • Answered
    • 4 months ago
    • Software Tools
    • Arm Compilers forum
  • ITM Stimulus Post Disabled

    ChetanNahar
    ChetanNahar

    I want to debug using printf but i can't due to disable of ITM stimulus port.
    Stucked ! Need Help!

    • 4 months ago
    • Software Tools
    • Keil forum
  • problem with sim800

    salar1991
    salar1991

    hi, I wrote a code for an SMS controlled irrigation system. it has three modes: manual mode which can turn a Solenoid valve on and off with an SMS, semi-auto which can turn a solenoid valve on for a specific duration and turn it off using an SMS. and automatic…

    • 5 months ago
    • Processors
    • Cortex-M / M-Profile forum
  • Where are the DSP prebuild libraries?

    eMKa
    eMKa

    I'm trying to learn a little about DSP in stm32 microcontrollers.

    I follow the instructions on the official site:

    arm-software.github.io/.../index.html

    And i downloaded the CMSIS package from github:

    github.com/.../CMSIS_5


    CMSIS Package manual tells that…

    • 5 months ago
    • Processors
    • Cortex-M / M-Profile forum
  • Program does not reach main, uVision5

    c.yesildag
    c.yesildag

    Hello,

    My project involve FATFS and USB MSC. We started this project with STM32L073 MCU. Than, we changed our MCU with STM32L072. After changing MCU, we faced the problem. Now, I can build my code without problem. But, program doesnt reach the main. 

    Before…

    • Answered
    • 7 months ago
    • Software Tools
    • Keil forum
  • Cannot Start Program Without Debug

    iraquois
    iraquois

    I use a simple delay clock code. But whenever I use this code program won't start without entering debug mode in KEIL. I plug stlink out and reconnect but it wont work if I don't enter the debug mode. Is there any solution to this. If not then what else…

    • Answered
    • 8 months ago
    • Software Tools
    • Keil forum
  • USART2 Interrupt occur just one time or too late or never. (stm32f10 Keil)

     Enthusiastic
    Enthusiastic
    Hello there. I have a homework to do stopwatch, but I'm having a few problems. 
    In code there are 4 button interrupt(B0-B3), 1 timer1 interrupt for 1 ms and USART2 interrupt.
    Buttons and timer interrupts work properly but USART2 interrupt work just…
    • 8 months ago
    • Software Tools
    • Keil forum
  • AD9833 Module Control

    BYHLM
    BYHLM

    Hello,

    I want to control the ad9833 module with the stm32f4 development board. I have a library but I couldn't get SPI communication. I cannot get any wave output from the module. I cannot adjust frequency. where can the problem be? I need to create…

    • 9 months ago
    • Software Tools
    • Keil forum
  • Command not supported.

    Aravind979
    Aravind979

    I'm a beginner to stm32 world, and currently using STM32F407VG and the KEIL version is MDK 5.30. I started with the basic example blinky code. And when I'm trying to flash the code a dialogue box is popping with a message "Command not su…

    • 9 months ago
    • Software Tools
    • Keil forum
  • Reverse engeneering / debug / emulate .bin stripped firmware

    davidtgbe
    davidtgbe

    Hello,

    I am trying to find out GPIO mapping on a board with an STM32F407 (which firmware function is related to which GPIO). I know I could do it using a LA, but pins are note very accesible.

    I have no access to source code so... I only have a firmware…

    • 9 months ago
    • Software Tools
    • Keil forum
  • How to debug stm32-Cortex M in production mode for stm32mp157-EV1?

    Mahsa
    Mahsa

    Hi guys

    I would like to debug stm32f7 on Stm32mp157_EV1 board via stlink.

     

    according to page 5 of http://www.keil.com/appnotes/files/apnt_319_v1.1.pdf

    i connected st link then went to Project, Selected St-link and then went to setting dialog,

    the text…

    • 9 months ago
    • Software Tools
    • Keil forum
  • Keil DFP vs STM HAL

    m11
    m11

    I wonder if the Keil's DFPs just copy the HAL releases, or are they reworked in some way?

    Especially, I wonder if it is possible that the bugs which are discussed in the ST forums are fixed in DFPs.

    • Answered
    • 10 months ago
    • Software Tools
    • Keil forum
  • Keil USB Middleware not working with CubeMX

    Alexander Wagner
    Alexander Wagner

    Hello I try to use Keil RTOS2 with CubeMX.

    I got USB Host running with this combination. But I can't get Keil USB Device (CDC or HID) Middleware  running with CubeMX.

    If I only use CubeMX+STM Middleware or only Keil RTE it's working. Everything is…

    • 10 months ago
    • Software Tools
    • Keil forum
  • I need a help for code..

    Cat_Lucif
    Cat_Lucif
    Hello everybody.
    I need to transmit through UART a fixed number in the data block through the command.
    I did this :
    void USART2_IRQHandler(void)
    {

    if ( USART_GetITStatus(USART2, USART_IT_RXNE) )
    {
    USART_ClearITPendingBit(USART2, USART_IT_RXNE);
    RX_buffer…
    • Answered
    • 10 months ago
    • Software Tools
    • Keil forum
  • Code completion/suggestion not working with STM32 project

    vibram
    vibram

    Hi

    I create a basic project like led blinking on F411RE nucleo board with ST32Cube MX qnd opened the project with Keil.
    When I open keil, I have no code completion/suggestion even for very simple function like HAL_Delay

    When i use and build the code with…

    • 10 months ago
    • Software Tools
    • Keil forum
>