Ask questions, find answers, and share insights on STM32 products and their technical features.
I want to transfer binary data (not character) without having to worry about character conversion, so directly:uint8_t data = 0xBF;HAL_SPI_Transmit(&spi1handle, (uint8_t *) data, 1, 1000);But I get something else at the receive end, specifically I ge...
I need help with standby mode and rtc wakeup.If I set date/time and RTC-Alarm time, I don't get an RTC - interrupt.I guess this is why the stm32f103 don't wake up from deep sleep.Do anyone have an link (or code) to an example using RTC amd wakeup fro...
I have two custom boards with one STM32F746 each. Both MCUs run identical code (in different projects with potentially different configuration).One MCU runs as expected, but the other MCU throws a HardFault as soon as MX_NVIC_Init() enables EXTI int...
I connect with the module to an Access Point and get IP. Now I have some devices connected to the same Access Point. I want to receive UDP packets from the devices.What should I do? I can connect only with TCPif (WIFI_StartServer(SOCKET, WIFI_TCP_PRO...
I have a project for H743 with three SPIs.CubeMX creates the following code for initializing SPI pins:void HAL_SPI_MspInit(SPI_HandleTypeDef* hspi) { GPIO_InitTypeDef GPIO_InitStruct = {0}; RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0}; if...
Hi guys!I believe I found a bug with the SPI/I2S peripheral.The initial problem started here: https://electronics.stackexchange.com/questions/571749/function-pointers-causing-unexpected-behaviour-within-stm32h753zi-microcontrolle?noredirect=1#comment...
void delay_ms ( unsigned int i ){ unsigned int temp; SysTick-> LOAD = 9000 * i; // if subtle, the SysTick-> LOAd = 9 * i; SysTick->CTRL = 0x01; SysTick->VAL = 0; do{ temp = SysTick-> CTRL; // read the current countdown value }while ( ( temp & 0...
Hello! I am trying to communicate with ads1118 through spi3 using HAL library and STM32F205. According to datasheet, after sending the configuration data, we must wait for MISO to go low then we'll be able to retrieve data from the chip. But the MISO...