STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! To define macro to set and clear the pin

HI, I am using Macro to set and clear my pin using stm32f103. This is the macro i defined#define SET(PIN,N) (PIN |= (1<<N))#define CLR(PIN,N) (PIN &= ~(1<<N))where ,PIN is the value whose bit to set or/and clearN is the bit number to set or/and cle...

Lchal.1 by Associate III
  • 2501 Views
  • 7 replies
  • 0 kudos

Low power standby mode wake up with bootloader: My software consists of the ST bootloader and my fw application on a STM32F4. I put the device into standby low power mode. Upon wake from standby, the device boots from loader again.

Is it possible to only boot the application and not start from loader again ?When waking up from standby lower power mode, we want the application to start immediately.

SGove.1 by Associate
  • 860 Views
  • 4 replies
  • 0 kudos

freeModbus store data to all slave

hello.​i was try to implement modbusTCP on STM32F7my STM32F7 is modbus slave and my PC is modbus master for simulation.​it was work but have one question:my modbus slave will store data to all slave(1-248), in normally, i should be store data to own ...

0693W000007E2yTQAS.png
YAlie.1 by Associate
  • 712 Views
  • 0 replies
  • 0 kudos

STM32G431RB TIM7 interrupt handling problem

There is a bug in the file stm32g431xx.h of the archive stm32cube_fw_g4_v130.zip.It is written there:/* Aliases for __IRQHandler */#define TIM7_DAC_IRQHandler TIM7_IRQHandler#define COMP4_5_6_IRQHandler   COMP4_IRQHandlerAfter replacing ...

APett.1 by Associate
  • 769 Views
  • 2 replies
  • 1 kudos