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

Search:

Type: Posts; User: AndyCap

Search: Search took 0.00 seconds.

  1. Replies
    51
    Views
    3,543

    Hi Richard, it is done: Busidle fix #9

    Hi Richard, it is done: Busidle fix #9
  2. Replies
    51
    Views
    3,543

    Hi Richard, I'll try to get the PR done this...

    Hi Richard,

    I'll try to get the PR done this weekend...

    Cheers

    Andy
  3. Replies
    51
    Views
    3,543

    OK, I think the problem is that the BUSIDLE time...

    OK, I think the problem is that the BUSIDLE time is being set incorrectly.

    From the datasheet page 2751 the minimum BUSIDLE is:

    Also on page 2772 it states that you can disable it totally...
  4. Replies
    51
    Views
    3,543

    So I investigated a little further, so this is...

    So I investigated a little further, so this is where we are seeing the problem:



    Basically it doesn't think the bus is idle, bit weird as SCL and SDA are high and it doesn't start till the bus...
  5. Replies
    6
    Views
    179

    Hi Kurt, Managed to get some time on this. ...

    Hi Kurt,

    Managed to get some time on this.

    The async calls work nicely in teensy4_i2c, apart from a bit of a strange delay, details in last post here:...
  6. Replies
    51
    Views
    3,543

    Hi Richard, Thanks very much for this, I was...

    Hi Richard,

    Thanks very much for this, I was looking for a async I2C implementation and you have done all the work for me :)

    I have a slight issue though, there seems to be around a 300-350us...
  7. Replies
    6
    Views
    179

    I'm really not interested in it being DMA based,...

    I'm really not interested in it being DMA based, just asynchronous with a callback so the processing is not blocked.

    I worded the question incorrectly I guess.

    Edit: I looked for a way to...
  8. Replies
    6
    Views
    179

    Thanks for the reply Kurt. I'm going to have a...

    Thanks for the reply Kurt.

    I'm going to have a look at teensy4_i2c async calls in a while, maybe that will give me what I need.

    I did take a quick look at the NXP side and there is a...
  9. Replies
    6
    Views
    179

    On closer look it seems that teensy4_i2c has...

    On closer look it seems that teensy4_i2c has async methods...
  10. Replies
    6
    Views
    179

    Teensy 4 - Master i2c, DMA possible?

    Hi Guys,

    I have searched around a bit on google and the forum and can't seem to find an answer to this.

    Is it possible to use DMA for sends and receives over i2c on the teensy 4, I have found...
  11. Hi, I have a few tips that may save others a few...

    Hi, I have a few tips that may save others a few hours :)

    1. If using hardware serial and you want > 9600 baud you need to use begin():



    Serial1.begin(115200);
    debug.begin(Serial1);
  12. Hi, thanks for the info. I'm on a mac, I...

    Hi, thanks for the info.

    I'm on a mac, I managed to get it going with single serial by just including your debug files and building in PlatformIO.

    Also managed to get the VSCode debugger...
  13. Hi Guys, Has anyone managed to get "Take over...

    Hi Guys,

    Has anyone managed to get "Take over serial" to work?

    In GDB I see:
    [no_device]: No such file or directory.

    I cannot see the serial device available either.

    The only way to get...
  14. Wow, good job frtias. Will look at giving all...

    Wow, good job frtias. Will look at giving all this a go at the weekend, thanks!
  15. Replies
    26
    Views
    5,984

    For tracing you need also need a SWO pin, the...

    For tracing you need also need a SWO pin, the 1050/1060 M7s do have SWO.

    I have a 1050 EVK and the SWO is not available on the debug header and you have to grab it on GPIO_B0_13 which is SW7 pin...
  16. Replies
    26
    Views
    5,984

    You don't to use SWD but it is the default for...

    You don't to use SWD but it is the default for the 1050/1060.

    The DAP_SJC_SWD_SEL bit needs to be asserted to allow straight JTAG without SWD.
    ...
  17. Replies
    109
    Views
    13,696

    With USB Print Test on ManPro trashcan 12 core,...

    With USB Print Test on ManPro trashcan 12 core, 10.14.5:

    Arduino serial monitor
    =================
    210,000 - 250,000. Mostly down the lower end.

    Kernel Task : 185%
    teensy_serialmon: 65%...
  18. Replies
    26
    Views
    5,984

    Just adding myself into the thread to see...

    Just adding myself into the thread to see progress...
  19. Replies
    3
    Views
    840

    Hi Martin, Thanks for the info, seems a bit...

    Hi Martin,

    Thanks for the info, seems a bit weird as the 3.6 had the debug pins.

    I cannot see anything on the 4 pinout though, I was just hoping I was wrong!.

    Andy
  20. Replies
    3
    Views
    840

    Teensy 4 - Debug pins

    Hi Guys,

    Is there anyway of connecting JTAG or similar to the Teensy 4?

    Thanks

    Andy
  21. Replies
    161
    Views
    16,249

    Hi Michael, Super, thanks very much for those...

    Hi Michael,

    Super, thanks very much for those links.

    All the best

    Andy
  22. Replies
    161
    Views
    16,249

    Hi Guys, Is there a way of getting these in...

    Hi Guys,

    Is there a way of getting these in Europe?

    Other than buying from America that is.

    Cheers

    Andy
  23. Replies
    77
    Views
    39,564

    After some intermittent problems I also cut the...

    After some intermittent problems I also cut the traces to pins 4 and 13 on the MKL02Z, now it is reliable.

    I also have a template project for Teensy/Arduino builds in MCUXpresso which offers...
  24. Replies
    77
    Views
    39,564

    Hi Guys, I got the debugging going :) As I...

    Hi Guys,

    I got the debugging going :)

    As I said before I couldn't solder a wire to the reset pin so after buying another teensy 3.6 to test on I just cut the PCB trace going to the pin 1...
  25. Replies
    77
    Views
    39,564

    Thanks for the info. Unfortunately over the...

    Thanks for the info.

    Unfortunately over the years I have learnt that I am not that smart and need debugger functionality. I understand the importance of a Logic Analyser/Oscilloscope for real time...
  26. Replies
    77
    Views
    39,564

    Well I tried to give it a go, my shaky hands are...

    Well I tried to give it a go, my shaky hands are not up to soldering a wire onto pin 15.

    Does anyone know when the "proper" debug functionality will be added to the Teensy so I don't need to hold...
  27. Replies
    45
    Views
    16,248

    Hi Paul, Would you like to add a couple of new...

    Hi Paul,

    Would you like to add a couple of new USB types to the next release, basically the Audio/Midi/Serial with RAWHid as well.

    They seem to work fine and they are a combination that I think...
  28. Hi Guys, The beta cures the problem, all...

    Hi Guys,

    The beta cures the problem, all working without the button now :)

    Thanks Theremingeniur for the pointer and Paul for the work.

    Cheers

    Andy
  29. Replies
    45
    Views
    16,248

    @KurtE - So it is, I really should read these...

    @KurtE - So it is, I really should read these things. Sorry for the false flag :)
  30. Replies
    45
    Views
    16,248

    Hi There, A bit of a problem here with the...

    Hi There,

    A bit of a problem here with the teensyduino 64 bit mac install and a newly installed and never executed Arduino 1.8.5, High Sierra doesn't like the arduino.app after teensyduino has...
  31. Nice, Thanks :) I was just looking through the...

    Nice, Thanks :)

    I was just looking through the beta thread, a 64 bit version as well. Nice work.

    Will give it a go a bit later, unfortunately I'm writing a user manual at the moment and I know...
  32. Ah, I am on 1.8.5 and 1.41. HS is 10.13.4. I...

    Ah, I am on 1.8.5 and 1.41. HS is 10.13.4.

    I will try the 1.42 and get back to you...

    Thanks

    Andy
  33. Thanks for the info. Same OS as well, High...

    Thanks for the info.

    Same OS as well, High Sierra.

    I have had a look for the reboot app code but it is not open source. I also looked at how to remove any USB Device cacheing in High Sierra but...
  34. Thanks for the info, are you changing both...

    Thanks for the info, are you changing both product and manufacturer name?

    Here is the code I am using:



    #include "usb_names.h"

    #define MIDI_NAME {'M','I','D','I', ' ', 'P', 'r', 'o',...
  35. Yeah, it looks like something to do with the Mac...

    Yeah, it looks like something to do with the Mac getting confused when I change the device name:



    | +-o Teensy MIDIx16/Audio@00110000 <class AppleUSBDevice, id 0x100006803, registered,...
  36. Hi Guys, So I loaded up my project, programmed...

    Hi Guys,

    So I loaded up my project, programmed first time, super duper.

    Second time programming problem is back, so know I know it is something to do with my code.

    I found the problem, if...
  37. Hi Guys, Thanks very much for your help, a...

    Hi Guys,

    Thanks very much for your help, a re-install of arduino and the teensy software has fixed the issue :)

    Also I see a fast flashing of the led when it is being programmed, I hadn't seen...
  38. Hi Guys, Thanks very much for the replies. ...

    Hi Guys,

    Thanks very much for the replies.

    I will do a clean install of the teensy software and arduino and have another test...

    All the best

    Andy
  39. 3.6 - Needing to press the program button to program the teensy :(

    Hi Guys,

    Depending on the USB type chosen the program button is needed every time to program the teensy. For example with USB_RAWHID the program button is not required and with USB_SERIAL the...
  40. Teensy 3.6 USB Audio : Listed as two audio devices on OS X.

    Hi Guys,

    I have some code with a AudioInputUSB and a AudioOutputUSB, simple at the moment just passing through the audio.

    This works fine but on my Mac I get two audio devices, one with 2...
  41. Replies
    77
    Views
    39,564

    Hi Robin, Thanks for the quick reply. I...

    Hi Robin,

    Thanks for the quick reply.

    I will give it a go and let you know how it goes...

    Cheers

    Andy
  42. Replies
    77
    Views
    39,564

    Hi Robin, Did this pin 15 to ground work? I...

    Hi Robin,

    Did this pin 15 to ground work? I see other posts on the internet where they actually remove the KL02Z from the board.

    Many thanks for any help

    Andy
Results 1 to 42 of 42