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

Search:

Type: Posts; User: jensa

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    171
    Views
    15,567

    Thanks to @vjmuzik for making this lib! It's...

    Thanks to @vjmuzik for making this lib! It's saved me a lot of time, but has also caused me some grievances so I thought I'd share what I've learned to help others.

    I have a very simple machine to...
  2. Replies
    0
    Views
    81

    FreqMeasureMulti and TeensyStep conflict

    Hi,
    This might be one for @luni, but I ran into a conflict between FreqMeasureMulti and TeensyStep as they were both using TIMER_FTM0. I resolved this by setting #define USE_TIMER TIMER_FTM1 in...
  3. Replies
    497
    Views
    42,176

    Hi Gonzales. It's likely because you are using...

    Hi Gonzales. It's likely because you are using CAN and CAN always has 8 data bytes. To send more, you will just have to send multiple packets of data. Depending on your application, you might be able...
  4. Replies
    2
    Views
    589

    1) A Teensy 4 might be worthwhile, but for these...

    1) A Teensy 4 might be worthwhile, but for these projects, you'll only need a Teensy 3.2. You'll program this using the Arduino IDE with the Teensyduino extension installed. You might also want to...
  5. Replies
    497
    Views
    42,176

    Oh my. I had swapped the CAN HI / CAN LO wires on...

    Oh my. I had swapped the CAN HI / CAN LO wires on the bus. The bus had a good resistance value of 60.4 ohm, but the voltage measured 0.017v rather than the much more sensible 1.49V. Sigh... I did...
  6. Replies
    497
    Views
    42,176

    Ok. Back at my desk and I found that now I get...

    Ok. Back at my desk and I found that now I get something on the output pin, but it does not look sensible? My logic analyzer (enclosed image) shows it as 17 bits low (17us long @ 1000000 baud) and...
  7. Replies
    497
    Views
    42,176

    I just tried again with a T3.2 modified version...

    I just tried again with a T3.2 modified version (CAN0) of the T4.1 code above, but there is nothing on the TX pin according to the logic analyser?

    (sorry for posting multiple times. On Mobile, the...
  8. Replies
    497
    Views
    42,176

    That works much better! :) But - still no signal...

    That works much better! :)
    But - still no signal on Pin 22. That is the CAN0 TX pin, right?

    The reason I'm testing on a T3.2 is that on my T4.1, I also get no output on the CAN2 port (pin0 + pin...
  9. Replies
    497
    Views
    42,176

    Right, but you would expect the LED to turn on,...

    Right, but you would expect the LED to turn on, right @tonton81? I tried with a 2 second delay. The first output prints fine and then nothing after that happens. No pin 13 LED turns on.

    I have a...
  10. Replies
    497
    Views
    42,176

    Beginner question: testing on a T3.2 I'm using...

    Beginner question: testing on a T3.2 I'm using the below code. The LED never turns on and I only get the first serial output. It looks like the Teensy is crashing. I downloaded the latest version...
  11. Teensy 4.1 should be fast enough if your code is...

    Teensy 4.1 should be fast enough if your code is using interrupts but I guess the Arduino library is not fast enough, but did you read this? Looks like that lib isn't required when using a Teensy...
  12. Replies
    12
    Views
    342

    Solved it! The 1V signal was fixed by reflowing...

    Solved it!
    The 1V signal was fixed by reflowing the MKL02 and when this did nothing and all else looked good, I got annoyed and started removing IC's one by one while testing. After removing 8 ICs...
  13. Replies
    12
    Views
    342

    It could be @jonr, but as mentioned - the...

    It could be @jonr, but as mentioned - the previous version of this board had 100% identical layout on everything related to the Teensy. This board worked without any issues on all 3 copies I made, so...
  14. Replies
    12
    Views
    342

    When I hit the Program button, a clock signal is...

    When I hit the Program button, a clock signal is produced on PTB0 on the MKL02 and I see data on PTA7 as expected. But this capture of the two channels is a bit surprising? The data channel is only 1...
  15. Replies
    12
    Views
    342

    @jonr All power pins have a 0.1uF decoupling cap...

    @jonr All power pins have a 0.1uF decoupling cap and one of them have a 10uF. The crystal is not resonating, so the MK20 does not start. How can I test if it tries to reset itself or is even...
  16. Replies
    12
    Views
    342

    The RESET is LOW when the Program button is held...

    The RESET is LOW when the Program button is held LOW, so I guess that confirms that the MKL02 is good. Also - since I see the pulse train on PTA7, it's trying to wake the MK20, but this fails.
    Any...
  17. Replies
    12
    Views
    342

    MKL02 not starting up

    I just received 3 boards from PCBA that do not work at all and this is a curious case. The board is based on Teensy 3.2 and has a MKL02 from PJRC. This is version two of the board. The first version...
  18. Replies
    6
    Views
    273

    Hehe. You've done so many nice writeup's that I...

    Hehe. You've done so many nice writeup's that I understand why. Thanks!
  19. Replies
    6
    Views
    273

    Update: It's still a little messy from a debug &...

    Update: It's still a little messy from a debug & develop perspective as the Teensy Loader will happily program any Teensy connected :-/
    I'm using Platformio as my IDE. There you can set debug and...
  20. Replies
    6
    Views
    273

    Brilliant @luni! This got me to search for...

    Brilliant @luni! This got me to search for "teensy change usb serial number" and I found this:
    https://forum.pjrc.com/threads/60347-Teensy-3-2-3-6-how-to-change-GUID-UUID

    and that lead to this...
  21. Replies
    6
    Views
    273

    Connecting two Teensy 3.2 on OSX

    Hi all,
    I have a setup with two (custom) Teensy 3.2 based boards and I run into problems having both of them connected to my Mac at the same time.

    If I connect only board #1, it comes up as...
  22. Replies
    9
    Views
    317

    Cool. So all that is needed is a small bodge-wire...

    Cool. So all that is needed is a small bodge-wire to that test point and it'll always work? Not too difficult.
  23. Replies
    9
    Views
    317

    Got a link? I'm sure that could answer...

    Got a link? I'm sure that could answer @drewhamiltonasdf question then :)

    There is a section on power sequencing in the i.MX RT1060 Processor Reference Manual, but looking at the schematic, it...
  24. Replies
    9
    Views
    317

    @BriComp I don't know where you have that...

    @BriComp I don't know where you have that information from? If you look at the schematic, you'll easily see that VDD_SNVS_IN is powered from either VBAT or 3.3V. Applying either will wake up the SNVS...
  25. Replies
    4
    Views
    234

    Hi, I don't know your project, so I really have...

    Hi,
    I don't know your project, so I really have no idea how this works? If you explain better, it's much easier to offer advice...
    From what you have written up until now, I'm guessing that you...
  26. Replies
    2
    Views
    234

    Hi Jorge, This will probably work for a while,...

    Hi Jorge,
    This will probably work for a while, but you can already see the signs of this becoming a very long file? Long files are hard to read. I would split out things to classes according to...
  27. Replies
    4
    Views
    234

    Hi @EagleEye, It's a little unclear to me what...

    Hi @EagleEye,
    It's a little unclear to me what your project is - do you want to build a Bluetooth keyboard?

    J
  28. Replies
    9
    Views
    317

    Looking at the schematic for Teensy 4.0 /4.1...

    Looking at the schematic for Teensy 4.0 /4.1 you could power the 3V3 rail directly. I had a look at Chapter 16 (Power Management Unit PMU) in the i.MX RT1060 Processor Reference Manual. According to...
  29. Advice on Serial buffers (SERIAL2_RX_BUFFER_SIZE)

    Hi all,
    I'm working on project based on a Teensy 3.2 that talks to a Qt based application over Serial2. I kept running into problems with Serial data being corrupted, but after searching the forum...
  30. Replies
    2
    Views
    223

    Heh. Good to know. Thanks!

    Heh. Good to know. Thanks!
  31. Replies
    2
    Views
    223

    IP range banned/blocked?

    Hi all,
    Dunno if there's a forum admin other than @PaulStoffregen but our IP range is apparently blocked from the forum? Our Hackerspace is very much in the customer group for PJRC products, so I'd...
  32. Replies
    8
    Views
    764

    Glad it's of use :) The FeatherWing board is...

    Glad it's of use :)
    The FeatherWing board is based upon this board so also a confirmed design. It's quite useful with NeoPixels, though Teensy is better for anything with a large amount of pixels.
  33. Replies
    8
    Views
    764

    Nahh. It's all good feedback. C1 is the 10uF cap...

    Nahh. It's all good feedback. C1 is the 10uF cap on the power input, so I added a new cap next to the MLK20 power pins and posted it back to the Git repo. I'm making a board for a customer using this...
  34. Replies
    8
    Views
    764

    True. The board works well with this layout, but...

    True. The board works well with this layout, but C4 should certainly be moved to Pin 7 & 8. Oversight on my behalf :cool:
    I updated the Kicad files to implement this change.
  35. Replies
    8
    Views
    764

    Custom / DIY Teensy 3.2 board files

    I finally got around to write up my experience making a DIY board based on Teensy 3.2: https://github.com/jenschr/Teensy3.2-example

    It has files for Kicad 5 and uses a USB Type C connector. Hope...
  36. @Loren42 It's just two layers. No need for any...

    @Loren42 It's just two layers. No need for any more :)
  37. Turns out I had managed to swap D+/D- :-/ Now...

    Turns out I had managed to swap D+/D- :-/
    Now working well after some bodge wires to swap them.

    20547
  38. Teensy 3.2 DIY board bringup - USB not working

    Hi all,
    I've made my first custom Teensy based on schematics and a MKL02 from PJRC. I made 3 copies of the board and nothing happens by default as explained here...
  39. Might be worth trying with several cards like i...

    Might be worth trying with several cards like i did? I was surprised at how different the output I got was. I'm pretty sure that I tried a Sandisk Ultra some years ago and that did actually play back...
  40. Correct URL to the Zip file...

    Correct URL to the Zip file with samples. Also found this thread that mentions Static in playback, so I think it's the same?
  41. @greg1 Try using a UHS-3 card? I just found that...

    @greg1 Try using a UHS-3 card? I just found that this has significant impact. Using Teensy 3.2, I can now play back 5-6 simultaneous sounds from my SD card.
  42. USE_TEENSY3_OPTIMIZED_CODE distorts SD playback

    Hi all,
    For a while I've been wanting to make a launchpad & drum machine to bring along for our stands at Maker Faire and such events. Kids love anything that makes sound, so why not make something...
  43. Replies
    82
    Views
    10,946

    On OSX Catalina (versions 10.15.2 - 10.15.4),...

    On OSX Catalina (versions 10.15.2 - 10.15.4), Teensyduino (1.51 and 1.52 beta) will appear to work until you open a menu. It takes a few seconds and then the program disappears. Starting from command...
  44. Replies
    3
    Views
    471

    The solution became to use the standard Encoder...

    The solution became to use the standard Encoder class for Teensy and just ignore one of the three phases in the Hall sensor signal. This looses precision, but solves the problem elegantly as it...
  45. Replies
    3
    Views
    471

    Thanks @mbogerson! Those posts was quite a dense...

    Thanks @mbogerson! Those posts was quite a dense read, but from what I gathered it boils down to adding this one line to the setup-method (given that the pins I use are on the C-port:

    ...
  46. Replies
    3
    Views
    471

    Reading BLDC Hall Sensors using interrupts

    Hi all,
    It's been a while since I've posted on this forum, but I need some advice on a Teensy project I'm doing. I have a Brushless motor with 3 Hall sensors. The motor has 7 pole pairs that each...
  47. Replies
    2
    Views
    1,872

    @Manu You say you have an ER3303-1, but in your...

    @Manu You say you have an ER3303-1, but in your code you say that it is a ER3301_1?

    J
  48. Thread: Ra8875 7" lcd

    by jensa
    Replies
    25
    Views
    8,441

    @scoobydoo That did the trick! For these displays...

    @scoobydoo That did the trick! For these displays - desolder R1,R2,R3 plus C1 & C2 as described here https://github.com/sumotoy/RA8875/wiki/EastRising-and-Buydisplay-SPI-configuration-and-wiring and...
  49. Thread: Ra8875 7" lcd

    by jensa
    Replies
    25
    Views
    8,441

    I have a resistive touch version of the 5"...

    I have a resistive touch version of the 5" display and I can't seem to get it to light up? It appears to work, but there is no light. I have connected a 1A 3V3 supply to the power pins on JP1 and the...
  50. Duh... Replying to myself so others can search...

    Duh... Replying to myself so others can search this topic.

    As one of the first includes, I had a call (in a Class constructor) that used Serial. Using Serial before it is available/included will...
Results 1 to 50 of 58
Page 1 of 2 1 2