Search found 37 matches

by hybridA
Thu Apr 11, 2024 6:45 am
Forum: General Support
Topic: UDP receive missing messages
Replies: 14
Views: 912

Re: UDP receive missing messages

Wrote a little testapp that just blocks on a receive and then responds with a message. Wireshark shows that this works perfectly fine on the h735 discovery board, but shows the same delay issue on my board. Only difference is the phy (DP83848I vs LAN8742A) I’m thinking hardware issue, but strangely ...
by hybridA
Wed Apr 03, 2024 7:45 pm
Forum: General Support
Topic: UDP receive missing messages
Replies: 14
Views: 912

Re: UDP receive missing messages

I might have an F4 based board, but it’s entirely different board (same PHY however)
I could also test on h735 discovery board to rule out HW. This one has different PHY as well.
by hybridA
Wed Apr 03, 2024 3:54 pm
Forum: General Support
Topic: UDP receive missing messages
Replies: 14
Views: 912

Re: UDP receive missing messages

This is on H735, macv2
by hybridA
Wed Apr 03, 2024 5:43 am
Forum: General Support
Topic: UDP receive missing messages
Replies: 14
Views: 912

Re: UDP receive missing messages

Thanks Giovanni. I went ahead and got some captures of a toggling pin inside the irq handler: OSAL_IRQ_HANDLER(STM32_ETH_HANDLER) { MACDriver *macp = &ETHD1; uint32_t dmacsr; OSAL_IRQ_PROLOGUE(); dmacsr = ETH->DMACSR; ETH->DMACSR = dmacsr; /* Clear status bits.*/ if ((dmacsr & (ETH_DMACSR_RI...
by hybridA
Tue Apr 02, 2024 7:25 am
Forum: General Support
Topic: UDP receive missing messages
Replies: 14
Views: 912

Re: UDP receive missing messages

Can you point me to some areas of interest that would be indicative of where the delay comes from? So far I only verified that the recvfrom() is truly blocking for much longer than the message interval in wireshark.
by hybridA
Sun Mar 17, 2024 5:45 pm
Forum: General Support
Topic: UDP receive missing messages
Replies: 14
Views: 912

Re: UDP receive missing messages

I stripped down my application to nothing but the ethernet and lwip threads + a main loop blinking an LED. recvfrom() is still behaving badly.
Screenshot from 2024-03-17 09-41-19.png
by hybridA
Sat Mar 16, 2024 4:13 pm
Forum: General Support
Topic: UDP receive missing messages
Replies: 14
Views: 912

Re: UDP receive missing messages

Thank you Giovanni! I tried the proposed fix, but unfortunately it didn't fix the issue.
by hybridA
Sat Mar 16, 2024 2:34 am
Forum: Bug Reports
Topic: STM32H735, TIM23/TIM24
Replies: 0
Views: 539

STM32H735, TIM23/TIM24

noticed that TIM23/24 PWM are not implemented for the H735.
by hybridA
Sat Mar 16, 2024 2:29 am
Forum: General Support
Topic: UDP receive missing messages
Replies: 14
Views: 912

UDP receive missing messages

I have two threads, one receive, one transmit. The microcontroller responds to an incoming UDP packet at 10Hz: void EthernetTxThread(void*) { chRegSetThreadName("ethtx"); systime_t prev = chVTGetSystemTime(); while(1) { chSysLock(); chThdSuspendS(&trp); chSysUnlock(); sendResponse(); }...
by hybridA
Mon Dec 25, 2023 8:31 pm
Forum: Bug Reports
Topic: ICU interrupt not firing Topic is solved
Replies: 2
Views: 4706

ICU interrupt not firing Topic is solved

Not sure if this belongs in bug reports instead, but I have issues with ICU on my board. There's a total of 2 ICU channels, one using Timer 8(ch1), and the second one using Timer 15(ch1). The channel using Tim8 works as expected, but Tim15 ICU callback never fires. I checked for hardware pitfalls. T...

Go to advanced search