Search found 94 matches

by mlundin
Thu May 27, 2021 7:32 am
Forum: Off topic
Topic: Tiny 2040 - a tiny RP2040 stamp
Replies: 40
Views: 19181

Re: Tiny 2040 - a tiny RP2040 stamp

I think it is a bit presumptions to talk about what others think about the board. You dont like it, dont use it. I did some testing setting it up as a simple synth with I2S output, worked great and less hassle than using I2S on most STM32 boards I have tried. Setting up the tools for C++ development...
by mlundin
Wed May 26, 2021 6:19 am
Forum: General discussion
Topic: ifdef for selected board
Replies: 3
Views: 3022

Re: ifdef for selected board

every variant have a specific define, to see them use verbose output from compilation and look at the command line sent to the compiler, all the defines can be seen there (its a looooong line of includes and defines).
by mlundin
Sat May 22, 2021 5:50 pm
Forum: General discussion
Topic: Crosstalk and sample frequency issues on a pressure sensor matrix
Replies: 16
Views: 7349

Re: Crosstalk and sample frequency issues on a pressure sensor matrix

I cant se why you would use pulldown on the sensing outputs, columns, they are driven to 0 or 3.3V
make a circuit diagram and consider what happens
by mlundin
Sat May 22, 2021 11:51 am
Forum: General discussion
Topic: Crosstalk and sample frequency issues on a pressure sensor matrix
Replies: 16
Views: 7349

Re: Crosstalk and sample frequency issues on a pressure sensor matrix

One resistor to ground before the multiplexer, the series diode should not be needed. The walue of this resistor should be adjusted to be approximately equal to the velostat layer resistance for one crossing when half depressed. If you dont have a pull down resistor the the sense line becomes "...
by mlundin
Sat May 22, 2021 9:54 am
Forum: General discussion
Topic: Crosstalk and sample frequency issues on a pressure sensor matrix
Replies: 16
Views: 7349

Re: Crosstalk and sample frequency issues on a pressure sensor matrix

Strange , I would have thought the pulldown resistors should be placed on the line inputs to the sensing multiplexors. Thus crating a voltage divider:

Column 3V - velostat rsistance - Out put Row sensor line to ADC - row resistor - ground.
by mlundin
Fri May 21, 2021 4:21 pm
Forum: IDE's
Topic: Arduino IDE - Huge memory usage of STM32
Replies: 5
Views: 6970

Re: Arduino IDE - Huge memory usage of STM32

I would say C/C++ as such is not much larger footprint than assembly code, the compilers are more efficient the anyone but expert assembly gurus. The differences in size is the added code libraries from the core, mathlibs are a fair chunk, gpio and communications, that will make further use of these...
by mlundin
Thu May 20, 2021 3:40 pm
Forum: General discussion
Topic: Write to Ethernet truncated using EthernetWebServer_SSL_STM32 library
Replies: 4
Views: 2313

Re: Write to Ethernet truncated using EthernetWebServer_SSL_STM32 library

No one here can reproduce your issue, and you dont even show what elements of the original has changed, so help is very limited.

And yes the web server can send lots of data, but each frame is limited.
by mlundin
Thu May 20, 2021 3:36 pm
Forum: General discussion
Topic: HAL_SAI_Receive() causes hardware timer callback to never exit?
Replies: 4
Views: 2663

Re: HAL_SAI_Receive() causes hardware timer callback to never exit?

Program seems to be overflowing serial buffers, looking at the timestamps,

the Serial2.println(elapsed) seems to get called ok,
and so should signalWatchdog(), but that function is empty so how do you know its not called ?
by mlundin
Thu May 20, 2021 2:13 pm
Forum: General discussion
Topic: HAL_SAI_Receive() causes hardware timer callback to never exit?
Replies: 4
Views: 2663

Re: HAL_SAI_Receive() causes hardware timer callback to never exit?

Does the sound work ? The time display discrepancies are most likely because the SAI_Receive inside the timer irq blocks the SysTick interrupts and therefore makes the micros() nonfunctional. Also note that variables used to communicate between IRQ handlers and loop level should be marked as volatil...
by mlundin
Tue May 11, 2021 1:00 pm
Forum: Projects
Topic: My minicomputer based on bluepill
Replies: 7
Views: 4599

Re: My minicomputer based on bluepill

SPI ??

Go to advanced search