I’m trying to set up STM32 development on Zorin OS using Visual Studio Code, but I’ve encountered some issues. Here's an overview of my setup and the problem I'm facing:System Information:OS: Zorin OS 17.2 Core(based on Ubuntu)IDE: Visual Studio Code...
Hey, I would like to a string from terminal via UART in order to complete a challange given by Digi-Key YouTube channel in FreeRTOS tutorial playlist. Anyway, I want to take the whole string given by user in terminal, but I couldn't so far. I tried
...
I am trying to implement an EEPROM driver which uses DMA. So far, I can implement polling and interrupt version. HAL_SPI_Transmit_DMA works OK, but HAL_SPI_Receive_DMA returns HAL_BUSY, so even the first reading process seams OK, it actually doesn't ...
I wanna implement an EEPROM driver but I have some hesitates.I actually implement a driver in polling mode, and as you might guess, there are some HAL_SPI_Transmit functions to send command, and some data(a buffer, not a single byte). I thought to tr...
I am trying to implement a driver for an EEPROM. I created as follows: typedef struct
{
uint16_t address;
uint16_t size;
uint8_t *data;
} test_t; And create a structure array as: test_t test[] = {{0x0000, 50, NULL}, {0x00AB, 70, NULL}, {0x0A...
Hello @Nawres GHARBI , thank you for your answer.I first had tried @Pavel A. 's answer, and it worked fine. Then today, I have made a quick comparison between the .ld files generated by CubeMX and CubeIDE, and notice that RAM sections didn't specifie...
Actually, I am using RealTerm, what I want to do is it gets all characters till it sees a \r character, but it does is only one character and it assigns to all indexes of a buffer.
I don't wanna make complex the program since it is just a homework, but will consider it if cannot find a solution.BTW, I didn't think it is important but my board is STM32F411RE.
Hey,I realized that my TxCpltCallback function is called after HAL_SPI_Transmit_DMA, however, this not true after HAL_SPI_Receive_DMA. Furthermore, ERRIE bit is enabled in CR2 register. Why could it be? There is no choice but blocking functions?Edit:...