I2C Low level.
I want to implement a I2C low level driver on STM32L475 as I work with others chips.int I2C_Wait(I2C_TypeDef * I2Cx) { unsigned int timeout = 0; while(LL_I2C_IsActiveFlag_NACK(I2Cx) == 0) { if(++timeout > I2C_TIMEOU...
Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.
I want to implement a I2C low level driver on STM32L475 as I work with others chips.int I2C_Wait(I2C_TypeDef * I2Cx) { unsigned int timeout = 0; while(LL_I2C_IsActiveFlag_NACK(I2Cx) == 0) { if(++timeout > I2C_TIMEOU...
Hi,I think there is a missing break statement in lan8742.c:170. In current version, if the code ever gets to line 170 (status = LAN8742_STATUS_RESET_TIMEOUT;) it will be stuck in an infinite loop. Adding break statement after this line fixes the prob...
Hi, I am working with STM32H747I-DISCO but the lwip not working. I have apply the recommendations here https://community.st.com/s/article/FAQ-Ethernet-not-working-on-STM32H7x3 but the LAN8742.c have infinity loop in line 170. while(regvalue & LAN8742...
I have designed my custom stm32f405 board based on Pyboard 1.1 and Adafruit Feather stm32F4 Express and was unable to enter USB DFU with it.I uploaded the code using ST-Link and can confirm that USB OTG FS works, without DFU the device is visible as ...
Hai, I having a problem with HardFault_Handler when I enable USB CDC and FreeRTOS. I have change the Stack and Heap size. Im using STM32F4 DISCOVERY board with latest STM32 IDE. Could someone point out what i have missing?FOR USB------------1) Connec...
Hey guys, I am seeking to activate the DFU mode in the B-L072 Discovery Module using the Murata CMWX1ZZABZ-091 module.I have kept BOOT0 pin to HIGH and connected a USB cable to the CN11 USB connector. But STM32prog does not detect the DFU bootloader....
Hi,Currently i am using the project STM32L496G-Discovery_AWS. I want to send a http get request using http_lib.c(light weight http library) but there is no documentation on how to use the library. Is there known examples?
Hi All,Attachment is SAI in DMA mode source code generate from CubeMX, but the code doesn't works. DMA interrupt in this code can't be trigger so no data receive from SAI.I can run demo code SAI_AudioPlay on STM32L476 Nucleo board, it works.I can re...
HII am struggling to set up USB Device only on stm32f105I do set up followingRCC - Crystal resonatorSYS - Debug Serial wireUSB_OTG - Device onlyUSB Device - CDCClock I set up 8MHz and run resolveBuild project and load firmwareAnd after connecting to ...
working code : void recvfrom_init(void){ /* start the udp thread */ sys_thread_new("recvfromDev1", recvfrom1, NULL, 64, osPriorityAboveNormal);}not working code :void recvfrom_init(void){ /* start the udp thread */ sys_thread_new("recvfromDev1", recv...