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.
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. :
I don't think these settings are suitable for me. (bcc peripheries.h)
Where am I doing wrong. How should the settings be?
I added the drivers here to the project.
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)
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?