Search found 124 matches

by jscott
Thu Jun 30, 2016 4:13 pm
Forum: STM32 Support
Topic: help using ultrasonic ranging module with STM32 nucleoF401RE
Replies: 7
Views: 1885

Re: help using ultrasonic ranging module with STM32 nucleoF401RE

You have a delay problem... Here you have a delay function that delays for n miliseconds void delay(int n) { chThdSleepMilliseconds(n); } Here you call the delay function with a value of 100. This is going to delay 100 miliseconds not 10 microseconds. //GPIOA_PIN8 (PA8) trigger, GPIOA_PIN9 (PA9) ech...
by jscott
Mon Feb 29, 2016 9:56 pm
Forum: ChibiOS/HAL
Topic: GPT Jitter
Replies: 11
Views: 2353

Re: GPT Jitter

AH.... Yes, not a great solution. You end up with a really long time that your processor is tied up doing nothing but looking at its watch and waiting for something to happen... So with PWM you will select your time and just change the frequency on each output bit. you might try 0hz for off, then wh...
by jscott
Mon Feb 29, 2016 8:43 pm
Forum: ChibiOS/HAL
Topic: GPT Jitter
Replies: 11
Views: 2353

Re: GPT Jitter

Hi Sven, I have a couple of questions about your modulator callback. It looks like you are sending data at 1200 BAUD to two samples per BAUD. Correct? You are configuring the GPT to clock at 180,000,000 Hz (180MHz). You are calling your callback at 720,000 Hz. Do you really mean to call your callbac...
by jscott
Mon Feb 29, 2016 8:36 pm
Forum: ChibiOS/HAL
Topic: GPT Jitter
Replies: 11
Views: 2353

Re: GPT Jitter

That kind of what I was thinking also. Any jitter that you would have not be a problem. It would be a very small fraction of the 1200 baud signal. 1200 BAUD should be Real Easy on resources for this processor. But I am wondering if there is more to this then meets the eye. He is calling the callback...
by jscott
Mon Feb 01, 2016 8:57 pm
Forum: Development and Feedback
Topic: [WARNING] SourceForge DOWN (now back up, notes inside)
Replies: 44
Views: 10295

Re: [WARNING] SourceForge DOWN (now back up, notes inside)

There is a export function on SF, but I don't do much with SF so I don't know just how much it helps. It looks like it handles Tickets as well. Output is JSON, so you would have to import it somewhere else or write a conversion program... Might be something to spend a few minutes looking into if you...
by jscott
Sun Dec 20, 2015 8:30 pm
Forum: ChibiOS/RT
Topic: Mailbox message
Replies: 7
Views: 2026

Re: Mailbox message

You might want to look at post:

http://forum.chibios.org/phpbb/viewtopic.php?f=2&t=2980

It shows a small function that allows creating a buffer pool, allocating buffers pointers that you can pass in mailboxes, then freeing the buffer back to the pool.

-John
by jscott
Sat Oct 31, 2015 3:40 pm
Forum: STM32 Support
Topic: USB FS Maximum Throughput
Replies: 22
Views: 4830

Re: USB FS Maximum Throughput

Here is a thread where we discussed some usb-cdc speed tests. In my testing I was getting ~900,000 bytes per second or 9mbits. This was a sustained speed over a period of a couple of minutes or so. This was using a st32f4-discovery running at 168Mhz. With the processor you have, I don't know if you ...
by jscott
Fri Oct 02, 2015 5:34 pm
Forum: User Projects
Topic: Open Source Motor Controller using Chibios
Replies: 3
Views: 1831

Re: Open Source Motor Controller using Chibios

This is a very well implemented project.

It is really cool starting to see more Chibios projects out in the wild.

-John
by jscott
Fri Oct 02, 2015 3:25 pm
Forum: User Projects
Topic: Open Source Motor Controller using Chibios
Replies: 3
Views: 1831

Open Source Motor Controller using Chibios

Here is a ESC for 3-phase motors.

He built it for use with his longboard, but will do MUCH more then that!

http://vedder.se/2015/01/vesc-open-source-esc/
by jscott
Tue Sep 29, 2015 1:58 am
Forum: User Projects
Topic: Cool badge from Burning Man using Chibios 3.0
Replies: 1
Views: 863

Cool badge from Burning Man using Chibios 3.0

I saw this today and was happily surprised to see that it runs chibios 3.0 on a M0+ processor.

Article -> http://www.bunniestudios.com/blog/?p=4484

Source code on github -> https://github.com/bunnie/chibios-orchard/tree/bm15

-John

Go to advanced search