STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Custom SPI Datasize

Hello, I am trying to interface to an external ADC via SPI. I amusing the STM32Cube IDE with a Nucleo-144 STM32L552. The issue I am having is that the ADC requires an unusual number of clock pulses (18 as per data sheet - see attached screenshot). No...

SJohn.5 by Associate II
  • 2707 Views
  • 3 replies
  • 0 kudos

STM32F4 using DMA2 for USART1

I am using a STM32F407, and I would like to use DMA to receive data from USART1 and store in a buffer.HAL is not being used.USART1 is configured and is receiving the first byte of the message correctly. That is, the data shows up in USART1->DR.Here i...

0693W00000HnYbgQAF.jpg 0693W00000HnYbqQAF.jpg
gahelton1 by Associate III
  • 2047 Views
  • 6 replies
  • 0 kudos

Resolved! How to solve "undefined reference" when compiling

I took the driver from Arduino for ADS119X and implement the HAL code for STM.When compiling, it gives me “undefined reference to `keepSetting'�?. First I tought on a code problem but after long time of trail and error, I was looking on forums. It’s ...

Using "HAL_CAN_AddTxMessage" from interrupt and main loop

Hi, I want to be able to add CAN message with "HAL_CAN_AddTxMessage" from interrupt and main loop (loop maybe busy sometimes so I cant send all messages from it). I assume they can collide and override so its not safe to do it from both?What are my o...

JBond.1 by Senior
  • 462 Views
  • 0 replies
  • 0 kudos

Resolved! polling interrupt flag, without activate interrupt

I was working with SPI dma transmision. I config two channels for transmit and receive, however I didn't enable interrupt option in dma, however, before each transmision I cleared tc flag, and then enable spi while polling the tc flag. This works rea...

JCuna.1 by Senior
  • 524 Views
  • 1 replies
  • 0 kudos

H743ZI Full-duplex DMA communication. When the baud rate is 25M, the master and the slave can receive the data correctly. When 50M and 100M, the slave can receive the data correctly, but the master cannot receive the data correctly.

Use two NUCLEO-H743ZI boards for SPI communication. Full-duplex DMA mode. When the baud rate is 25M, the master and the slave can receive the data correctly. At 50M and 100M, the slave can receive the data correctly, but the master cannot receive the...

one V by Associate III
  • 482 Views
  • 1 replies
  • 0 kudos

STM32F407 DISC-1 out of stock

Hello, In India, the STM32F407 discovery board is out of stock. I enquired many vendors like element14, Digikey and other locals, it's not at all available. Did ST stop the production of this ? Will it be availabel in the future ? which is the close ...

n.serina by Associate III
  • 1395 Views
  • 4 replies
  • 0 kudos