UM11310 ( MC33771C) Simulink TPL Connection

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

UM11310 ( MC33771C) Simulink TPL Connection

3,104 次查看
MuhammedAhmet
Contributor II

Hi .

I have device RD33771CNTREVM (UM11310) . I'm working from simulink for this device. Since there is no MC33771C support in Simulink tools, I applied the special code adding method.

https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/How-to-use-your-own-C-code-in-our-Toolbox-...

I want to establish a TPL connection.

I tried many times but still couldn't communicate with MC33771C.

I made the LSPI settings according to here. :

https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Battery-measurements-with-Simulink-on-UM11...

I don't think these settings are suitable for me. (bcc peripheries.h)

Where am I doing wrong. How should the settings be?

0 项奖励
回复
4 回复数

2,548 次查看
Narudol-T
Contributor III

Hi MuhammedAhmet & mariuslucianand

I just want to know if you guy succeed this customer c code ?

Because I am also facing the same problem, not able to initialize the RD33771CNTREVM.

If possible to share some Simulink example for this customization ?

Best Regards,

Narudol T.

0 项奖励
回复

2,975 次查看
MuhammedAhmet
Contributor II

Hello @mariuslucianand 

 I added the drivers here to the project.

https://www.nxp.com/design/analog-expert-software-and-tools/sdk-analog-expert-drivers/embedded-sw-ba...   

Although it is defined, I get a warning like this (undefined.png)

My device RD33771CNTREVM . Is there a sample project with this device? ( for Simulink)

Best regards.

Muhammet 

 

0 项奖励
回复

2,714 次查看
sonik82
Contributor III

@MuhammedAhmet 

Hello.

Did you succeed with AFE communication on RD33771CNTREVM board?

0 项奖励
回复

2,992 次查看
mariuslucianand
NXP Employee
NXP Employee

Hello @MuhammedAhmet 

At first sight, it looks that you are on the right track. You have enabled two SPI instances and yes, you have to modify the bcc_peripheries for the driver to call the instances/ chip selects you use for the board.

More than that, the article How-to-use-your-own-C-code... is handling the MC3377xB which has a different driver and different settings than the ones for the MC3377xC. So you need to use also the driver from here: EMBEDDED-SW-MC33771C 

What setup are you using? the one from the UM11310?

Regards,

Marius