Search found 5 matches

by JWF
Fri Jun 18, 2021 5:19 pm
Forum: Raspberry Pi microcontroller boards
Topic: RPi pico machine.SPI periodic dropout.
Replies: 19
Views: 9289

Re: RPi pico machine.SPI periodic dropout.

pythoncoder wrote:
Thu Jun 17, 2021 3:39 pm
I suggest you report this on GitHub. If you prefer I will do so,
If it is not too much of a inconvenience for you, I would feel more comfortable if you would. Thanks. I am not even sure what Github you speak of.
by JWF
Wed Jun 16, 2021 8:22 pm
Forum: Raspberry Pi microcontroller boards
Topic: RPi pico machine.SPI periodic dropout.
Replies: 19
Views: 9289

Re: RPi pico machine.SPI periodic dropout.

A possibility is the fact that SPI.read() allocates Sharp observation. However, even without the SPI in the below even more minimal case, the issue seems to persist. from machine import Pin, PWM def READ_ADC(*_): cs.value(1) cs.value(0) if __name__ == "__main__": pin = Pin(16, Pin.OUT) pwm = PWM(pi...
by JWF
Wed Jun 16, 2021 9:14 am
Forum: Raspberry Pi microcontroller boards
Topic: RPi pico machine.SPI periodic dropout.
Replies: 19
Views: 9289

Re: Is the ISR actually running?

To resolve this, in the ISR set a pin high, then low and put the scope on that pin. This is seen in the first picture of the original post. I am at the moment unable to supply a measurement of this with the minimal test case - will do tonight. In this picture it is seen in green how the SPI CS is h...
by JWF
Tue Jun 15, 2021 7:29 pm
Forum: Raspberry Pi microcontroller boards
Topic: RPi pico machine.SPI periodic dropout.
Replies: 19
Views: 9289

Re: RPi pico machine.SPI periodic dropout.

Hello all, thanks for your interest! Sorry for the late reply, I have been tied op lately. Today I have tried to use another pico board with MicroPython v.1.15 (2021-04-18) installed through Thonny, sadly with identical results. However neither of my boards seems to have a problem with PWM generatio...
by JWF
Sun Jun 06, 2021 7:05 pm
Forum: Raspberry Pi microcontroller boards
Topic: RPi pico machine.SPI periodic dropout.
Replies: 19
Views: 9289

RPi pico machine.SPI periodic dropout.

Hello MicroPython forum. I recently picked up a pico development board and I am really enjoying the versatility of MicroPython. In my current project I am trying interface a RPi4 with a high performance ADC, in particular the ADS131M04. However, the non-maskable interrupts are reaking havoc with com...