STM32 UART in LIN mode, using HAL
Hi.Need's an example LIN communication program via UART (LIN mode) using HAL for STM32F1.Thank's
Hi.Need's an example LIN communication program via UART (LIN mode) using HAL for STM32F1.Thank's
Hi guys.I have a problem with this hal function.The problem is that every time I use this function the first byte received is not what I transfer to it.For example when I send AT (ESP8266 AT command) to the module it must return AT OK,but every time(...
Hello,I am trying to send data periodically as a client in MCU.I am using program called SocketTest v 3.0.0 from PC.Connection is OK but I can't see other values.These are my codes.---------------------in main.c------------------------ #include "m...
Hello, i want to start an ADC in DMA Mode, but everytime i run HAL_ADC_Start_DMA the MCU stops.Here is the section of my code where it happens: if(newpwmperiod == 1 && adc_dma_status == 0){ HAL_UART_Transmit(&huart2, test, 4, HAL_MAX_DELAY); ...
I am using stm32f205ret. I want to toggle as fast as possible. According to the data sheet i should be able to do it at 60 MHZ. I use cubeMX to initialize my code. I basically set all clocks to max. I set one pin (gpio port C pin 5) as GPIO_OUTPUT. I...
Hey everybody,I just got it working that I can use my SD Card as an USB MSD. I can write, read and delete files. Everything looks good.The only problem is that when I connect the USB cable to my computer it takes like 2-3 minutes until the SD card is...
Hello.I raised the USB host CDC to stm32f105. After passing the initializations, I do USBH_CDC_SetLineCoding (), and right after USBH_CDC_GetLineCoding () and I get the wrong bit rate.What will be the problem?How to find out the address of the endpoi...
Using CubeMX v5.3.0 to generate IrDA on USART2 at both 115200 and 9600 baud doesn't seem to work. I have enabled both the interrupt and DMA in CubeMX and left both pins pulled high. The generated code was then opened in Keil uVision V5.28.0.0 where I...
I need some help. I'm using the STM32F46 with the PHI(LAN8742A) to communicate with Android's Tablet using LWIP. The communication works great, but after sent some data from the tablet to the MCU, the communication collapse. If I increase the size of...