Search found 363 matches

by racemaniac
Mon May 22, 2017 4:44 pm
Forum: Postbag
Topic: Racemaniac's postbag
Replies: 39
Views: 1103

Re: Racemaniac's postbag

My second production run of my self designed pcb's for my lightsaber just arrived ^^' I had it made with dirtypcb's, it's a 10x10cm panelized design. contains 3 different boards (a fixed version of my original one, a smaller version of the original one with usb added, and a third board equal in size...
by racemaniac
Wed May 17, 2017 2:59 pm
Forum: STM32generic
Topic: [STM32GENERIC] SDIO DMA
Replies: 161
Views: 1589

Re: [STM32GENERIC] SDIO DMA

did you configure the pullups on the pins for the 4 bit communication? (or do you have external pullups?)
by racemaniac
Sat May 13, 2017 7:51 am
Forum: IDE's
Topic: Very large program storage generate in Arduino
Replies: 24
Views: 394

Re: Very large program storage generate in Arduino

that's indeed a pretty normal baseline :)
all the basic stuff takes up more space than what you see on an arduino, but you have plenty of space to continue working with :)
by racemaniac
Fri May 12, 2017 1:29 pm
Forum: General discussion
Topic: nanoseconds delay
Replies: 15
Views: 283

Re: nanoseconds delay

ugh, i had hoped the nop would work like that. a nop instruction is an instruction that does nothing and takes exactly 1 clock cycle :). search the forum a bit on how to get the NOP instruction working :). if it's already doing 36Mhz, then that's pretty nice, the long delay between is the jump that'...
by racemaniac
Fri May 12, 2017 12:51 pm
Forum: General discussion
Topic: nanoseconds delay
Replies: 15
Views: 283

Re: nanoseconds delay

what speed are you hoping to get? you can test that code, it'll probably toggle the pin at a speed of a few Mhz.
you can insert some NOP instructions in between to slow it down:
__NOP ();
by racemaniac
Fri May 12, 2017 12:07 pm
Forum: General discussion
Topic: nanoseconds delay
Replies: 15
Views: 283

Re: nanoseconds delay

how many of such signals do you need? if it's only 1 or 2 pins, setting up an SPI DMA transfer would be the fastest :) (abusing the mosi pin for this purpose :) ). then comes the port manipulation via the registers & memory to memory dma as mentioned in that thread :)
by racemaniac
Mon May 08, 2017 6:18 pm
Forum: Maple mini
Topic: Suppling power to MM
Replies: 10
Views: 252

Re: Suppling power to MM

i just did a measurement on the maple mini of the voltagedrop of the ams1117, and it's indeed always >1V, even at lower current, so indeed a pretty crappy regulator if you want to run of lipo/lion i've found similar regulators as ag123, and ordered -some mcp1700's -some XC6206's : 0.5A, 200mV drop @...
by racemaniac
Mon May 08, 2017 9:41 am
Forum: Maple mini
Topic: Suppling power to MM
Replies: 10
Views: 252

Re: Suppling power to MM

i've run maple mini's from lithium batteries, and that worked pretty well, but it would indeed be nice to have a proper test on how well it works. We've got 2 things that work to our advantage: -the AMS1117's dropout voltage mentioned in the datasheet is at 800mA, usually when using a maple mini, yo...
by racemaniac
Sun May 07, 2017 1:29 pm
Forum: Projects
Topic: RGB lightsaber
Replies: 36
Views: 2494

Re: RGB lightsaber

Wrote the code to address neopixels via SPI DMA, that now also works, and made a simple testprogram that uses everything at the same time (streaming music + reading motion and showing the intensity of the motion on a neopixel ledstring), and that's all working :). that's a good basic program to star...
by racemaniac
Sat May 06, 2017 12:59 pm
Forum: Projects
Topic: RGB lightsaber
Replies: 36
Views: 2494

Re: RGB lightsaber

basic sound code is ok now :)
just ported the mpu code to HAL, and got that now working too :)
the pieces are slowly coming together :D

Go to advanced search