Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
The operating system that I am using is Windows. The programs that I am using are CubeIDE and TouchGFX. The full name of the microcontroller is STM32H750B-DK.

I have implemented some code for my releys to do certain combinations of opening and closing. I have also programmed a keyboard on which I can input numbers and this numbers appear on the screen. The thing that I am trying to do is to write numbers on the STM32 controller and make them store into a variable in the code so this specific input can be used once I launch the part of the code where releys gain and lose contact.

I am not looking for a specific answer, I would just like to know where to start.

What I have tried:

I started learning about UART and flash memory.
Posted
Updated 28-Aug-23 12:31pm
v3
Comments
[no name] 24-Aug-23 15:16pm    
"Everything" points to a "discovery kit" if you want to learn your STM32.

https://www.st.com/resource/en/user_manual/DM00547983-.pdf
Member 16074047 25-Aug-23 1:43am    
thank you for your help

The STM32H750B-DK, and most STM32 devices do not have any EEPROM available so you will have to add a EEPROM chip to persist the data you require.

MicroChip also has a chip, the 47C04-E/P that is a RAM chip that automagically backs up the RAM to EEPROM when power is lost.
 
Share this answer
 
Comments
Member 16074047 25-Aug-23 1:43am    
alright, thank you.
Depending on your needs, you may also implement emulated EEPROM in flash. See How to use EEPROM emulation on STM32 MCUs.
 
Share this answer
 
Comments
Member 16074047 25-Aug-23 2:20am    
alright, will have a look. Thanks.
CPallini 25-Aug-23 2:23am    
You are welcome.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900