MPC5744DEVKIT UART1 by MBD

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MPC5744DEVKIT UART1 by MBD

跳至解决方案
1,641 次查看
ykarata1
Contributor IV

Dear All,

I am trying to use UART1 on DEVKIT by Matlab Simulink. I have used UART0 and get data over that. But I need to communicate over UART1.

 

What I have done is:

 

1. I have converted UART Config to UART1 and its pins are PTD12 and PTD9.

ykarata1_0-1617104742763.png

ykarata1_1-1617104776911.png

 

I have connected my TX and RX cables on J3-02 and J3-04.

 

But I can not observe any data on RX. MCU should have transmitted "Hello World". 

 

What I have done wrong? How can I correct?

 

Thanks.

 

ykarata1_2-1617104866443.png

 

 

标记 (1)
0 项奖励
1 解答
1,626 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

schematic is available on https://www.nxp.com/webapp/Download?colCode=SCH-29333-E
You should see output signal if you will measure right pin.

BR, Petr

在原帖中查看解决方案

0 项奖励
6 回复数
428 次查看
Kavin_raj_mbd
Contributor II

Hi,

  While Importing .xml in S32K design Studio 3.5, i am not able to open the project. Can anyone help me on this?


 

Thanks,

Kavin_raj_mbd_0-1701543595967.png

 

0 项奖励
1,609 次查看
ykarata1
Contributor IV

Dear @PetrS ,

 

I could not handle that. 

Can you help me understand my problem.

 

1. I am using sample model that NXP has given as sample that sends "Hello World". I have observed it works with UART0.

2. I have changed UART0 -> UART1 and have selected PTD12 and PTD9 for RX and TX pins. 

3. Then I embedded the code.

4. I connected J175 so that; 1 and 5; 2 and 6 are shorted.

5. I put oscilloscope at the end of J3-4 (UART TX) and GND. 

6. I could not observe data bits on the screen.

Why this is happening? What I am doing wrong?

ykarata1_1-1617361343332.png

ykarata1_2-1617361391487.png

ykarata1_3-1617362199063.pngykarata1_4-1617362261145.png

 

 

 

 

0 项奖励
1,584 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

if there are jumpers on J175 then remove default connection (2-4,1-3) and place it to 4-6, 3-5 position.

BR, Petr

0 项奖励
1,634 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

what is the board revision you have. For example on rev.E J3-02 and J3-04 are not connected to PD12 and PD9 by default, can be done via jumpers on J175 header. Refer to board's schematic.

BR, Petr

1,632 次查看
ykarata1
Contributor IV

Dear @PetrS ,

We are using rev E board. As far as your statement, I understand that what I am doing is right. When I switch J175 Jumper it will work. Am I right?

 

Also where can we find that kind of information without opening a ticket?

 

Thansk.

 

0 项奖励
1,627 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

schematic is available on https://www.nxp.com/webapp/Download?colCode=SCH-29333-E
You should see output signal if you will measure right pin.

BR, Petr

0 项奖励