How to read Simulink signals from HVP-MC3PH with FreeMASTER ?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to read Simulink signals from HVP-MC3PH with FreeMASTER ?

ソリューションへジャンプ
1,387件の閲覧回数
lethuer
Contributor V

Hi,

i want to read some signals from a Simulink model with FreeMASTER.

For example the voltage U_dcb which should be connected to ADCA_CH1.

What exactly I have to configure to read the value with FreeMASTER ?

Configuration FreeMASTER.PNG

In the model configuration at the tab FreeMASTER Config tab the Option Enable FreeMASTER has been activated.

If I start FreeMASTER and connect the board via the galvanic isolated USB to Serial (J4) I'm not able to detect the board like it is shown in this Video: https://www.nxp.com/video/:S32K144EVB-OOBE

タグ(2)
0 件の賞賛
返信
1 解決策
1,145件の閲覧回数
lethuer
Contributor V

Hi dumitru-daniel.popa‌,

of course you are right !

The Controller communicates via PTD6 and PTD7

UART.png

So I have to set the FreeMASTER Config like it is shown below:

FreeMASTER Konfiguration.PNG

After that you have to load the correct MAP file in FreeMASTER, hich is generated by building the model. It is recommended to choose the .elf file and not the .map

Also you have to choose the same Baud Rate in FreeMASTER and Simulink.

FreeMASTER Projektoptionen.png

元の投稿で解決策を見る

2 返答(返信)
1,145件の閲覧回数
Daniel_Popa
NXP Employee
NXP Employee

Hi lethuer‌,

The FreeMASTER config from Simulink looks ok. That's about all you have to do in SW.

Of course, that SW setup must match the HW. 

I see the board user manual that multiple HW choices are available. Have you configured the Jumpers to sent UART signals from PTE1 and PTE0 to J4 ?

Thank you!

Daniel

0 件の賞賛
返信
1,146件の閲覧回数
lethuer
Contributor V

Hi dumitru-daniel.popa‌,

of course you are right !

The Controller communicates via PTD6 and PTD7

UART.png

So I have to set the FreeMASTER Config like it is shown below:

FreeMASTER Konfiguration.PNG

After that you have to load the correct MAP file in FreeMASTER, hich is generated by building the model. It is recommended to choose the .elf file and not the .map

Also you have to choose the same Baud Rate in FreeMASTER and Simulink.

FreeMASTER Projektoptionen.png