Search found 7 matches

by ambrojohn
28 May 2017, 17:25
Forum: Custom Applications
Topic: mc_interface_brake_now() vs. mc_interface_set_brake_current()
Replies: 1
Views: 959

mc_interface_brake_now() vs. mc_interface_set_brake_current()

Hi, anybody can tell me the difference between the two functions for braking?

Do they both use regenerative braking?

What's the practical difference in their usage?

Any additional info is appreciated.
Thanks!
by ambrojohn
24 Aug 2016, 18:05
Forum: Custom Applications
Topic: push button
Replies: 6
Views: 1981

Re: push button

My mistake. First time I stupidly messed up with the wires connections. But yes, the pulldown configuration of the TX pin makes my push button work the opposite way, i.e. pushed when it's not and viceversa. I will try to configure it as pullup(?) or not configure it at all if, as you said, it works ...
by ambrojohn
24 Aug 2016, 02:42
Forum: Custom Applications
Topic: push button
Replies: 6
Views: 1981

Re: push button

Thank you for you response Tom. The HW_UART_TX_PORT is used from different initialization functions switch-cased in app.c at (re)boot time. That should means that only the selected application (from the bldc tool) will be lunched, which in my case is a custom application with its own init function, ...
by ambrojohn
23 Aug 2016, 12:38
Forum: Custom Applications
Topic: push button
Replies: 6
Views: 1981

push button

Hi Initializing the TX_SDA pin of the VESC with palSetPadMode(HW_UART_TX_PORT, HW_UART_TX_PIN, PAL_MODE_INPUT_PULLDOWN); and checking it at runtime with: palReadPad(HW_UART_TX_PORT, HW_UART_TX_PIN) (as per http://vedder.se/2015/08/vesc-writing-custom-applications/) What is the wiring for a push butt...
by ambrojohn
08 Aug 2016, 04:25
Forum: General
Topic: VESC On Chip Debugging
Replies: 2
Views: 915

Re: VESC On Chip Debugging

Thank you for your advice.
Yes, that's the output of openocd...that gdb client echoes itself, which is where I have copied it from.

For who have been trying to use eclipse for debugging, I reckon I put the necessary details, but I'd be happy to put more, just let me know what.
by ambrojohn
06 Aug 2016, 20:00
Forum: General
Topic: VESC On Chip Debugging
Replies: 2
Views: 915

VESC On Chip Debugging

Hi I have been trying to have the on-chip debugger in Eclipse 4.6 (Neon) working with no success. I have tried to follow these two web pages, although out dated: http://vedder.se/2012/07/get-started-with-stm32f4-on-ubuntu-linux/ http://vedder.se/2012/12/debugging-the-stm32f4-using-openocd-gdb-and-ec...
by ambrojohn
24 Jul 2016, 04:11
Forum: General
Topic: Regulated power supply settings
Replies: 3
Views: 963

Regulated power supply settings

Hi

I have a regulated power supply and I would like to use it to power the VESC on the bench.
So can I set it to, say, 12V and 5A? or is 2A safer?

Any advice appreciated.

Go to advanced search