Hi,
I have created a code snippet to communicate with I2C using LL API instead of HAL. The code is given below
uint8_t temp[2]={0xF9,0x00};
while(LL_I2C_IsActiveFlag_BUSY(I2C1)); // Wait until the I2C bus is not busy
LL_I2C_HandleTransfer(I2C1,...
Hi Guys,We are having an issue while programming an STM32L4S9AIIX. The error message is: 'File segment @0x08000000 is not 255-bytes aligned. It will be aligned to @0x07FFFFF8.' We tried flashing it using multiple options in the CubeProgrammer, but th...
Hi, I need to receive approximately 300kb size text file through UART interrupt mode in Nucleo H7 board. But only 65535 bytes are received. i used HAL_UART_Receive_IT for this.
I am able to read data using Reload mode. But there is an issue happens , that is after reading the 284 data the SCL is pulled low . It never returns to High state. Because of that i am not able to read the next set of data. The SCL is pulled High in...
I am able to read data using the Reload mode. But the issue we are facing that ,after receiving the first set of data the SCL line is pulled low. Because of that i am not able to read the next set of data. The issue only happens when i receive more ...
We have changed the code and now the I2C communication looks fine. Now we faces an issues of reading some data buffer ,where the buffer contains more than 255 data. LL_I2C_SetSlaveAddr(I2C1, (devAddr << 1) );LL_I2C_SetTransferSize(I2C1, rxsize);LL_I2...
i am always stuck here in this point while (!LL_I2C_IsActiveFlag_STOP(I2C1))Also what are the things taken care during changing from HAL to LL in Stm32l031.
The RXNE flag is set when the Handle transfer for read is completed and then reset when i check the stop flag condition. Also the variable received is declared as a buffer .