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...
I am trying to write a code so that I measure temperature and humidity via HTU21D sensor. It uses I2C interface. In the datasheet:The HTU21D(F) sensor requires a voltage supply between 1.5V and 3.6V. After power up, the device needs at most 15ms whil...
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:...