Search found 513 matches

by ag123
Thu May 25, 2017 6:26 am
Forum: Code snipplets
Topic: libmale core:STM32F1 systick_attach_callback
Replies: 7
Views: 39

Re: libmale core:STM32F1 systick_attach_callback

actually it isn't new, the inspiration comes from 'the one line rtos' :lol:
http://scitechconnect.elsevier.com/the-one-line-rtos/
by ag123
Thu May 25, 2017 5:43 am
Forum: Code snipplets
Topic: libmale core:STM32F1 systick_attach_callback
Replies: 7
Views: 39

Re: libmale core:STM32F1 systick_attach_callback

i think it may be a 'good thing' to declare this function prototype in the header file. as it stands it isn't even part of the original leaflabs documentation http://docs.leaflabs.com/static.leaflabs.com/pub/leaflabs/maple-docs/latest/libmaple/api/systick.html#libmaple-systick i'm guessing if this m...
by ag123
Thu May 25, 2017 5:07 am
Forum: Code snipplets
Topic: libmale core:STM32F1 systick_attach_callback
Replies: 7
Views: 39

Re: libmale core:STM32F1 systick_attach_callback

at the moment if i did not declare the function prototype, i get error: 'systick_attach_callback' was not declared in this scope but no worries, i've resolved it within my codes within my cpp/sketch file extern "C"{ extern void systick_attach_callback(void (*callback)(void)); } i did a tex...
by ag123
Wed May 24, 2017 8:08 pm
Forum: Code snipplets
Topic: libmale core:STM32F1 systick_attach_callback
Replies: 7
Views: 39

libmale core:STM32F1 systick_attach_callback

recently i'm trying to use systick_attach_callback to insert a systick handler, i noted: STM32F1/cores/maple/libmaple/systick.c ... /** * @brief Attach a callback to be called from the SysTick exception handler. * * To detach a callback, call this function again with a null argument. */ void systick...
by ag123
Wed May 24, 2017 10:06 am
Forum: Generic STM32F103
Topic: Blue pill and SD card
Replies: 10
Views: 118

Re: Blue pill and SD card

i think sd cards are fussy with voltage levels, in particular the vcc and ground supply voltages, 3.3v after a dropout LDO is possibly left around 2.2v, then *series* resistors probably distort signals in the mhz ranges, pull ups meeting the sd specs is ok. what may be attempted though is start with...
by ag123
Wed May 24, 2017 9:41 am
Forum: Generic STM32F103
Topic: Blue pill and SD card
Replies: 10
Views: 118

Re: Blue pill and SD card

get those without a level converter and without series resistors, pullups meeting the sd specs is ok, but series resistors probably make things worse by forming an RC circuit distorting the signals in the mhz ranges
http://www.ebay.com/sch/i.html?_from=R4 ... duino+3.3v
by ag123
Wed May 24, 2017 3:53 am
Forum: Generic STM32F103
Topic: USB Observations
Replies: 55
Views: 581

Re: USB Observations

hi all, kindly note that i've submitted a PR for hanyazou's and danieleff's fixes for inserting a short delay just after flashing the sketch http://www.stm32duino.com/viewtopic.php?f=28&t=2107#p28441 http://www.stm32duino.com/viewtopic.php?f=28&t=2107&start=10#p28452 kindly comment direc...
by ag123
Wed May 24, 2017 3:24 am
Forum: Generic STM32F103
Topic: USB Observations
Replies: 55
Views: 581

Re: USB Observations

i think it may be true that this is reproducible, my thoughts are that to diagnose this, it would be necessary to become familiar with the USB and USB CDC device class specifications. i'm not too sure if under certain conditions the host (i.e. PC / O/S etc) may end up in a *time out* due to an exces...
by ag123
Tue May 23, 2017 8:54 pm
Forum: General discussion
Topic: wrong serial boud rate
Replies: 6
Views: 76

Re: wrong serial boud rate

i think Serial.begin(115200) ^^^would be USB serial, or do you actually use Serial1.begin(115200); ? using Serial.begin(115200) would have no effect on Serial1 (HardwareSerial) as Serial = USBSerial the other things that isn't quite clear now is if this end is stm32f103 (e.g. blue pill) then what is...
by ag123
Tue May 23, 2017 1:17 pm
Forum: General discussion
Topic: Interfacing MPX4250AP
Replies: 7
Views: 93

Re: Interfacing MPX4250AP

i'm not sure about mpx4250, but i meddled with AD8232 https://www.sparkfun.com/products/12650 it seem analog voltages swing between 0-3.3v but leaving an offset between the bottom and top, e.g. somewhat higher than zero but somewhat lower than 4096, i'd guess it'd be quite safe creating a voltage di...

Go to advanced search