Hi, I've been trying for a few days to communicate with a device by SMBus.The device is an Microchip USB2422 and for test I use board DISC1 with STM32F429 on i2c3 port.The problem is that when I try to communicate with it to oscilloscope I see only a...
Hi, I hope to don't be off topic.Usually I use Visual Studio Code and I tried to use it for develop and debug on STM32.Unfortunately I can't debug my firmware looking at the variables in real time.I can look them only when I reach a breakpoint.With S...
Hi, for my project I need to have two usb ports used in Device and Host mode..I thought I would use STM32F411 or 12 and HUB USB Microchip SQFN-24.It's possible to do this with HAL library?Thanks in advance for answer.
Hi at all,Sometime happens that usart2 irq freeze and HAL_UART_RxCpltCallback isn't called.From this moment I can send data (I use blocking instruction HAL_UART_Transmit), but don't receive any.When this happens, HAL_UART_ErrorCallback don't called t...
Hi, I've a problem with function HAL_UART_Transmit_IT.If I call this function with global data array, there isn't a problem, but If I call it with a non global data array, I receive wrong data.This is a sample code:void SendData()
{
uint8_t s[10]...
Hi at all,I probably solved it.I had used HAL_UART_Transmit instead of HAL_UART_Transmit_IT.Now (with HAL_UART_Transmit_IT) it seems to work fine.Thanks at all for help.
Hi clive1 and thanks for answer.Excuse me, but maybe don't understand your answers.--> Break in debugger to understand where it "freeze"I can't break, because my device continue to work fine, with the exception of serial reception.There isn't a point...
Hi Amel, the problem was in a function that update lcd display.It was composed of two annidated "for".First "for" was x8 and second x128.This probably occupied MCU too long, blocking the rest of functions and interrupts.
You're right, but...when I call HAL_UART_Transmit_IT the function is still alive.SendData die when HAL_UART_Transmit_IT returns.But now, answering you I've a doubt.I think that HAL_UART... returns before to have effectively sent data?Tomorrow I make ...