Resolved! Counter? Nucleo L476RG
Can someone tell me when I useuint16_t temp; temp = __HAL_TIM_GET_COUNTER(&htim2);the above why temp doesn't equal the TIM2 CNT register in the debugger? I've also triedtemp = htim2.Instance->CNT;
Can someone tell me when I useuint16_t temp; temp = __HAL_TIM_GET_COUNTER(&htim2);the above why temp doesn't equal the TIM2 CNT register in the debugger? I've also triedtemp = htim2.Instance->CNT;
I am sending some data on UART, When I enable Transmitter TE bit in USART_CR1 register, a pulse is observed on Tx line ( as shown in figure). That's fine but I am observing some 190nsec pulses on Rx lines though I am not sending anything to it! I hav...
Hi Almighty Internet & STSo huge learning curve using MCU STM32G030J6 with ADCLearned the hard way you cannot use pin 4 for ADC as this is shared by NRST and there is no way to turn off MCU resetting because the bit registers which exist in STM32G031...
Hello I am trying to send hex values over UART with HAL_Transmitin the cubeIDE I do:HAL_UART_Transmit(&huart2,(0xF << 4) | (0x8), 1,10);However I receive in Hterm0xC5I cannot make sense over it. Sending text with " some text" works fineHAL_UART_Trans...
I am testing OPAMP_PGA example code.Here is the DAC config code: /** DAC channel OUT1 config */ sConfig.DAC_HighFrequency = DAC_HIGH_FREQUENCY_INTERFACE_MODE_AUTOMATIC; sConfig.DAC_DMADoubleDataMode = DISABLE; sConfig.DAC_SignedFormat = DISA...
I wanted to make sure the dev board I received would work before the webinar, but unfortunately I have not been able to reproduce the steps as seen on the YouTube tutorial. It seems like the iOS app is out of date according to attached screenshot.
I have written an open source 3D Printer firmware for Arduino Mega - RAMPS 1.6 board which i have uploaded to github: https://github.com/3DHexfw/3DHexNow i am trying to port the code to Creality v4.2.7 board (STM32F103RE on board). To do so i have do...
I recently got my STM32F407VG uC working with UART4. I can receive a byte and send a byte. Though I have been reading on how to acquire more than one byte at a time. It seems as though people like to use DMA. I am perfectly okay with polling for my e...
In the capture/compare ISR, I want to program the next CCR1 value and the associated action: to change the output to active or inactive when CNT matches CCR1. For this I need to set TIM1_CCMR1 OC1M to 0001 or 0010. However, as soon as I program OC1M ...