Re: SD and eMMC performance in Nuttx

2023-06-08 Thread Radek Pesina
Hi, I've been busy on other tasks therefore haven't obtained a oscilloscope trace yet, but one of my peers have performed some profiling on a different micro and non-secure core, with the mxrt1064-evk:nsh configuration + tickless and 100us tick rate: nsh> dd if=/dev/zero of=/dev/null bs=4096 coun

Mailing List

2023-06-08 Thread Sharwin Patil
Hello, I am a developer using NuttX and would like to be added to the mailing list for NuttX development. Thanks! Sharwin Patil GreenSight

qencoder / long / float / double / maximum values

2023-06-08 Thread Tomek CEDRO
Hello world :-) I am working on ESP32 (no FPU) and using Quadrature Encoder for motor control and range positioning. Current qencoder implementation stores counted values on int32_t so the maximum and minimum value is only around +/- 32k. I need far bigger numbers to be counted and available for r

Re: qencoder / long / float / double / maximum values

2023-06-08 Thread Tomek CEDRO
On Fri, Jun 9, 2023 at 1:53 AM Tomek CEDRO wrote: > I am working on ESP32 (no FPU) and using Quadrature Encoder for motor > control and range positioning. Current qencoder implementation stores > counted values on int32_t so the maximum and minimum value is only > around +/- 32k. I need far bigger

Re: qencoder / long / float / double / maximum values

2023-06-08 Thread Gregory Nutt
On 6/8/2023 6:11 PM, Tomek CEDRO wrote: On Fri, Jun 9, 2023 at 1:53 AM Tomek CEDRO wrote: I am working on ESP32 (no FPU) and using Quadrature Encoder for motor control and range positioning. Current qencoder implementation stores counted values on int32_t so the maximum and minimum value is on

Re: qencoder / long / float / double / maximum values

2023-06-08 Thread Tomek CEDRO
On Fri, Jun 9, 2023 at 2:22 AM Gregory Nutt wrote: > We don't normally use int or long types explicitly since these types are > different with different tools or hardware. int32_t is always 32 bits > wide, int64_t is always 64 bits wide and will be typedef'ed in > include/stdint.h to the correct u

Re: qencoder / long / float / double / maximum values

2023-06-08 Thread Nathan Hartman
On Thu, Jun 8, 2023 at 8:12 PM Tomek CEDRO wrote: > On Fri, Jun 9, 2023 at 1:53 AM Tomek CEDRO wrote: > > I am working on ESP32 (no FPU) and using Quadrature Encoder for motor > > control and range positioning. Current qencoder implementation stores > > counted values on int32_t so the maximum an

Re: Mailing List

2023-06-08 Thread Nathan Hartman
On Thu, Jun 8, 2023 at 7:01 PM Sharwin Patil wrote: > Hello, > > I am a developer using NuttX and would like to be added to the mailing list > for NuttX development. > > Thanks! > Sharwin Patil > GreenSight > Great to have you! To subscribe, send an email to: dev-subscr...@nuttx.apache.org. You

Re: qencoder / long / float / double / maximum values

2023-06-08 Thread Tomek CEDRO
On Fri, Jun 9, 2023 at 3:24 AM Nathan Hartman wrote: > I know it is sometimes unpopular to suggest adding more Kconfigs but maybe > this is something that should be configurable, allowing developers to > choose if they need a 64-bit count for range or a 32- (or even 16-) bit > count for efficiency.

Re: Mailing List

2023-06-08 Thread Brennan Ashton
Email aggressively remove the sender from the reply list when sent to a list so they likely did not get this email. I was doing the same thing a couple weeks ago Added them to this one. Sharwin Patil hopefully you get this response from Nathan. --Brennan On Thu, Jun 8, 2023, 6:28 PM Nathan H

Re: qencoder / long / float / double / maximum values

2023-06-08 Thread raiden00pl
The index signal (Z index) should be used to reset the encoder position. You can miss an encoder step for various reasons, and without periodically checking the absolute position (index pin), you will accumulate errors. Then, if you set the maximum count of an encoder timer to encoder resolution, t