I am trying to use the 16 MHz HSI as the clock source for I2C. When I set up the I2C_TIMINGR bits for 100kbps I2C, everything works fine. When I try to set up for 400kbps, it still works, but the timing is not 400kbps. Does the accuracy of the HSI de...
I am having trouble configuring my TIM6 to toggle a GPIO pin every 1 usec. I am using the HSI at 16MHz as the source for AHB bus clocks, which TIM6 is on. The following is my System Clock configuration:void SystemClock_Config(void){LL_FLASH_SetLatenc...
I am trying to program a chip using an STLINK V2. I am using only SWDIO, SWCLK, and ground, and I am powering the chip with 3.3 V. When I try to connect using STM32CubeProgrammer, it does not connect. Am I missing something?
I am looking at the definition ST gives for each of the Xfer options, but so far none of them really are making sense to me. First off, what is Sequential usage vs non-sequential usage and how does this apply for the following:I2C_FIRST_AND_LAST_FRAM...
I am using an STM32 G474RE NUCLEO board. Is it necessary for me to configure the BOOT0 pin and the BOOT bits in the FLASH_OPTR register if I am going to program the chip using the SWDIO and SWCLK pins with an ST-LINK V2?
I have both a custom board and a NUCELO. I am able to connect to the NUCLEO using target VCC, SWDIO, SWCLK, and GND, and I am powering the NUCLEO board with 3.3V. I am not able to connect the custom board when I power it with 3.3V, and I am using the...
It says "No STM32 target found". With a Nucleo board I am using a 3.3V power supply to power the board. Then I have pin 1 on the JTAG connected to 3.3 V, as well as GND and SWDIO and SWCLK. I still get the error.
Yes I see that in the manual if I want to get 12 bit resolution, 12.5 clock cycles are required. I also have the sampling time set to 247.5 cycles.What I am really confused about is this. I have the ADC set to an external trigger at timer 3, which ge...
Say for instance that I set the ADC to trigger on a timer. I see there is something referring to "clock cycle" in the reference manual. Would clock cycle refer to the ADC clock or one cycle for the timer that you have set?