STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

HAL I2C Slave

Posted on April 24, 2018 at 12:08I'm trying to make I2C Slave using examples from Cube.The wizard can write the register, but when reading the HAL_I2C_ListenCpltCallback  is called only once.Can someone share their working code with me?  I don't und...

Resolved! F767ZI issue using IAP with Dual Bank Flash

Posted on February 10, 2018 at 00:46 Im Using STM32F767ZI Nucleo Board which has 2Mbytes of flash for code storage. It also allows for the flash to be evenly divided between two banks. This gives bank 1 one Mbyte of data, and bank 2 one Mbyte of ...

0690X00000609f7QAA.png 0690X00000609fCQAQ.png
ayarema by Associate II
  • 807 Views
  • 12 replies
  • 0 kudos

One Pulse and HAL_SPI_Receive

I am using soft pulse triggering via "__HAL_TIM_ENABLE(&htim1)" but have a problem with the code shown below.HAL_TIM_OnePulse_Start(&htim1, TIM_CHANNEL_1);volatile uint16_t array [300];HAL_Delay(1000);      // let ADC power up      while(1)       {  ...

SSmit.0 by Associate II
  • 209 Views
  • 3 replies
  • 0 kudos

Resolved! STM32F103C8T6 TIM1 interrupt not occuring

I would like to have an interrupt every second on my TIM1 I use a STM32F103C8T6Here is my timer init:  static void MX_TIM1_Init(void) {   TIM_ClockConfigTypeDef sClockSourceConfig; TIM_MasterConfigTypeDef sMasterConfig;   htim1.Instance = TIM1...

paul sauv by Associate III
  • 216 Views
  • 1 replies
  • 0 kudos

How to send message via Tx?

Hi All;I would like to send 464a2f5e via HAL_UART_Transmitt. I am use tochar UDPBuffer[512]; uint8_t X = 0;   UDPBuffer[X++] = 0x4e; UDPBuffer[X++] = 0x4a; UDPBuffer[X++] = 0x49; UDPBuffer[X++] = 0x4f; UDPBuffer[X++] = 0x54; UDPBuff...

Gz by Senior
  • 181 Views
  • 4 replies
  • 0 kudos