Search results

  1. B

    Teensy 3.0 - driving an SSD1289 with utft

    It is possible! Use D0-D7 and resolder the Resistor R4 to the position R5. D8-15 can be unconnected http://www.raspberrypi.org/forums/viewtopic.php?f=64&t=33679&hilit=controller&start=100 Post #3 I have tried this and it works.
  2. B

    Teensyduino 1.20 Release Candidate #1 Available

    Dear Paul, 1.20 Release Candidate #1 #define FTM_CONF_BDMMODE (((n) & 3) << 6) // Behavior when in debug mode #define FTM_CONF_NUMTOF (((n) & 31) << 0) // ratio of counter overflows must be #define FTM_CONF_BDMMODE(n) (((n) & 3) << 6) // Behavior when in debug mode #define...
  3. B

    Teensy 3.1 PWM for BLDC

    Thanks Paul! New Version. Needs Teensyduino 1.20! No need for additional register definition file. The new 1.20 kinetis.h has all register included. Barney
  4. B

    Arduino IDE 1.5.x

    Dear Paul, do you have a time line, when will you have the latest Arduino IDE 1.5.x. Barney
  5. B

    Teensy 3.1 PWM for BLDC

    Thanks Paul :)
  6. B

    Teensy 3.1 PWM for BLDC

    Here another test with ISR:
  7. B

    Teensy 3.1 PWM for BLDC

    This Code works for some test:
  8. B

    Teensy 3.1 PWM for BLDC

    Dear PaulStoffregen, i want to bring me with this again in memory. http://forum.pjrc.com/threads/25044-Teensy-3-1-PWM-for-BLDC?p=42155&viewfull=1#post42155 http://forum.pjrc.com/threads/25044-Teensy-3-1-PWM-for-BLDC?p=42191&viewfull=1#post42191 i think this is ideal for the release Teensyduino...
  9. B

    Teensy 3.1 AnalogWrite problem with slow PWM frequency

    Thank you to all involved, it was a problem from the pocket oscilloscope UNI-T UT81B. After Paul has created the video, I used my second oscilloscope. There is no jumping of the signal! Everything is fine. Except for my pocket oscilloscope ... Thank you Barney
  10. B

    Teensy 3.1 AnalogWrite problem with slow PWM frequency

    void loop() { for(pos = UntererStellWertMotor; pos < ObererStellWertMotor; pos += 10) { // von 1ms to 2ms analogWrite(Pin_Motorstelleranschluss, pos); // Geschwindigkeitsvorgabe Motor delay(100); // waits 15ms for the servo to reach the position...
  11. B

    Teensy 3.1 AnalogWrite problem with slow PWM frequency

    Hi Whollender, i don't see 1,21,41 i see instead 1,30,20,50,30,... next day i will test your suggestion with longer delay.
  12. B

    Teensy 3.1 AnalogWrite problem with slow PWM frequency

    Dear Paul, please test this Code and use an Ozilloscope. You can see the PWM doesnt increased the value straight. The PWM hops back and forward in little steps. Is there an Teensy register bug? I have tested different resolution but with the same effect. Barney #define...
  13. B

    Teensy 3.1 PWM for BLDC

    Dear PaulStoffregen can you include (some emelents or whole) from this kinetis_ftm.h file or put in in your hardware tensy tree? http://sourceforge.net/p/nuttx/git/ci/ddb019413f39bbe495dba2a55c60f9ff8f8e00ce/tree/nuttx/arch/arm/src/kinetis/kinetis_ftm.h#l355 I am missing the above additional...
  14. B

    Teensy 3.1 PWM for BLDC

    I have found an example code for an three phase PWM with dead time. So i have solved my problem. #define FTM0_CLK_PRESCALE 0 //no prescale #define FTM0_OVERFLOW_FREQUENCY (80000) // 80kHz #define FTM_QDCTRL_QUADEN (1 << 0) // Bit 0: Quadrature Decoder Mode Enable #define...
  15. B

    Teensy 3.1 Pin Assignments pdf

    Final view for B side
  16. B

    Teensy 3.1 Pin Assignments pdf

    Here two version in one document: What do you mean, lines or grey out?
  17. B

    Teensy 3.1 Pin Assignments pdf

    Hi Nantonos, i see this glichtes under Windows not with Linux or Smartphone. Ich have tried different test: 1. PDF creation with version 1.3, 1.4 , 1.5 -> glitches exisits 2. Other fonts -> glitches exisits 3. Make pdf with Linux (Ubuntu) -> glitches exisits 4. Print out on Color Laser...
  18. B

    Teensy 3.1 Pin Assignments pdf

    Hi Stevech, Hi Nantonos thanks for your suggestions and information. I have changed MOSI and MISO to the right position. In the wikipedia page i have found that CS are named SS. So i have changed CS to SS. Other correction or suggestions? Barney
  19. B

    Teensy 3.1 Pin Assignments pdf

    I think there are some Pins to delete like TX/RX Pin 3/4 or DOUT/DIN Pin 7/8 I hope my additions are correct Scribus File
  20. B

    Teensy 3.1 Pin Assignments pdf

    I am confused, on http://www.pjrc.com/teensy/td_libs_SPI.html i think MOSI and MISO is in wrong order Please take a look on http://www.freescale.com/files/capture/pdf/mk20dx128vlh7_lqfp64.pdf
  21. B

    Teensy 3.1 Pin Assignments pdf

    First Try! Dont use for development.
  22. B

    Teensy 3.1 Pin Assignments pdf

    Hi, it is possible to get tho original file for this pdf "https://www.pjrc.com/teensy/card5a_rev5.pdf"? I want to insert additional Information about the PWM FTM0 channel pin assignment.
  23. B

    Teensy 3.1 PWM for BLDC

    Hi Tim, you are right. But it isn't wrong write death time. If you set the time wrong the MOSFETs are death :) thanks for the correction. Barney
  24. B

    Teensy 3.1 PWM for BLDC

    Excuse my bad English! Hardware independent? I think it isn't possible. An three phase PWM must be near at Hardware as possible to protect the computation ressources of the mircocontroller. I have take a look to the datasheet of the microcontroller. The register set isn't ease to understand for...
  25. B

    Teensy 3.1 PWM for BLDC

    I dont need such complex settings for my BLDC! Setup parameters: * set PWM resolution * set up high and low driver function * set dead time (to protect the MOSFETs) * set period time * synchronized the clock of the tree channels the main controll parameter -> controll the duty cycle
  26. B

    Teensy 3.1: adafruit 1.8 18-bit color tft, SPI speed

    Your modification is very fast. You activate the 8 byte buffer. I use the 24MHz clock setting. Thanks for your help
  27. B

    Teensy 3.1: adafruit 1.8 18-bit color tft, SPI speed

    Hi, on Arduino DUE ist was possible to set the SPI speed to clk/2, on Teensy 3.1 there is no way to controll the SPI speed like Arduino DUE. Why? Is there an simple way to overwrite the SPI clock settings like in this code snipped? From the Adafruit_ST7735.cpp #ifdef __AVR__...
  28. B

    Teensy 3.1 PWM for BLDC

    Hi, for an own BLDC controller i need tree PWMs with an high an low driver. I have found some functional code for an Arduino DUE: Here an smal example: //Konfiguration der PWM-Kanäle 0 bis 2 (u,v,w) (left-aligned, enable dead time generator) for (int ch=0; ch<3; ch++) {...
Back
Top