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
    914

    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
    914

    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
    914

    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
    914

    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
    914

    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
    914

    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
    914

    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
    914

    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.


    ...
Results 1 to 8 of 8