Forum Posts
The SWD and Trace ports on STM32H7
The SWD port appears to be dedicated to CM7 core. My first question is whether it can be dedicated to CM4 and second question is how to use Trace port on CM4?Thanks
Where is the source for the factory-installed demo application for NUCLEO-F446ZE ?
I have a NUCLEO-144 board and it has a factory-installed application that flashes the LEDs and uses push button 1 to change which LED is flashing.This is described in section 5.1 "Getting started" in UM1974 for the NUCLEO-144 boards.I have found some...
USART4 does not work receiving data. It works only on USAR2. Sending data works on both. 1) polling on USART4: always timeout 2) Interrupt on USART4 --> Interrupt not thrown
/* Private variables ---------------------------------------------------------*/ UART_HandleTypeDef huart2; UART_HandleTypeDef huart4; ... //#define UART_MODE 1 #define UART_MODE 2 ... #define USARTX USART4 #define huartX huart4 uint8_t UART_rxBuff...
Measuring external Pulse Width and Height/Voltage
Hi all,Im wanting to measure both the width and height of input pulses using ADC and Timers.To get the width I can use a Timer with Input Capture and __HAL_TIM_GetCounterBut to get the height I'm unsure the best way. Currently I'm using the Input Cap...
Encoder Interface: independently on the encoder direction the counting has to be always incremental
The need I have is to count the encoder pulses on each front of the two channels (x4) always incrementing the counter independantly on the encoder direction and only have a tag on the direction changes.I configured the TIM2 as encoder input (as shown...
STM32L4 Timer OCxREF reset, Toogle and Gated Mode questions
Hi, On a STM32L476 MCU, I use many timers with various synchronization / outputs combination. I've two problems still remaining :On TIM3, the Channel 4 Output compare mode TOOGLE do not seems to work correctly (the GPIO do not toogle, it simply goes ...
Why CAN Bus (J1939) of STM32F405RGT is not working at vehicle's J1939 speed(250kbps) ?
i am making a J1939 data logger with STM32F405RGT. The vehicle's J1939 is transmitting data on 250kbps, but when i set250kbps in mcu it doesnot show any data on uart terminal , but when i set 500kbps in mcu then it shows some data on UART terminal. I...