STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! MATLAB/Simulink XCP protocol via LPUART1

Hi all,I failed to run Nucleo-G431RB board using Simulink "Monitor & Tune" mode via Simulink XCP protocol.I've got the error message at Simulink,"Could not connect to target application: XCP internal error: timeout expired, in response to XCP CONNECT...

Resolved! Can't enable port B & D clocks

I tried the following code in a STM32F107:RCC->AHBENR = RCC->AHBENR | RCC_APB2ENR_IOPBEN_Msk| RCC_APB2ENR_IOPDEN_Msk;and RCC->AHBENR = RCC->AHBENR | 0x00000008 | 0x00000020;When I display RCC->AHBENR, it always shows 0001C014.I expected to see 0x0001...

vneff by Associate III
  • 252 Views
  • 5 replies
  • 2 kudos

Resolved! SPI Slave Receive Interrupt

I am trying to make a very simple SPI ISR to read the RXDR and store the value to a buffer. However, I cannot get the ISR to even trigger without using HAL_SPI_Receive_IT(). I do not want to use the callbacks or the default IRQ generated by cube. I c...

How to use HAL_GetTick ?

Dear Members,How can I use HAL_GetTick for time stamp ?Is this right ?or I need something else ?Thankscase PULSE_TRACE_UP: if(sensor_value > prev_sensor_value) { printf("PULSE TRACE_UP\r\n"); currentBeat = HAL_GetTick(); ...

Issue in CAN Normal mode with STM32F412

If anyone Work on project that interfacing Can transceiver TJA1050 with STM32F412RET6 , if yes i hope  anyone send Example code that work and clock configurations ,, the loopback mode work correctly .. but in normal mode problems start ... and operat...