Is it possible to write a custom loader (.stldr) for internal and external (qspi) flash? If so, any tips?I'm following this guide:https://www.st.com/content/st_com/en/support/learning/stm32-education/stm32-moocs/external_QSPI_loader.htmlThis is a tou...
Hello all,I thought this is a straight forward thing but for me it turned out not to be...What I want to do is simply using SDADC1 and SDADC2 and perform a regular conversation at a time in multimode. I configured both in CubeMX and tried to sample b...
int main(void) { /* USER CODE BEGIN 1 */ arm_cfft_radix4_instance_f32 S; float32_t maxValue; uint32_t maxIndex; uint16_t i; uint16_t height[128]; /* USER CODE END 1 */ /* MCU Configuration-------------------...
Hi, I have a question about preprocessor C. When I define macros like:#define CON_A 10 #define CON_B 5.6 #define CON_C 20.896 #define MY_MACRO (((10* CON_A)/CON_C)*CON_B)The last one is precalculated by the compiler or is just plain replaced as it...
Hi there,Debugging stops with this error messageError in final launch sequence:Failed to execute MI command:target remote localhost:61234Error message from debugger back end:localhost:61234: The system tried to join a drive to a directory on a joined...
I mean, I setup TIM1 CH1 as output PWM, One pulse mode, but I need to trigger it by my codesfor example which register should be set to high or low to generate a pulse on TIM1 CH1
We've got some piece of code that we would like to debug on the MCU. This works fine with the previous hardware version of our product, which uses an STM32L151RET6.On our new hardware version using the STM32L151VE, however, debugging from IAR does no...
This is the sequence of events:Enter Shutdown with RTC Wake up timer enabled (5 seconds)Brown out, remove and restore powerPOR Reset occurs, correct PWR->CSR = 0x0C000600Clear CSR flags by writing 1 to RMVF in CSRRead CSR flags and confirm they are c...
How can i modify this part of code to can send the register address of 16 bits /* Implementation of I2C read for 16-bit values */ int32_t mlx90632_i2c_read(uint16_t Reg, uint16_t *value) { uint8_t data[2]; int32_t ret; ret = I2C_TxRx1(MLX_I2C_Adre...