I am working on some embedded stuff and I had multiple interrupts possibly working on same data and so I was wondering if uint16_t and uint32_t data types are interrupt safe.If interrupt is working a uint16/32_t data and is halfway interrupted by ano...
Hello to everyone, I am a newbie on STM MCUs. I need to communicate 6 slaves and 1 master device. But I could not figure out. The master device has been selected Arduino mega due to some specifications. Slaves are responsible to drive motors, Arduino...
I am working on a project using the sensortile. When the MCU is not in use, it enters a standby mode. I measured a current of 4.5 mA in standby mode. What could be the cause of such a high consumption in standby mode?
hello,I want to download software from ST Website ,but there is not button to supply.thank you.
I have configured LPUART with 9600 baud rate and enable receiver interrupt with MCU 65Khz low power mode and my uart handler likevoid LPUART1_IRQHandler(void){ uint32_t isrflags = READ_REG(hlpuart1.Instance->ISR); uint32_t cr1its = READ_REG(hlpuar...
Hi,I am using LPUART for sending data to the GSM. I wrote own uart transmit driver without timeout, like void LPUART1_Send_Data(uint8_t *string){ while(*string) { if((LPUART1->ISR & USART_ISR_TC)==USART_ISR_TC) { LPUART1->TDR=*string; ...
Hello,When using SRAM without DMA I find several group of APIs for read/write, depending on bus width:HAL_SRAM_Write_8b HAL_SRAM_Write_16b HAL_SRAM_Write_32band also read APIs of course.But for DMA there is only: HAL_SRAM_Read_DMAHAL_SRAM_Read_DMAIs ...
I am new to FDCAN on STM32H7.Using STM32H753VIT6, STM32CubeMX , and HAL, I configured both FDCAN1 (master) and FDCAN2 (slave) at 250 kbps, and all seems to work fine.To check it, I used a MicroChip CAN Bus Analyzer Tool (BTW a very limited and buggy ...
Hello there,I am working on STM32L4's ADC and wants to measure internal temperature sensor's readings.But somehow, I am facing some issues here.1. Calculated Temperature is incorrect:I used below equation, provided in reference manual RM0393's 16.4....