Search found 5 matches

by griffitsr
Tue Aug 27, 2019 4:23 pm
Forum: Development of MicroPython
Topic: ADC sampling with DMA/interrupts
Replies: 5
Views: 318

Re: ADC sampling with DMA/interrupts

Often, if the system becomes unresponsive when enabling interrupts it happens because an interrupt fires and the reason for it firing doesn't get cleared, so the interrupt immediately fires again. This means that the foreground never gets a chance to run. I have managed to get both the ADC EOC inte...
by griffitsr
Sat Aug 24, 2019 1:02 pm
Forum: Development of MicroPython
Topic: ADC sampling with DMA/interrupts
Replies: 5
Views: 318

Re: ADC sampling with DMA/interrupts

Ok, I have solved this problem by reducing the ADC interrupt priority to preserve network (pendsv?) and serial interrupts and now I am able to sustain the foreground functions. Will still have to try this with the DMA interrupts however and not sure how great the effect will be on the rate.
by griffitsr
Sat Aug 24, 2019 9:18 am
Forum: Development of MicroPython
Topic: ADC sampling with DMA/interrupts
Replies: 5
Views: 318

Re: ADC sampling with DMA/interrupts

Is it possible that other applications such as the network/wireless access point may also be affected by this? When testing the network it seems that ARP requests are not being answered.
by griffitsr
Thu Aug 22, 2019 6:23 pm
Forum: Development of MicroPython
Topic: ADC sampling with DMA/interrupts
Replies: 5
Views: 318

ADC sampling with DMA/interrupts

Hello all, hope this is the correct place for this post. We have been working to implement ADC sampling using the DMA and conversion callbacks for high performance peak-finding and have run into some problems on our pyboard D (STM32F723IEK), namely that the serial connection appears to be dropping d...
by griffitsr
Wed Jul 10, 2019 4:29 pm
Forum: Pyboard D-series
Topic: High Speed USB PHY
Replies: 4
Views: 395

High Speed USB PHY

Hello all, I am currently programming a Pyboard D SF3W for MHz ADC datalogging. I am writing data continuously to the PC over the USB serial connection, receiving it using Pyserial and writing to a numpy array on the PC, the code I am using for this operation is below. 1) main.py code: *imports usb ...