STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

HAL-Lib MPU Configuration Question

Hello,I would like to know if there is a possibility to readback the MPU confiugration for each configured region? HAL only provides a setter function. If I take a look into the internal implementation, it seems that regions get overwritten, when I ...

Floki.1 by Associate II
  • 365 Views
  • 0 replies
  • 0 kudos

3-Wire SPI to demo board not working?

Good afternoon.I have configured SPI2 on STM32L476RG as Master Half Duplex, clock = 4MHz, CPOL = 1, CPHA = Edge 2. I am connected to a Pololu 2736 demo board (LSM6DS33). The timing diagram for the part shows resting clock as high (CPOL = 1) and MIS...

0693W00000KcO0QQAV.png
SWenn.1 by Senior III
  • 362 Views
  • 1 replies
  • 0 kudos

using stm32h747. I am reading ADC data using SPI on ADS8661 IC. the sampling rate we are able to read at is 14us using FOR loop(PFA). trying to reduce the sampling rate by DMA receive through tim12 trigger, not working, please guide me how to in cube mx

for(int i=0;i<3000;i++) { //__HAL_TIM_SET_COUNTER(&htim4,0); while(!(GPIOI->IDR &(1<<5))); //monitoring RVS Pin GPIOI->ODR &= ~(1<<0); // CS pin Low HAL_SPI_Receive(&hspi2, data_rcv ,2,1); // reading 2 bytes at a time GPIOI->ODR |= 1<<0; //CS ...

VV.29 by Associate
  • 500 Views
  • 1 replies
  • 0 kudos