Saltar al reproductorSaltar al contenido principal
  • hace 3 días
STM32 Cube IDE es una plataforma de desarrollo para C/C++ que incluye configuración de periféricos, para los microcontroladores y microprocesadores de la familia STM32.
Código para generar archivo hexadecimal :
arm-none-eabi-objcopy -O ihex ${ProjName}.elf ${ProjName}.hex
Programación secuencia de leds :
HAL_GPIO_TogglePin(GPIOA, GPIO_PIN_1);
HAL_Delay(500);
➡ Descargar gratis :
https://mega.nz/file/HNFHyIZJ#gxh8zit44Z7qdtHTgiHKVwLUHSKardGr6jBV6VOIxGs

Categoría

📚
Aprendizaje
Transcripción
00:03Hello, welcome to this video. In this video, I will discuss the simulation sequence of the ex in
00:09Proteo with the STM32 ID is an advanced C/C++ development platform with configuration
00:17STM 32 IP microcontroller code generation, code compilation, and functions
00:23STM 32-core motherboards are available with 32-core, 64-core, and 144-pin pins.
00:38microcontrollers, all Core 64 development boards are also compatible with the environment
00:44The open-source STM32 development library includes the Black Pill, the Blue Pill, and the kernel. These libraries will be available.
00:52Free for Proteus in the video description. Okay, let's move on to creating the code for...
01:02To perform the simulation, first go to a new project, then copy the microcontroller name
01:08stm 32 in proteos and we go to the stm 32 id, we paste it and click search, once found it
01:15We move on to the next step.
01:30Now we assign a name, it will be lec de 6. Next, we will configure the output pins, observing the pins and
01:37The pins in Proteus, the pins and the output pins will be jipio output output
02:05from 1 to 8
02:21Now we configure the system core where we go to RCC and configure the microcontroller oscillator in
02:27ig speed we switch from disable to oscillator we observe the output pins that have been activated on the microcontroller
02:41Let's go to SGS and put serial wire in base time, we'll be able to use SGS TIC
02:51Now we go to the gear icon to generate the default code; this has already been done.
03:03We looked for writing 1 hour and you didn't and we wrote the code for the ex's ignition
03:10With control plus the space bar we can help ourselves, importantly in Jipio we added the
03:15microcontroller port followed by the pin number and we will wait 500 milliseconds
03:38To perform the sequence, we copy the code already described and paste it repeatedly once.
03:44Having done this, we alternately change the timings and the number of pins in the port; I do this as follows:
03:50For practical purposes, well before compiling the stm 32 and it doesn't generate a hexadecimal file for
04:04To simulate in Proteo, we go to the project where C is located, then to properties, and then...
04:10steps or steps we write the following code which will be in the description being that stm 32 and of generate
04:16A .lf file code means that the .lf file will be copied again, but in
04:23This hexadecimal point will allow us to simulate in Proteos. Now we go to Opus outputs and select
04:29We compile the hexadecimal file and see that it is correct.
04:42Now we upload the file generated by the code, we go to the workspace folder.
04:48and we searched in debut and looked for the generated file
04:57Now we move on to the simulation in Proteos; it can be observed that it is correct with the time intervals.
05:16Well, if you find it useful, don't forget to subscribe.
05:32please
05:35but
05:35but
05:36and
05:37and
05:37and
05:37and
05:42and
05:43Thank you!
Comentarios

Recomendada