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

Search:

Type: Posts; User: Frank B

Page 1 of 10 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    926
    Views
    19,705

    Yes it was active, and USB is online.. so I don't...

    Yes it was active, and USB is online.. so I don't know the reason.


    Good job! That's fine in my opinion :) Does the code disable interrupts? If yes, is there a way without it?


    I played with...
  2. Replies
    926
    Views
    19,705

    Problem(?) - not sure if it is.. :) I replaced...

    Problem(?) - not sure if it is.. :)

    I replaced set_arm_clock(600000000); with set_arm_clock(12000000); (12MHz) - teensy ist still fast:) but that is not the problem :)
    If I use this, the T4...
  3. if the pins are continous, at least 2x 8-bit...

    if the pins are continous, at least 2x 8-bit together, you could use a 65536-byte lookup-table and a dma channel with 3x scatter-gather (1: reset strobe, 2: read data (2b read data from 2nd port?) ,...
  4. Seen this ? Nice MIDI Controllers :) ...

    Seen this ? Nice MIDI Controllers :) https://forum.pjrc.com/threads/53581-Musical-Instrument-Collection-using-Teensy-Midi
  5. Replies
    926
    Views
    19,705

    Played a little bit with the new "F_BUS" (IPG)....

    Played a little bit with the new "F_BUS" (IPG). Default is 150MHz (max in Reference Manual) ..but..at least with 600MHZ core, F_BUS can work with 300MHZ, too.
    edit: 492000000 Hz at "Ludicrous Speed"
  6. Replies
    926
    Views
    19,705

    @luni, depends on what is considered more...

    @luni, depends on what is considered more important - having working micros() or having a spare timer (Pauls decision).. You can never please everyone anyway.
  7. Replies
    926
    Views
    19,705

    Using a GPT is better than defective micros :)...

    Using a GPT is better than defective micros :) What would be the reasons not to use it - are there libraries that need a GPT, or both GPT?
  8. Replies
    926
    Views
    19,705

    The better way is to fix micros() - it's used by...

    The better way is to fix micros() - it's used by user-programs, too. Maybe we can use a different timer (?)
  9. Replies
    926
    Views
    19,705

    Is it needed to poll ? maybe a simple, single...

    Is it needed to poll ? maybe a simple, single read is enough?
  10. Replies
    926
    Views
    19,705

    great. I've read, sometimes it's better / faster...

    great.
    I've read, sometimes it's better / faster to read a register of the device instead of using "dsb" - perhaps try " /*dummy = */ IMXRT_PIT_CHANNELS[i].TFLG;", too ?
    Would be interesting to...
  11. Replies
    926
    Views
    19,705

    Have you tried to add asm volatile ("dsb")) ?

    Have you tried to add asm volatile ("dsb")) ?
  12. Replies
    926
    Views
    19,705

    Kurt, the TCR has a bit RMSK: This might be...

    Kurt, the TCR has a bit RMSK:

    This might be better for DMA than my initial NOSTALL :)
    Setting the CONT bit has the effect, that the transfers do not start... hm... I'm missing something..
  13. Replies
    926
    Views
    19,705

    Kurt I could not follow the details the last two...

    Kurt I could not follow the details the last two days - where can I find your latest version of SPI?
  14. Replies
    926
    Views
    19,705

    Good Idea! There is the command register and...

    Good Idea! There is the command register and cont/contc bits.
  15. Replies
    926
    Views
    19,705

    Sorry, could'nt do much this weekend (have a...

    Sorry, could'nt do much this weekend (have a family member in hospital, again.. since friday - wasn't planned.)
    I have some code for SPI.
    It calculates PODF, so that the set SPI clock is near as...
  16. Replies
    926
    Views
    19,705

    This value has to be choosen carefully, I...

    This value has to be choosen carefully, I think...
    Please shout if I say something wrong: SD-Cards want initialization with 400Khz, and they accept 25MHz for datatransfer. 25.1Mhz are probably fine,...
  17. Replies
    926
    Views
    19,705

    I've posted a table...

    I've posted a table .. :)
    Edit: With excel sheet.
  18. Replies
    926
    Views
    19,705

    Yes i've seen the / 7 - it's simple to use the...

    Yes i've seen the / 7 - it's simple to use the CBCMR register-value instead. Then, the user has the _chance_ to change it.. without modifiying the SPI library.
    In addition a small function to change...
  19. Replies
    926
    Views
    19,705

    Yup. I'll create a pullrequest for a additional...

    Yup. I'll create a pullrequest for a additional function. I really hope Paul accepts it :) 3 would allow 58.7 Mhz.




    PLL2
    528000000
  20. Replies
    926
    Views
    19,705

    SPI: What was the reason to choose 7?...

    SPI: What was the reason to choose 7? (528000000/7) isn't 2 much better?
    I'd really really like to change this... would be better for everything. SD for example can't reach 25MHz now, because ther...
  21. Replies
    926
    Views
    19,705

    Attention, Windows only: In case someone wants...

    Attention, Windows only:

    In case someone wants to try GNU Arm Embedded Toolchain 8-2018-q4-major, I uploaded a working version here: ...
  22. Replies
    926
    Views
    19,705

    Next time we need a sub-forum for beta-testing......

    Next time we need a sub-forum for beta-testing... it's very hard to find something in this thread... :confused:
  23. Replies
    926
    Views
    19,705

    There was a Arduino SD benchmark... very old,...

    There was a Arduino SD benchmark... very old, many years.. I can't find it anymore. Who has a link for me?
  24. Replies
    926
    Views
    19,705

    Ok, I give it a try: ...

    Ok, I give it a try:

    https://github.com/PaulStoffregen/cores/compare/master...FrankBoesing:eventresponder?expand=1

    This adds disable() to EventResponder.
    It does two things:
    - adds if...
  25. Replies
    926
    Views
    19,705

    Could someone test SD.h, please? A confirmation...

    Could someone test SD.h, please? A confirmation would be great because then we have a known to work basis and can begin to optmize T4-part of the library.
    It's incredible slow, at the moment.

    ...
  26. Replies
    926
    Views
    19,705

    The uncool things are that it is in programs that...

    The uncool things are that it is in programs that don't use UARTs at all and that all interrupts get disabled for a short time. That's not near "bare metal" anymore, no way. It's going towards an OS...
  27. Replies
    926
    Views
    19,705

    I see what you say - the loop runs after the...

    I see what you say - the loop runs after the print. Maybe we can make a better testcase with the print inside the loop.
    It would be good if there was a way to increase the buffers at runtime, since...
  28. Replies
    926
    Views
    19,705

    Ideally the output will be like the input. If...

    Ideally the output will be like the input. If it's not, something is wrong.

    Nope, to the next port RX. - at least with my version. If something gets lost, we have a problem.

    Hav'nt looked at...
  29. mendez, please send me an email. two PIDs?

    mendez, please send me an email.

    two PIDs?
  30. Replies
    926
    Views
    19,705

    That was the intention - to check if it blocks...

    That was the intention - to check if it blocks correctly until there is space in the buffers.
    Or..is my assumtion wrong - have not looked at the sourcecodes - shouldn't it block?



    +1
  31. Replies
    926
    Views
    19,705

    First, basic T4 support for SD.h - without...

    First, basic T4 support for SD.h - without optimizations.

    To make it work with the Audioshield + adapter, just set chipselect to Pin 10 - other settings not needed.

    Please test. I've tried some...
  32. I'd use a flash chip. No error-prone connectors.

    I'd use a flash chip. No error-prone connectors.
  33. Replies
    7
    Views
    102

    The shield is not that expensive.. and gives you...

    The shield is not that expensive.. and gives you great quality sound.
  34. Replies
    19
    Views
    194

    You said you don't want that chip, so I assume...

    You said you don't want that chip, so I assume other chips are not wanted, too.
    Add a mechanical switch :) Or use a 2nd I2C bus. Or use the UART instead.
  35. Replies
    926
    Views
    19,705

    SD: Have cardinfo() working. Will create a...

    SD: Have cardinfo() working. Will create a pullrequest tomorrow. Too late now, and I want to clean it up first, when I'm more awake :)
  36. Replies
    926
    Views
    19,705

    servos can need a lot of power.. more than usb...

    servos can need a lot of power.. more than usb allows. be careful :)
  37. Replies
    19
    Views
    194

    I can't imagine any solution where the teensy has...

    I can't imagine any solution where the teensy has no power and no external changes are allowed..
  38. Replies
    926
    Views
    19,705

    Clock is on pin 14. Hm.. Does someone know if it...

    Clock is on pin 14. Hm.. Does someone know if it is possible to use pin14 for spi-clck? I have not looked at the pin-configurations so far.

    Edit: Err. wrong,the board does that :) all good with...
  39. Replies
    926
    Views
    19,705

    Tried SD-Library with audioshield: Does not work,...

    Tried SD-Library with audioshield: Does not work, or I'm doing something wrong.. I'll try to find the problem. Maybe SPI.

    Edit: Sd2Card.cpp needs some love and edits.
  40. How does it work with professional equipment? One...

    How does it work with professional equipment? One clock for all?
  41. Replies
    926
    Views
    19,705

    Yes, I thought that.. there is nothing to cache,...

    Yes, I thought that.. there is nothing to cache, DMAMEMORY is accessed one time. It will be the same for most, if not all DMA operations I think.
    Caching makes sense if that memory is used for other...
  42. Replies
    926
    Views
    19,705

    Kurt, buffer problem... If I use ...

    Kurt, buffer problem...
    If I use


    Serial1.print("012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789\n");
    ...
  43. Replies
    926
    Views
    19,705

    Kurt, SERIAL_7E1 and SERIAL_7O2 do not work.

    Kurt, SERIAL_7E1 and SERIAL_7O2 do not work.
  44. Replies
    926
    Views
    19,705

    So almost the same speed?

    So almost the same speed?
  45. Replies
    926
    Views
    19,705

    Kurt, great work ! My first test: //connect...

    Kurt, great work !
    My first test:


    //connect Serial1 TX -> Serial2 RX, Serial2 TX -> Serial3 RX, Serial3 TX -> Serial4 RX....


    #define SPD 5333333

    void setup() {
  46. Replies
    926
    Views
    19,705

    Hm, i've looked at the pinout-table (post #3)...

    Hm, i've looked at the pinout-table (post #3) now.. I think i've confused SPI3 and SPI1 - on which pins is SPI1 at the moment?
  47. Replies
    926
    Views
    19,705

    @manitou: try to switch off the cache for DMAMEM,...

    @manitou: try to switch off the cache for DMAMEM, or use Pauls cache functions.
    Easiest way to try it, is here:
    https://github.com/PaulStoffregen/cores/blob/master/teensy4/startup.c#L167
    remove...
  48. Replies
    926
    Views
    19,705

    That means no SPI-display on SPI1, too - so...

    That means no SPI-display on SPI1, too - so either display on SPI4 (or other SPI devices) or MQS ? oops..
    You might want to consider carefully what's more important, CAN-FD or SPI.. personally, I...
  49. Replies
    926
    Views
    19,705

    Paul, I received the board. A neighbor received...

    Paul, I received the board. A neighbor received it for me when I wasn't home. I can only say "wow" it's great. Do you make the plexiglas plates yourself?
    What are the solderpads for?
    I'll test the...
  50. Replies
    2
    Views
    91

    false and true are defined as #ifdef...

    false and true are defined as


    #ifdef __cplusplus
    typedef bool boolean;
    #else
    typedef uint8_t boolean;
    #define false 0
    #define true !false
    #endif
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4