Search found 1682 matches
- Fri Dec 20, 2019 9:21 am
- Forum: General discussion
- Topic: Weird HardwareTimer behavior
- Replies: 8
- Views: 7100
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...
- Fri Dec 20, 2019 7:45 am
- Forum: General discussion
- Topic: DDRX function on STM32
- Replies: 7
- Views: 18682
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...
- Fri Dec 20, 2019 7:18 am
- Forum: Ideas & suggestions
- Topic: usb-uart example sketch and some thoughts about uart
- Replies: 6
- Views: 16467
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...
- Fri Dec 20, 2019 6:35 am
- Forum: Ideas & suggestions
- Topic: usb-uart example sketch and some thoughts about uart
- Replies: 6
- Views: 16467
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...
- Fri Dec 20, 2019 6:11 am
- Forum: Ideas & suggestions
- Topic: usb-uart example sketch and some thoughts about uart
- Replies: 6
- Views: 16467
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 ...
- Fri Dec 20, 2019 5:48 am
- Forum: Announcements
- Topic: Welcome back stm32duino.com
- Replies: 29
- Views: 57536
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...
- Fri Dec 20, 2019 5:15 am
- Forum: Custom design boards
- Topic: Bluepill F4 board, anyone still working on it?
- Replies: 83
- Views: 69094
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...
- Fri Dec 20, 2019 5:12 am
- Forum: Announcements
- Topic: Welcome back stm32duino.com
- Replies: 29
- Views: 57536
Re: Welcome back stm32duino.com
+1 thanks :) i think both the 'old' libmaple core and the official core can co-exist. they have different 'features' literally. as the design objectives has evolved to be different e.g. libmaple is going more towards 'fit' to a particular mcu - hence it is 'thinner and lighter' and sacrificing porta...
- Thu Dec 19, 2019 9:45 am
- Forum: Announcements
- Topic: Welcome back stm32duino.com
- Replies: 29
- Views: 57536
Re: Welcome back stm32duino.com
i think the community would have the informal 'archives' of them :lol: i do have some of those pages and pdf, image files (e.g. schematics, board layouts) downloaded offline. we can probably help to rebuilt if it helps either way the wiki (e.g. wiki.stm32duino.com) isn't a priority, but a nice to ha...
- Thu Dec 19, 2019 7:28 am
- Forum: Announcements
- Topic: Welcome back stm32duino.com
- Replies: 29
- Views: 57536
Re: Welcome back stm32duino.com
off topic, does this look like spam from a bot? >deleted< a captcha at registration may help, but i'm not sure if recaptcha from google has any associated costs https://www.google.com/recaptcha/intro/v3.html previously i think roger placed a question that one need to answer about arduino, e.g. what ...