Search found 40 matches
- Sun Mar 02, 2025 9:19 pm
- Forum: STM32 Support
- Topic: ADC on H7
- Replies: 3
- Views: 8444
Re: ADC on H7
Some additional test results: ADC12 For testing, I changed oversampling to 1, just to make reading the buffer a little easier during debugging. Goal is to read from these pins: ADC12_INP3 PA6 ADC12_INP5 PB1 ADC12_INP9 PB0 ADC12_INP15 PA3 ADC2_INP2 PF13 ADC2_INP6 PF14 ADCConfig: static constexpr ADCC...
- Sat Mar 01, 2025 6:55 am
- Forum: STM32 Support
- Topic: ADC on H7
- Replies: 3
- Views: 8444
Re: ADC on H7
Getting the same results by disabling cache with SCB_DisableICache(); SCB_DisableDCache(); The ADC3 readings appear all to be garbage, first 42-entries in the buffer are all number much larger than 12-bit. rest is all zeros. When I change the sampling depth to 1, I can see that all the ADC1 readings...
- Sat Mar 01, 2025 4:31 am
- Forum: STM32 Support
- Topic: ADC on H7
- Replies: 3
- Views: 8444
ADC on H7
I need all 3 ADCs (ADC1, ADC2 and ADC3) for new project. Currently, I can really only ADC1 work reliably. Once I switch to dual mode (for ADC2) I'm getting garbage data in my buffer. Switching to dual mode also messes with ADC3 readings. I'm trying to read a total of 13 channels: ADC1: 4 channels AD...
- Thu Apr 11, 2024 6:45 am
- Forum: General Support
- Topic: UDP receive missing messages
- Replies: 14
- Views: 16716
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 ...
- Wed Apr 03, 2024 7:45 pm
- Forum: General Support
- Topic: UDP receive missing messages
- Replies: 14
- Views: 16716
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.
I could also test on h735 discovery board to rule out HW. This one has different PHY as well.
- Wed Apr 03, 2024 3:54 pm
- Forum: General Support
- Topic: UDP receive missing messages
- Replies: 14
- Views: 16716
Re: UDP receive missing messages
This is on H735, macv2
- Wed Apr 03, 2024 5:43 am
- Forum: General Support
- Topic: UDP receive missing messages
- Replies: 14
- Views: 16716
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 = ÐD1; uint32_t dmacsr; OSAL_IRQ_PROLOGUE(); dmacsr = ETH->DMACSR; ETH->DMACSR = dmacsr; /* Clear status bits.*/ if ((dmacsr & (ETH_DMACSR_RI...
- Tue Apr 02, 2024 7:25 am
- Forum: General Support
- Topic: UDP receive missing messages
- Replies: 14
- Views: 16716
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.
- Sun Mar 17, 2024 5:45 pm
- Forum: General Support
- Topic: UDP receive missing messages
- Replies: 14
- Views: 16716
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.
- Sat Mar 16, 2024 4:13 pm
- Forum: General Support
- Topic: UDP receive missing messages
- Replies: 14
- Views: 16716
Re: UDP receive missing messages
Thank you Giovanni! I tried the proposed fix, but unfortunately it didn't fix the issue.