Search found 7 matches

by PeterG
Mon Dec 31, 2018 5:38 pm
Forum: General Discussion and Questions
Topic: Change SPI speed
Replies: 0
Views: 65

Change SPI speed

Hello, How can I change the bard rate of the SPI transmissions on a STM32F4Discovery board? The board is clocked at 84 MHz. This yields a slowest baud rate of 328125 bits per second because the prescaler has a max value of 256. I would like to get the baud rate down to below 10 kHz if only for testi...
by PeterG
Thu Dec 06, 2018 7:00 pm
Forum: General Discussion and Questions
Topic: EXTI interrupt latency on STM32
Replies: 1
Views: 95

EXTI interrupt latency on STM32

Hello, Can anyone give me an idea of the interrupt latency on a STM32L4xx running at 80 MHz with micropython? I am having to measure the number of pulses of 11 at once every 100 msec, where the pulse rates range from 10 KHz to 90 KHz. Is there a better way to do this? I though of measuring the pulse...
by PeterG
Wed Nov 07, 2018 11:19 pm
Forum: General Discussion and Questions
Topic: problem creating list of instance variables
Replies: 2
Views: 116

Re: problem creating list of instance variables

Thanks. I'll try it. I'm sure that you are right. Sad to say, I got that line of code from the web at a Python forum, and the poster said that he had tested it.

Best regards,

Peter
by PeterG
Wed Nov 07, 2018 4:51 pm
Forum: General Discussion and Questions
Topic: problem creating list of instance variables
Replies: 2
Views: 116

problem creating list of instance variables

Hello, I am a newbie so please forgive any stupidities that I may have done. I am having a problem creating a list of the instance variables for a class that I created. The following is the source code: # MyTest.py class MyTest: def __init__(self): self.var1 = 1 self.var2 = 2 self.var3 = 3 def metho...
by PeterG
Sun Nov 04, 2018 5:44 pm
Forum: General Discussion and Questions
Topic: Where to find the contents of modules and libraries.
Replies: 7
Views: 401

Re: Where to find the contents of modules and libraries.

HermannSW and Peter,

Thank you both for this. I will use that information.

Best regards,

Peter
by PeterG
Mon Oct 29, 2018 12:02 pm
Forum: General Discussion and Questions
Topic: Where to find the contents of modules and libraries.
Replies: 7
Views: 401

Re: Where to find the contents of modules and libraries.

Thank you for your very comprehensive reply. It is most helpful. Please see my responses below... "Greetings to someone who's been coding embedded stuff (slightly) longer than me ;) You must have started on the 4-bit chips whereas I cut my teeth on the Intel 8080..." Actually, I started with micropr...
by PeterG
Mon Oct 29, 2018 2:10 am
Forum: General Discussion and Questions
Topic: Where to find the contents of modules and libraries.
Replies: 7
Views: 401

Where to find the contents of modules and libraries.

Hello, I am a Python and microPython newbie but a long-time (47 years) embedded-system designer. I have microPython running on a STM32F4DISC board. I am trying to learn microPython while implementing a particular application. Three questions have arisen, as follows: 1. Where would I find reasonably ...