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

Search:

Type: Posts; User: MO_YA_NE

Search: Search took 0.00 seconds.

  1. Replies
    15
    Views
    1,803

    Hi,Mike. I was confused at first, but Teensy4's...

    Hi,Mike.
    I was confused at first, but Teensy4's HW serial uses registers with different numbers.
    See HardwareSerialX.h in the teensy4 folder.(X=1~8)
    (C:\Program Files...
  2. Replies
    15
    Views
    1,803

    O.K. I understand how it works little by little....

    O.K.
    I understand how it works little by little.
    I got rid of the extra code.
    This works enough.



    /*
    Receive 8 bytes from serial8 and transfer to RAM with DMA
    */
  3. Replies
    15
    Views
    1,803

    Do you suggest code like this? The FIFO buffer...

    Do you suggest code like this?
    The FIFO buffer capacity was set to 1 byte. This works fine.



    /*
    Receive 8 bytes from serial 8 and transfer to RAM with DMA
    Use a 4-byte FIFO buffer...
  4. Replies
    15
    Views
    1,803

    This is because the serial receive FIFO buffer is...

    This is because the serial receive FIFO buffer is 4 bytes.
    DMA trigger when the 4-byte FIFO buffer is full.

    I think that is the most efficient ...
  5. Replies
    15
    Views
    1,803

    I have succeeded in increasing the serial of...

    I have succeeded in increasing the serial of Teensy 4.1 to 20Mbps.

    https://forum.pjrc.com/threads/67150-Teensy4-1-MAX-baud-rate?p=278787#post278787

    The other devices are PIC32MZ and RX72T.
  6. Replies
    15
    Views
    1,803

    Thank you for your help KurtE-san. In order to...

    Thank you for your help KurtE-san.
    In order to communicate with other microcomputers, I need to send 8 bytes and then receive 8 bytes.
    These communications need to use very little CPU resources....
  7. Replies
    15
    Views
    1,803

    DMA in Teensy 4.1 is hopelessly difficult. I...

    DMA in Teensy 4.1 is hopelessly difficult.
    I wander around the labyrinth but I was able to escape from it temporarily.
    I succeeded in receiving 8 bytes from the serial.



    /*
    Receive 8...
  8. Replies
    15
    Views
    1,803

    Teensy4.1 Serial RX to DMA problem

    I'm trying to transfer the data received by UART to RAM by DMA, but it fails.

    When I execute the code below and enter 4 characters from the terminal software, an unintended result is output.


    ...
  9. Replies
    27
    Views
    5,614

    I extended the harness length to 2.5m and...

    I extended the harness length to 2.5m and experimented again.
    I sent and received 20Mbps by 5000byte.

    The result was all 5000 bytes OK.
    It was carried out about 10 times, and the same result was...
  10. Replies
    27
    Views
    5,614

    I tried a program that connects teensy 4.1 and...

    I tried a program that connects teensy 4.1 and PIC32MZ and echo back.
    Teensy 4.1 sends characters at 20Mbps and PIC32MZ just adds 1 and returns.
    It looks working fine.


    void setup() {
    ...
  11. Replies
    27
    Views
    5,614

    I have not tried to send and receive actual data...

    I have not tried to send and receive actual data yet.
    I just saw the output waveform of TX1.
    I'm going to connect Teensy 4.1 with Renesas RX72T and Microchip PIC32MZ with RS485 and try the actual...
  12. Replies
    27
    Views
    5,614

    Thank you Mr. KurtE ! It was exactly what you...

    Thank you Mr. KurtE ! It was exactly what you said!
    I am very grateful for your advice.
    I succeeded in raising the baud rate to 20Mbps.

    I just rewrote the UART_CLK_SEL bit in the CCM_CSCDR1...
  13. Replies
    27
    Views
    5,614

    Thanks for your reply Kurt-san. I hope I can...

    Thanks for your reply Kurt-san.
    I hope I can get a higher baud rate with the method you suggested.

    I'm still not familiar with the clock division of the IMXRT1060.
    I'll try your ideas as I...
  14. Replies
    27
    Views
    5,614

    Teensy4.1 MAX baud rate

    Hi!
    I have been teensydiuno for the third day.
    I want to communicate with other MPUs at high speed using RS485 communication.
    I set the teensy 4.1 hardware serial to 6Mbps, but higher values...
Results 1 to 14 of 14