Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: Strooom

Search: Search took 0.00 seconds.

  1. Replies
    104
    Views
    29,222

    However, as for the title of this post, I am...

    However, as for the title of this post, I am still struggling with a number of TeensyDuino things

    1. I can't easily hook a more suitable driver for Hardware Serial 1, because the interrupt...
  2. Replies
    104
    Views
    29,222

    It's still alive. I was interruped for 9 months...

    It's still alive. I was interruped for 9 months due to an unforseen extra project.
    But I will resume the development in march 2018..
    Current status is :
    * hardware (PCB) has been tested and is...
  3. Replies
    104
    Views
    29,222

    Update

    Teensy on Controller PCB, Assembly with (4) Stepper Drivers and (1) Solid State Relay on a 5mm plexiglass baseboard. (400mm x 123mm)
    10678
    I've found a few problems, such as obstruction of the USB...
  4. Replies
    104
    Views
    29,222

    Just a quick update of the status : I've made...

    Just a quick update of the status : I've made some prototype versions of a PCB so I can move my testing onto real machines :
    * 6 motors, 6 peripherals, 12 limit switches and/or buttons.
    I will...
  5. Replies
    104
    Views
    29,222

    Ok, I understand you prefer Proteus, as you have...

    Ok, I understand you prefer Proteus, as you have climbed the learning curve... On the other hand I'd like the schematics and layouts to be open hardware. What about Eagle?
    I have not done any...
  6. Replies
    104
    Views
    29,222

    Hey macaba, I think I'm ready for the motherboard...

    Hey macaba, I think I'm ready for the motherboard design.
    What schematics/PCB design software did you intend to use ?
  7. Replies
    104
    Views
    29,222

    For the fellow CNC-ers that expressed interest in...

    For the fellow CNC-ers that expressed interest in this Teensy based CNC Controller : I have reached the milestone of making stepper motors running, that is :
    * Gcode (being received through UART0)...
  8. Replies
    104
    Views
    29,222

    I can only give some examples : 1. for a CNC...

    I can only give some examples :

    1. for a CNC controller I've calculated 6 STEP and 6 DIR signals (1 bit each, using PORTC[0..11]) - I want to output them simultaneously, so I use GPIOC_PDOR =...
  9. Replies
    104
    Views
    29,222

    One question which is related : Why is the...

    One question which is related : Why is the vector table always remapped to RAM.

    I understand this is needed when you have an OS that wants to run-time change the handler for an interrupt.
    But...
  10. Replies
    104
    Views
    29,222

    In my experiments building with VisualMicro...

    In my experiments building with VisualMicro behaves the same as doing it from within Arduino IDE (I reinstalled VM, Arduino and TeensyDuino with recent versions to rule out anything there)
    I have no...
  11. Replies
    21
    Views
    6,043

    I totally agree! Too often I find lots of...

    I totally agree! Too often I find lots of resistance in this forum for people trying to go back to the basics.
    Personally I think if you've come to the Teensy, then that is the more logical thing...
  12. Replies
    104
    Views
    29,222

    Some final observations for today :-) I was...

    Some final observations for today :-)

    I was comparing the assembler output from a working and non-working version.
    Seems that in the one which is not working, there is simply no NVIC table,...
  13. Replies
    104
    Views
    29,222

    Ok, First I reinstalled the Arduino and...

    Ok,

    First I reinstalled the Arduino and TeensyDuino to rule out any corrupt installation setup..
    I also verified all experiments below on both the vanilla Arduino IDE, as well as on Visual Studio...
  14. Replies
    104
    Views
    29,222

    I am using Visual Studio with Visual Micro plugin...

    I am using Visual Studio with Visual Micro plugin as IDE.
    Just to be sure I repeated my experiments with the Arduino IDE, and even when yield() is outcommented, it runs fine, so it looks like a...
  15. Replies
    104
    Views
    29,222

    Ok, that's fine - I'm trying to understand what's...

    Ok, that's fine - I'm trying to understand what's in your startup code and why..

    Next thing I don't understand is why outcommenting 'yield()' from main(), prevents the Teensy from booting...
  16. Replies
    104
    Views
    29,222

    Thanks Michael! I intend to use off-the-shelf...

    Thanks Michael!
    I intend to use off-the-shelf Teensy3.5 / 3.6
    I just wanted to double-check my bare-metal experiments wouldn't lock me out by breaking the built-in programming mechanism.
  17. Replies
    104
    Views
    29,222

    Paul, I am looking into the code that...

    Paul,

    I am looking into the code that TeensyDuino is generating by compiling an 'empty' project and looking at the assembly output.
    I found that the different 'Project Options' you can choose...
  18. Replies
    104
    Views
    29,222

    No apologies needed, I think your post was...

    No apologies needed, I think your post was legitimate.
    I will take a look at your work one of the next days - we can always learn from it.
    My project is targeting CNC, and as such there is no...
  19. Replies
    104
    Views
    29,222

    Thanks, I merged our sheets together, this way...

    Thanks,
    I merged our sheets together, this way you can for each GPIO (which is brought to a K64 pin) choose the function from the available functions on that pin.
    It's done thru a simple data...
  20. Replies
    104
    Views
    29,222

    I think there is an opportunity for DMA to solve...

    I think there is an opportunity for DMA to solve the following problem :

    Stepper-motor-drivers have a STEP signal which is pulsed for each step, and a DIR (Direction) signal which controls the...
  21. Replies
    104
    Views
    29,222

    Yes, I know, and there are even more boards and...

    Yes, I know, and there are even more boards and SW : GRBL, TinyG, LinuxCNC, xPro, RAMPS, ... (I am currently running GRBL on my machine, with a self-made shield).
    I started with an xPro V2 board. I...
  22. Replies
    104
    Views
    29,222

    Actually, where your expertise could be really...

    Actually, where your expertise could be really helpful is in validating which GPIO's are 'safe' to use.

    I'd like to use a consecutive number of bits on a port, to keep things clean and simple....
  23. Replies
    104
    Views
    29,222

    My ideas on hardware are on a dedicated wiki-page...

    My ideas on hardware are on a dedicated wiki-page

    In short : what we need on top of the Teensy itself is :
    1. power supply (going from 24..36V to 3.3V)
    2. open-collector drivers towards the...
  24. Replies
    104
    Views
    29,222

    Thanks Paul, will take a look at your code asap....

    Thanks Paul, will take a look at your code asap.

    I don't know how familiar you are with controlling steppers for this kind of machines, so let me summarize the design challenge here :

    * for...
  25. Replies
    104
    Views
    29,222

    Very good remark! - I struggled some time with...

    Very good remark! - I struggled some time with false triggers on limit switches myself. All measures will be taken to protect against this, and your suggestion to have 12 or 24V signals here is a...
  26. Replies
    104
    Views
    29,222

    Great, this is indeed on my ToDo list. Your offer...

    Great, this is indeed on my ToDo list. Your offer to help is appreciated and will speed things up!
    I'm thinking along the same lines :
    * ULN2803 output buffers towards the stepper drivers and...
  27. Replies
    104
    Views
    29,222

    Just watch https://github.com/Strooom/Mooov on...

    Just watch https://github.com/Strooom/Mooov on github. There is no source-code there yet, but I have started the Wiki, so you can take a look if this is what you are looking for.
    It will take a few...
  28. Replies
    104
    Views
    29,222

    Yes, I know - GCode interpreter is a...

    Yes, I know - GCode interpreter is a non-real-time thing, and I don't worry about that.. My worry is about the timer interrupt to the stepper-motors which may run up to 100-200 KHz


    Mmmmhh,
    I...
  29. Replies
    104
    Views
    29,222

    Yes, I collected most of them already and am...

    Yes, I collected most of them already and am trying to re-use some of that effort (it all started with Karl Lunt : https://www.seanet.com/~karllunt/bareteensy31.html) However they don't address how...
  30. Replies
    104
    Views
    29,222

    One more quick question : will the TeensyDuino...

    One more quick question : will the TeensyDuino enable the floating point HW when Teensy 3.5 is selected ?
  31. Replies
    104
    Views
    29,222

    Thanks for the prompt answers!, It's not that...

    Thanks for the prompt answers!,

    It's not that I don't like the Arduino IDE : it's a beginner-friendly easy access toolchain, so it's a preferred way of distributing applications to a wide...
  32. Replies
    104
    Views
    29,222

    Options for 'bare-metal' development

    Hi, I am doing a development for a CNC/Motion Controller.
    As a first target HW I want to run it on a Teensy3.5

    I would like to achieve the following :

    It should be easy to compile the SW and...
Results 1 to 32 of 32