UART LIN on stm32g4xx - functional example
Please a working example of LIN communication. Transmit ok. Reception does not work. I use HAL.
Ask questions, find answers, and share insights on STM32 products and their technical features.
Please a working example of LIN communication. Transmit ok. Reception does not work. I use HAL.
Hello Everybody,I am wondering if this is good code when using an embedded system or if I should avoid adding a LF to an unkown string like I do it here, since this could overwerite other data in the following address:void USART_transmit_message(vola...
Not a question but a statement. I've just upgraded a very large project from HAL V1.3 to V 1.6. The code uses sprintf in a couple of places. This worked fine under 1.3 using newlib_nano. Under 1.6 the same statement gives a NULL return. Swapping to n...
Hello All,I have configured UARt for Rx interrupt and in the ISR I am reading the UART byte by byte and sending the same to my terminal using HAL_UART_Receive and Transfer API's.But if I use HAL_UART API's, few bytes of my data is missed in middle an...
In RM0394 Rev 4, pages 193 and 194 are identical, this is probably not intended.So, there is really absolutely no proofreading of the RMs before issuing? I mean, this is hard to overlook, even if it would be a non-technical person doing it.JW
HiSo I''m trying to use the internal temperature sensor to get a rough idea of the temperature. So first I test it on the NUCLEO-F446 and get good result but when I try to use the same code on my board, I get wrong data. Good data is adc value aroud ...
I am using Nucleo-F429ZIT. I have used UART4 and linked it with DMA for reception. The EN flag bit in DMA_SxCR register is cleared when I connect peripheral board with STM. This issue is happening only when I disconnect the power supply of peripheral...
I am using this Flow for Transmitting Data and Receiving If Anything I am Missing From Flow of Execution wise i am not getting Receiver Callback. filterConfig.FilterFIFOAssignment = CAN_RX_FIFO0; filterConfig.FilterIdHigh = 0; filterConfig.FilterId...
Hi ST Community!I am new to the STM32 family of processors and have recently attempted to make a personal board that houses the STM32G070CBT6 controller.One of the features I have on this board is the ability to measure the current via a TI INA181A1 ...
Hi ,I started with the step by step learning program. Installed several software packages and tried my first task in truestudio. However, my Nucleo-L476 doesn't get recocnized. Probably because there's Mbed on it??? How can I get it recocnized?I did ...