Have the sample of 33771C SDK based on SPC5775E?

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

Have the sample of 33771C SDK based on SPC5775E?

Jump to solution
800 Views
joophliu
Contributor III

Hi Supporter:

      Have the sample of 33771C SDK based on SPC5775E, similar to the sample of attachment S32K144?

        We transplanted the S32K44(ARM) MC33771C driver to SPC5775E(PowerPC), not the same SDK, SPC5775E SPI module have an TX additional DMA channel rather than S32K144, How to set this?

       ddd.png

        Debug to the following code, use oscilloscope test, found that SPI does not send data, please help to see the reason ? thank you~~!

         

bcc_status_t BCC_WriteRegisterGlobalTpl(bcc_drv_config_t* const drvConfig,

        uint8_t regAddr, uint16_t regVal)

{

    uint8_t txBuf[BCC_MSG_SIZE]; /* Buffer for sending data via TPL. */

    bcc_status_t error;

 

    /* Check input parameters. */

    if (regAddr > BCC_MAX_REG_ADDR)

    {

        return BCC_STATUS_PARAM_RANGE;

    }

 

    /* Create frame for writing. */

    BCC_PackFrame(regVal, regAddr, BCC_CID_UNASSIG, BCC_CMD_GLOB_WRITE, txBuf);

 

    error = BCC_TransferTpl_Sync(drvConfig->drvInstance, txBuf,drvConfig->drvData.rxBuf, BCC_MSG_SIZE, BCC_MSG_SIZE);

 

    return error;

}

Tags (1)
0 Kudos
1 Solution
708 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

as far as I know there is no SDK based example for MPC57775E and 33771C.

The additional TX DMA channel is used for SPI extended mode, this is not implemented on MPC57775E SPI module, so does not have a meaning here.

BR, Petr

View solution in original post

0 Kudos
1 Reply
709 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

as far as I know there is no SDK based example for MPC57775E and 33771C.

The additional TX DMA channel is used for SPI extended mode, this is not implemented on MPC57775E SPI module, so does not have a meaning here.

BR, Petr

0 Kudos