I2C Circular mode tx
Hello. I'm trying to set I2C on the stm32l052 processor to send data continuously in circular mode. It sends once and then stops. The code appears below.
Ask questions, find answers, and share insights on STM32 products and their technical features.
Hello. I'm trying to set I2C on the stm32l052 processor to send data continuously in circular mode. It sends once and then stops. The code appears below.
I was debugging some code in STM32F4 controller. I build and flash some code related to DMA, During the debugging process the code is getting reset.Debug log is attached belowTue Apr 19, 2022 10:21:53: The stack pointer for stack 'CSTACK' (currently ...
To design STM32F051 as Slave.When receive the data from Mater, the STM32F051(Slave) can return data to the Master.Current design:(1) After the MCU is initialized, it will call HAL_I2C_Slave_Receive_IT() to set the I2C interrupt to the receiving stat...
Hello I ordered two NUCLEO boards, to start some projects on the ST32G03 platform. I was using the board with out an issue and connected to am Ubuntu 20.04 sys, updated the firmware on both and now one is working and the other is not, here is an outp...
HAL_StatusTypeDef HAL_I2C_Master_Transmit_DMA(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size) { if(hi2c->State == HAL_I2C_STATE_READY) { if((pData == NULL) || (Size == 0)) { return HAL_ERROR; } ...
I'm got a Nucleo-F746ZG connected to a DC motor, which I'm driving via PWM using TIM1.I'm using TIM3 in quadrature encoder mode to read the encoder on the motor. The problem I'm encountering is the TIM3 CNT register is not incrementing fast enough. T...
I have spent the past week trying the demonstration projects and demonstration binaries for the B-L462E-CELL1 board. I have been able to compile and down load a number projects but none of them will connect to the Truphone website using the embedded ...
Hi all,I believe I am having a problem with the IWDG in my project. What's happening is that immediately after entering sleep mode the device wakes up again.From the research I have done, it looks like this is inevitable, and in order to deal with it...
Hey. I am trying to read multiple ADC channels using DMA but with no luck. My project settings:I have selected 4 channels and enabled Continuous conversion mode as well as DMA Continuous requests. I have also created a circular DMA for ADC : #include...
Hello,At work we have developed firmware on a stm32l0 based on different time base with systick and counters of elapsed time (10ms, 100ms and 1s). Therefore, some function are executed periodically.The board is powered with 3.3V.In order to measure c...