STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How do you specify GPIO ports and pins as function inputs?

I am new to STM32s programing in general and am trying to create some simple libraries, altough I have no idea how I would make it so that I can write it in a way, that needed ports and pins are given in function inputs. For example: int HCSR04_Dista...

LTork.1 by Associate
  • 1015 Views
  • 2 replies
  • 0 kudos

Resolved! Send .bin file through UART

Hello, i am using a STM32L0xx series, i just finished my bootloader than can init and jump an application from the specific location in Flash memory, so the only thing left to do is getting bin file (data) from the usart, but how can i send a .bin fi...

RComa.1 by Associate II
  • 5220 Views
  • 4 replies
  • 0 kudos

Resolved! How do you implement an I2C Slave to look like a memory?

Here is what I am trying to Implement. To make the I2C Slave look like a memory to the master. Syntax is one of two cases. For a Write:<Dev Add W><MemAdd MSB><MemAdd LSB><Data0><Data1>...<Data N><Stop>For a Read:<Dev Add W><MemAdd MSB><MemAdd LSB><Re...

KiptonM by Lead
  • 3468 Views
  • 9 replies
  • 0 kudos

CAN protocol forwarding limits?

Hi, I would like to forward about 2048 bytes via CAN protocol.I am using an STML4 and have implemented a solution in which sending an STM transmits in the following way:void CAN1_Tx(){ CAN_TxHeaderTypeDef TxHeader; uint32_t TxMailbox; uint8_t message...

JTLGE by Associate II
  • 421 Views
  • 2 replies
  • 0 kudos

Multiple I2C DMA requests on STM32H7, chained together

Hi, I want to transmit the following sequence with DMA, ideally without any interrupt (except once all the data transferred i.e. at the end of the whole operation).I'm talking in I2C with a device that works like that :Send one byte for read request ...

YB.1 by Associate
  • 869 Views
  • 2 replies
  • 0 kudos

GPIO output voltage level in stm32g4

I want to know the ouput level of the pin PA3 wich has a structure as TT_a (3.6 V tolerant I/O)the table provided in the datasheet is a bit tricky to understand. Which are the row that I should consider for the PA3 pin? Cmos or TTL or the others?

0693W00000LwX6qQAF.png 0693W00000LwX75QAF.png
Tommino by Senior
  • 1263 Views
  • 3 replies
  • 0 kudos

Resolved! STM32H725 NVIC priority and subprioririty

Hi!I try to set IRQ priority to 3 and subpriority to 2.HAL_NVIC_SetPriority(EXTI9_5_IRQn, 3, 2);I suppose that correspond NVIC IPR [23] now is 0x32. But it is 0x30. I read AIRCR PRIGROUP (it is 3).uint32_t PriorityGroup = NVIC_GetPriorityGrouping();A...

Aleks by Associate III
  • 3062 Views
  • 2 replies
  • 0 kudos