Forum Posts
Setting up GPIO and SPI for hardware slave select management. /NSS is never set to HIGH. Is there a bug?
I am writing a SPI driver for STM32L476RG, which is on a Nucleo board. First use: Communicate with an EEPROM to see how SPI works, logic analyzer records the bits. The slave seems not to react. I found out the /NSS pin is never High. As far as I get ...
STM32L4 Bypass Oscillator
Hello,I am designing a circuit that needs a HSE and a LSE oscillator for USB and RTC respectively, and need to solder it by hand. Would a bypass oscillators in a SOT23-5 package (i.e. the SiT2024BA-S2-33E-8.000000G and the SIT1630AE-S6-DCC-32.768G) w...
Resolved! STM32H7 random number generator is it uniform
HiI am assuming the random numbers generated by the RNG have a uniform distribution.Is this correct?Best regardsRob
Resolved! USART3 - STM32F103VCT6 doesn't work using PC10 (USART3_TX) / PC11(USART3_RX) pins using REMAP
I'm trying to use USART3 on STM32F103VCT6 on pins PC10 (USART3_TX) /PC11(USART3_RX) using alternative functions (Remap) and I'm not having success.From the MCU datasheet I can use these pins for communication.void UART3_GPIO_Config (void) { //E...
Transfer time when using DMA and ADC
Hi, I am using a STM32F407. I programmed one channel of ADC1 to start on the falling edge of TIM8, which has a frequency of 100 kHz. So far so good, the ADC performs a conversion every 10 us (100kHz), measured with the HAL_ADC_ConvCpltCallback functi...
Resolved! Cannot get PWM to output on STM32L496AG Discovery Board
When I view the CNT register of the TIM8 structure during debug it does count up to 1000 before resetting. I am using PI6 of the discovery board (Discovery Board Manual). The pin does not output a pulse however I confirmed that the circuit works elec...
STM32L082 dual bank - set BFB2 bit is not enough?
Hello,I am looking for your help on how to use the dual bank mechanism on the STM3L082.My goal is to download the new firmware 'over the air' and write it into bank 2 (starting from 0x0801 8000)Bank1 always remains as it is (with original firmware)BF...
Resolved! Low Frequency PWM measuring (0 - 4Hz) and trending readings with STM32F030
I am currently using an STM32F030 MCU's external interrupt to measure an incomming PWM signals Frequency, Period, Duty Cycle and Pulse Width. The incoming signal can be between 0 - 4.167Hz. This is working great, capture all three transitions in th...