cancel
Showing results for 
Search instead for 
Did you mean: 

Hello, my task is to figure out and fix the program code for the microcontroller.

qazan_batiri
Associate

The code is very crowded and very abstract for me. May I ask you to comment on my code and where do I start my study of the microcontroller.

#include "it_handlers.h"
#include "stmutils.h"
#include "sysclk.h"
#include "wwdg.h"
#include "rtc.h"
 
#include "lcd.h"
#include "visual.h"
#include "terminal.h"
#include "keyboard.h"
#include "dio.h"
#include "adc.h"
#include "uart.h"
#include "i2c_soft.h"
#include "modbus.h"
#include "nvtransactions.h"
#include "dev_memory.h"
#include "arcs.h"
#include "stled316s.h"
#include "termores_handler.h"

I have given the header files, I apologize for the incomplete information.

2 REPLIES 2
Danish1
Lead II

A few things would help us:

  • What the program actually does
  • What it is supposed to do
  • What the hardware platform is
  • Your level of knowledge and experience, in electronics, computing, microcontrollers in general and stm32 in particular

With that, some of us would be in a position to help you. But I should point out that we're all just volunteers here, giving back for the help we've received in the past, for our own interest and to make us feel better. If we feel that you're being paid to solve a problem where we're doing work, or worse that you've been given a school assignment where the real intention is not to actually solve the problem but for you to learn how to solve problems, then we might choose not to help.

This is meant to be a helpful comment, even though it does not attack the problem you've presented.

Regards,

Danish

I might add, the code is auto-generated by Cube.

Very little of the author's intention is obvious in the source.