Forum Posts
How should I configure the 'MemoryType' when setting up the OSPI1 interface of the STM32U575ZI for QSPI mode?
In my setup, I have connected a QSPI NAND flash (IS37SML01G1) to the OSPI1 interface.When I configure OSPI1 in 1-line SPI mode, I can write a specific data pattern to the NAND flash and read it back for comparison without encountering any issues.Belo...
How to receive CAN messages inside Timer interrupt.
I use STM32F105RCT6, Where I need to receive CAN data inside a timer interrupt. Also, the IRQ number of the CAN is lower than that of the timer. CAN message is filled to the FIFO0 but "HAL_CAN_RxFifo0MsgPendingCallback(CAN_HandleTypeDef *hcan1)" is n...
SPI write and reading from PN532 using HAL not working
I am working on a project to communicate with PN532 nfc reader.The reader work just fine with arduino code using SPI.Below is the library I used to read and write data from PN532https://github.com/adafruit/Adafruit-PN532Now I switched to stm32 board ...
Missing I2C STOP condition
RM0394 (STM32L4..) in section 37.7.2 describing I2C_CR2.START bit states:"setting this bit generates a START condition once the bus is free"Section 37.4.8 reads:"the master automatically sends the START condition followed by the slave address as soon...
STM32L4 dual regular simultaneous mode using dual DMA as I don't want overrun of data. I want to know correct IOC setting for this mode.
I wanted to know how to configure the ioc setting for dual regular simultaneous mode. I want to use ADC1 and ADC2 together. After the correct ioc setting, how to know to code for this mode. I took help of the available resources but getting an error ...
Resolved! (SOLVED) Sprintf with Floating Point Number enters infinitive loop in Bare-Metal Programming
The problem is about Sprintf with floating point number on STM32L452RET6P.Although all settings are correct, sprintf doesn't work with floating point number only. Although it works on stm32cubeMX, it doesn't work on bare-metal program. It loops endle...
SPI6 with BDMA fails to send data and receives
i used the spi6 with bdma to send data,but it don't work.so i hope get help, thanks.