Search found 633 matches

by mrburnette
Tue Oct 26, 2021 2:26 pm
Forum: General discussion
Topic: Changing hardware
Replies: 7
Views: 3162

Re: Changing hardware

... I have changed my hardware from STM32L476 to STM32L433 and the connections to SPI devices have been tested which are all correct. The new pin numbers have been correctly set. The same program works on STM32L476 but not on STM32L433. ... I would suggest going back to basics; that is, use an exam...
by mrburnette
Tue Oct 26, 2021 1:23 pm
Forum: General discussion
Topic: Hardware serial ports with two different sets of buffers
Replies: 4
Views: 3347

Re: Hardware serial ports with two different sets of buffers

Ah ok I see, software serial could be an option, but it is preferred to use hardware serial since best using the inbuilt options. Plan of attack is to then create a custom hardwareserial class, that way I can have two sets of buffers :) Read up on C++ techniques: https://www.w3schools.com/cpp/cpp_o...
by mrburnette
Tue Oct 26, 2021 1:12 pm
Forum: General discussion
Topic: Insufficient Storage. Efficient Memory. Stm32f103c8t6.
Replies: 10
Views: 4436

Re: Insufficient Storage. Efficient Memory. Stm32f103c8t6.

... After this, I noted that just adding functionalities till itself takes up almost 80% of the storage out of 64Kbytes. I have some questions here! Why my MCU is crashing when I upload a program? Can I utilize the whole storage of my MCU? I wanted to create a general-purpose Library to use the PCB...
by mrburnette
Mon Oct 25, 2021 1:47 pm
Forum: General discussion
Topic: analogRead() inside an ISR, bad idea? I need some help!
Replies: 8
Views: 4640

Re: analogRead() inside an ISR, bad idea? I need some help!

... Unfortunately I have that exact constraint: I must read the ADC within a narrow time window of 2µS +/-500ns after the interrupt. https://community.st.com/s/question/0D50X00009XkXYRSA3/stm32f3-simultaneous-adc-conversions For large data acquisition projects, hardware is usually thrown at the pro...
by mrburnette
Mon Oct 25, 2021 12:35 pm
Forum: General discussion
Topic: analogRead() inside an ISR, bad idea? I need some help!
Replies: 8
Views: 4640

Re: analogRead() inside an ISR, bad idea? I need some help!

... I need to read an analog value from inside an Interrupt Service Routine ... NO YOU DO NOT ... Simply set a bool flag (global) and read the analog value in your main (loop{} ) or any called function. If you absolutely need a time-dependent analog value, do some personal research, starting here. ...
by mrburnette
Mon Oct 25, 2021 12:19 pm
Forum: General discussion
Topic: Hardware serial ports with two different sets of buffers
Replies: 4
Views: 3347

Re: Hardware serial ports with two different sets of buffers

... Is it possible to have serial ports with two different RX/TX buffers? ... It is considered (by me) to be bad form to modify core code (sorry ag123). It is better IMO to simply double-buffer the serial stream where you require a larger buffer. Serial1 with SERIAL_RX_BUFFER_SIZE = 64bytes and SER...
by mrburnette
Sun Oct 24, 2021 5:54 pm
Forum: IDE's
Topic: Upload code issue on Linux-Ubuntu
Replies: 13
Views: 17945

Re: Upload code issue on Linux-Ubuntu

The only indication is "click" sound, after re-loging if I hear sound - everything o'k. I do not even know how to respond to this ... I do not have a Nucleo board here, but Maple F103, Espressif ESP8366 & ESP32 & ESPCAM all work OK as does real Arduino Mega2560 and UNO. I will not...
by mrburnette
Sun Oct 24, 2021 2:04 pm
Forum: IDE's
Topic: Upload code issue on Linux-Ubuntu
Replies: 13
Views: 17945

Re: Upload code issue on Linux-Ubuntu

... There are issues with linux devices restoring from hibernation, and normally i simply shutdown and reboot my pc to avoid those issues. Hibernation is voodoo and can be problematic on any OS. I find it easier for me to just remember to unplug the USB from the Arduino device before the notebook g...
by mrburnette
Sun Oct 24, 2021 1:46 pm
Forum: Projects
Topic: AHT10 humidity sensor over Software I2C
Replies: 28
Views: 15537

Re: AHT10 humidity sensor over Software I2C

... It's less costly and more compatible to use an AHT20, if you want to use more then a humidity sensor. ... The term "more compatible" is far too broad to be used here without context and acknowledgment of limitations and caveats. It is, a hack but a well executed one. Nicely documented...
by mrburnette
Sun Oct 24, 2021 1:39 am
Forum: General discussion
Topic: Fast ADC and DAC on Arduino required
Replies: 7
Views: 4082

Re: Fast ADC and DAC on Arduino required

... 'bare metal' programming seemed to be a lost art these days, 'everyone' uses 'libraries'. Well the registers are just there, just a single instruction access away. oh and the ref manual is there, STM32 is one of them i stick to because they are kind enough to share the detailed ref manuals. ;) ...

Go to advanced search