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

Search:

Type: Posts; User: Paula

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    286

    Teensy 3.6 Self programming/in field update

    Hi,

    I'm wondering how to go about creating a Teensy project that has a boot loader (to read data from an SDCard) that can be used to update code on the Teensy once in the field, as a lot of...
  2. Replies
    6
    Views
    972

    My bad, complete noob error on my part... going...

    My bad, complete noob error on my part... going to rest my eyes as this was a truly stupid mistake.
  3. Replies
    6
    Views
    972

    Thanks for doing this, I'm using this for my...

    Thanks for doing this, I'm using this for my adventures with DMA and SPI.
    I have a question, I can get SPI0 or SPI1 to work, fab.

    But I can't get DMA for both, I assume I'm doing something wrong,...
  4. Replies
    5
    Views
    738

    ok, I eventually figured it out, at least for...

    ok, I eventually figured it out, at least for SPI0 so I thought I'd share.

    There's an extra line needed "ActiveChipLowSelect"
    And there's some extra paramters that need passing to the transfer.
    ...
  5. Replies
    5
    Views
    738

    Thanks for the quick response. The only other...

    Thanks for the quick response. The only other code is setting a few variable names and of course the setup and loop, I'm using platformio (as the arduino editor was driving me nuts).

    as you say,...
  6. Replies
    5
    Views
    738

    Teensy 4.0 DMA SPI Speed issues

    I'm attempting to move from block SPI transfers to DMA based, and I'm having some success, but seem to be struggling with the DMA SPI speed

    I'm trying to run two separate SPI busses SPI0 and SPI2,...
  7. Thread: SPI0 and SPI1/2

    by Paula
    Replies
    2
    Views
    510

    Oh, thanks, that was min numbingly easy :)

    Oh, thanks, that was min numbingly easy :)
  8. Thread: SPI0 and SPI1/2

    by Paula
    Replies
    2
    Views
    510

    SPI0 and SPI1/2

    Forgive the potential daft question, but I'm trying to use two different SPI ports on a Teensy 4.0
    I have done some searching but can't see how to do this.
    I've got SPI0 working (default SPI port,...
  9. Replies
    19
    Views
    2,911

    Thanks defragster for pointing at Pauls work......

    Thanks defragster for pointing at Pauls work... I'd not found that and once I got my head around it the solution came quickly (ok, well a few hours)
  10. Replies
    19
    Views
    2,911

    So, finally cracked it. Couple of notes; ...

    So, finally cracked it.

    Couple of notes;

    GPIO pins mapped like this -

    /*
    * GPIO1.IO[12..24]
    * 12 = AD_B0_12 = PIN 24
    * 13 = AD_B0_13 = PIN 25
  11. Replies
    19
    Views
    2,911

    Well, sadly still nothing.. made a mistake with...

    Well, sadly still nothing.. made a mistake with the ! and | in the previous code, so Ran this (based on Paul's code linked above)


    void setup()
    {
    GPIO1_GDIR |= (0xFCF3 << 12);
    // GPIO1_GDIR...
  12. Replies
    19
    Views
    2,911

    damn, couple of mistakes in there... Going to try...

    damn, couple of mistakes in there... Going to try this -




    void setup()
    {
    GPIO1_GDIR != 0x0FCF3000; // 1111 1100 1111 0011 0000 0000 0000‬
    // should...
  13. Replies
    19
    Views
    2,911

    I'm going to try this.... void setup() {...

    I'm going to try this....



    void setup()
    {
    GPIO1_GDIR != 0x03CFF000; // should be 11110011111111000000000000
    // should give us bits 25->22 and 19->12 as...
  14. Replies
    19
    Views
    2,911

    ok, think I've got a handle on it, here's what...

    ok, think I've got a handle on it, here's what I've worked out so far;



    /*
    * GPIO1.IO[12..24]
    * 12 = AD_B0_12 = PIN 24
    * 13 = AD_B0_13 = PIN 25
    * 14 = AD_B0_14 = PIN 26
    * 15 =...
  15. Replies
    19
    Views
    2,911

    Thanks defragster, but I don't understand what...

    Thanks defragster, but I don't understand what you've written :)
    I mostly do electronics and tinker with code. Have to admit I'm amazed there isn't a library with a parallel out function :(
  16. Replies
    19
    Views
    2,911

    Parallel IO - is it possible?

    Hi all, I'm playing with the teensy 4.0 which is fab (thank you Paul).

    I'm trying to write a 12 bit value to pins 0 to 11.
    I've done some reading and the only way I can figure out how to do it is...
  17. I've captured the data running from the MKL02Z32...

    I've captured the data running from the MKL02Z32 to the MK66FX (below)

    14274

    You can see the point at which I press the program button.

    I'm really surprised to see PTA6 staying high and PTB1...
  18. MKL02Z32 distance from MK66FX1MO on custom board

    For a variety of reasons I've had to locate the MKL02Z32 a distance away from the MK66FX1 on my board (connected via flex cable on another PCB), Should this be a problem?

    When the chip was right...
  19. Replies
    7
    Views
    1,532

    Ahhh, ok, thank you :) Paula

    Ahhh, ok, thank you :)

    Paula
  20. Replies
    7
    Views
    1,532

    One final question, the MKL chip isn't needed...

    One final question, the MKL chip isn't needed once the main CPU is flashed?
    Is that correct?
  21. Replies
    7
    Views
    1,532

    Thanks, I assumed the code was held in the MKL02...

    Thanks, I assumed the code was held in the MKL02 rather than the MK66, my bad.
    But still she's alive :)
  22. Replies
    7
    Views
    1,532

    ok, so, I tried (for the hell of it), uploading...

    ok, so, I tried (for the hell of it), uploading blink to my board and... bingo, LED blinking..
    So I guess, the bootloaders don't come with blink on :)
  23. Replies
    7
    Views
    1,532

    So, just for a giggle, I connected the USB to my...

    So, just for a giggle, I connected the USB to my PC and got "Kentis Bootloader ready for use".
    So, I assume that for some reason the device isn't booting from the MKL02.

    Or is there another step...
  24. Replies
    7
    Views
    1,532

    Teensy 3.6 on own PCB

    Hi,

    I'm working on a project that I wish to use the teensy 3.6 for, but as the board space is a bit tight, I'm rolling my own PCB.
    I've made the PCB (4 layers) and used the QFP MK66FX1M0 rather...
  25. Replies
    3
    Views
    1,382

    Thanks, modifying the adafruit .h and .cpp files...

    Thanks, modifying the adafruit .h and .cpp files did it, I thought I'd tried this but clearly I hadn't. it's now compiling and seems to be working.
    I'll add in the second I2C line tomorrow :)
  26. Replies
    3
    Views
    1,382

    Trellis and Multiple I2C ports

    Hi everyone,

    I'm new to Teensy and Arduino and so far I'm really impressed.
    I'm an electronics engineer and used to writing assembly and C, but I've ot myself a teensy 3.6 to have a play with...
Results 1 to 26 of 26