MIMXRT1170-EVKB LPUART out

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MIMXRT1170-EVKB LPUART out

921 Views
PeterHimmerich
Contributor I

I have a MIMXRT1170-EVKB board, using MCUXpresso-IDE 
Really simple hello world program writing to the internal Serial port (via micro USB) and one of the LPUART interfaced exposed on the arduino headers. 
It seems though that there is no signal going to the header. I have it set up via the pin tool and tried multiple cases. 
its successfully writing to LPUART1 but nothing on LPUART12. 

0 Kudos
Reply
1 Reply

857 Views
Habib_MS
NXP Employee
NXP Employee

Hello @PeterHimmerich,
I noticed in your configuration that you're currently using GPIO_LPSR_10 and GPIO_LPSR_11 as LPUART12 TXD and RXD. where these pins are also connected to LPSPI6_SCK and LPSPI6_SDO on the RT1170-EVKB, as shown in the image below:

Habib_MS_0-1757353731620.png

These SPI signals are routed through jumpers to the J26 connector pins.

J26 pins.jpg
Is this the routing you intend to use?

Alternatively, you could use GPIO_LPSR_06 and GPIO_LPSR_07 for LPUART12. These pins are also routed to the Arduino header on J9, specifically to pins 2 and 4. The only difference is that you would need to populate R1888 and R1889, as they are not populated by default. This is illustrated in the following image:

lpuart J9.jpg

BR
Habib

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2163096%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMIMXRT1170-EVKB%20LPUART%20out%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2163096%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20have%20a%20MIMXRT1170-EVKB%20board%2C%20using%20MCUXpresso-IDE%26nbsp%3B%3CBR%20%2F%3EReally%20simple%20hello%20world%20program%20writing%20to%20the%20internal%20Serial%20port%20(via%20micro%20USB)%20and%20one%20of%20the%20LPUART%20interfaced%20exposed%20on%20the%20arduino%20headers.%26nbsp%3B%3CBR%20%2F%3EIt%20seems%20though%20that%20there%20is%20no%20signal%20going%20to%20the%20header.%20I%20have%20it%20set%20up%20via%20the%20pin%20tool%20and%20tried%20multiple%20cases.%26nbsp%3B%3CBR%20%2F%3Eits%20successfully%20writing%20to%20LPUART1%20but%20nothing%20on%20LPUART12.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2165367%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MIMXRT1170-EVKB%20LPUART%20out%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2165367%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F254416%22%20target%3D%22_blank%22%3E%40PeterHimmerich%3C%2FA%3E%2C%3CBR%20%2F%3E%3CSPAN%3EI%20noticed%20in%20your%20configuration%20that%20you're%20currently%20using%20GPIO_LPSR_10%20and%20GPIO_LPSR_11%20as%20LPUART12%20TXD%20and%20RXD.%20where%20these%20pins%20are%20also%20connected%20to%20LPSPI6_SCK%20and%20LPSPI6_SDO%20on%20the%20RT1170-EVKB%2C%20as%20shown%20in%20the%20image%20below%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Habib_MS_0-1757353731620.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Habib_MS_0-1757353731620.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F355957i13F6A946438E03AC%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Habib_MS_0-1757353731620.png%22%20alt%3D%22Habib_MS_0-1757353731620.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThese%20SPI%20signals%20are%20routed%20through%20jumpers%20to%20the%20J26%20connector%20pins.%3CBR%20%2F%3E%E2%80%83%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22font-family%3A%20Poppins%2C%20sans-serif%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22J26%20pins.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22J26%20pins.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F355958i79B92F65A9099197%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22J26%20pins.jpg%22%20alt%3D%22J26%20pins.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CBR%20%2F%3EIs%20this%20the%20routing%20you%20intend%20to%20use%3F%3CBR%20%2F%3E%3CBR%20%2F%3EAlternatively%2C%20you%20could%20use%20GPIO_LPSR_06%20and%20GPIO_LPSR_07%20for%20LPUART12.%20These%20pins%20are%20also%20routed%20to%20the%20Arduino%20header%20on%20J9%2C%20specifically%20to%20pins%202%20and%204.%20The%20only%20difference%20is%20that%20you%20would%20need%20to%20populate%20R1888%20and%20R1889%2C%20as%20they%20are%20not%20populated%20by%20default.%20This%20is%20illustrated%20in%20the%20following%20image%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22lpuart%20J9.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22lpuart%20J9.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F355959i0BC5433E15640761%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22lpuart%20J9.jpg%22%20alt%3D%22lpuart%20J9.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EBR%3CBR%20%2F%3EHabib%3C%2FP%3E%3C%2FLINGO-BODY%3E