I have an application who requires a stable clock source in the whole temperature range but the power budget is tight, so we chose to use the MSI in sync with an external low power 32khz clock.To save extra power we send the core to sleep while it's ...
Hello. This is my first project with CANBus and i have some questions:I need to interface to motorcycle canbus system, and it is running at 500kbps.All i did is tuned parameters based on scope timings to get 2us/bit. and yes, it did start working, ca...
Hello!I'm using a custom board with STM32F767 and external Flash memory connected to the QSPI (MX25L12835F).I want to create a simple test, where I read and write some data into the external Flash.In the first shot I want to use the normal SPI mode t...
Hi,I'm working on a project in which I use both ADC1 and ADC2 in independent mode, with JEOS of both ADCs as interrupt triggers. In the interrupt handler I do some calculations for current controllers. Mockup code below:void ADC1_2_IRQHandler(void) {...
Hello,I am using below function to receive data asynchronously (Full-Duplex) over USART1 RX__schedule_barrier(); if(HAL_OK != HAL_UART_Receive_IT(&huart1, (uint8_t *)ucTestKey, 1)) { dLEDShowError(dUSART1RxInitiationFailed); assert_failed...
Hi I am starting to do some basics with register operations and came across with this situation.The board I am using is a STM32L031k6 nucleo.Code is the following #include "stm32l031xx.h" // Green led is at PB3 static void delay_ms(uint32_t delay...
I am using NUCLEO-STM32H743ZI2, I notice adc channels has fast channel and slow channels. there are some sample rate limits on fast channel and slow channel? Can I mix to use them? for example , in2, in3, in4 and in7, in8, in9?thanks
Hello, I'm having a trouble to read or write bits on registers, for example I would like to change the comparator input minus pin, according to the RM I have to change the INMSEL bits in the COMP1_CSR register, but when I write this line code:COMP1_C...
Hi all,I am trying to interface a STM32L073RZ to a Si2151 tuner IC using I2C. I keep getting HAL_ERROR everytime i use the HAL_I2C_Master_Transmit function. I used STM32cubeMx to set the I2C parameter settings (freq to 400K) but the generated code ha...