Search found 1685 matches

by ag123
Fri Dec 20, 2019 12:42 pm
Forum: Forum rules, FAQs and HowTo's
Topic: Limit on attachment image sizes?
Replies: 7
Views: 15188

Re: Limit on attachment image sizes?

i've occasionally used imgur https://imgur.com/ but i'm not sure how long the images would be retained there. so those images may 'disappear' after a while. slighly larger sizes say < 200k would probably help, my guess is compression can mostly fit many in but there would still be many that exceed t...
by ag123
Fri Dec 20, 2019 12:03 pm
Forum: General discussion
Topic: Weird HardwareTimer behavior
Replies: 8
Views: 7107

Re: Weird HardwareTimer behavior

one way though is to explore dma https://www.st.com/content/ccc/resource/technical/document/application_note/group0/91/01/84/3f/7c/67/41/3f/DM00236305/files/DM00236305.pdf/jcr:content/translations/en.DM00236305.pdf chapter 5 Arbitrary waveform generation using timer DMA-burst feature and this is pro...
by ag123
Fri Dec 20, 2019 10:17 am
Forum: General discussion
Topic: Weird HardwareTimer behavior
Replies: 8
Views: 7107

Re: Weird HardwareTimer behavior

well, it means your timer is generating the interrupts as you expect, so if you expect your timer to say run at 100khz that would be 100k interrupts per sec + 1000 interrupts from systick. so say if you increase the loop count to say 101000 / 2 and split the intervals between led on - led off it wou...
by ag123
Fri Dec 20, 2019 9:21 am
Forum: General discussion
Topic: Weird HardwareTimer behavior
Replies: 8
Views: 7107

Re: Weird HardwareTimer behavior

my guess is one could check if other interrupts (e.g. usb sof every 1ms and systick every 1ms used for delay(n) ) could be occuring. one of those tricks i do is place asm("wfi"); in loop(), that is nearly the same as delay(1) and have an variable, counter checking the number of "wfi&q...
by ag123
Fri Dec 20, 2019 7:45 am
Forum: General discussion
Topic: DDRX function on STM32
Replies: 7
Views: 18693

Re: DDRX function on STM32

not too familiar with avr's too but DDRx registers basically gives the direction of a pin being input or output? http://maxembedded.com/2011/06/port-operations-in-avr/ i'd guess the arduino api pinMode(pin,mode) gives similar functionality, e.g. pinMode(pin, INPUT) and pinMode(pin, OUTPUT) , probabl...
by ag123
Fri Dec 20, 2019 7:18 am
Forum: Ideas & suggestions
Topic: usb-uart example sketch and some thoughts about uart
Replies: 6
Views: 16567

Re: usb-uart 'example' sketch and some thoughs about uart

it is interesting that the 'ancient' uart is still relevant today, simply because for one thing, framing and parity checks is there. and it literally makes that comms channel clean as noise (just press reset on target, without framing checks, it generates 'extra' bytes) and corrupted bytes are simpl...
by ag123
Fri Dec 20, 2019 6:35 am
Forum: Ideas & suggestions
Topic: usb-uart example sketch and some thoughts about uart
Replies: 6
Views: 16567

Re: usb-uart 'example' sketch and some thoughs about uart

for flashing another stm32(f103) via uart ST states in AN3155 that the boot loading requires even parity //AN3155: usart boot loader requires even parity // but literally those parity stuff is not (yet) implemented in the core // and somehow it works! ;) //Serial1.begin(115200,SERIAL_8E1); one of th...
by ag123
Fri Dec 20, 2019 6:11 am
Forum: Ideas & suggestions
Topic: usb-uart example sketch and some thoughts about uart
Replies: 6
Views: 16567

usb-uart example sketch and some thoughts about uart

hi all, i've released an 'example' sketch for usb-uart bridging with signals https://github.com/rogerclarkmelbourne/Arduino_STM32/tree/master/STM32F1/libraries/A_STM32_Examples/examples/Communication/USB-uart-w-signals digging through the (libmaple) codes, i found that it is pretty much possible to ...
by ag123
Fri Dec 20, 2019 5:48 am
Forum: Announcements
Topic: Welcome back stm32duino.com
Replies: 29
Views: 57823

Re: Welcome back stm32duino.com

another thing i liked about stm32 family of mcus at least from m3 up is they are native generic usb devices though other mcu families e.g. nxp, freescale, ti etc have pretty much the same things the other thing is the well written verbose reference manuals. there are a lot of arm derivatives not fro...
by ag123
Fri Dec 20, 2019 5:15 am
Forum: Custom design boards
Topic: Bluepill F4 board, anyone still working on it?
Replies: 83
Views: 69144

Re: Bluepill F4 board, anyone still working on it?

for this board one of the design elements i liked is the designer/vendor made boot0 a push button. while apps can't use it, but when flashing firmware, one can simply press that button, reset and flash away. resetting it next reverts to the normal mode. and as it is a f411 chances are that it is DFU...

Go to advanced search