AnsweredAssumed Answered

SPI2 Initialization

Question asked by ANANDSM on Dec 4, 2014
Latest reply on Dec 22, 2014 by CraigG

Hi All,

I am using ADZS-BF538F-EZLITE board and CCES for the software development.

I am trying to Initialise the SPI2 of BF538F, but I am encountering the following error during run the code

A fatal error or exception has occurred.

  Description:   A data CPLB miss has occurred without a corresponding CPLB entry.

  General Type: RunTimeError

  Specific Type: DCPLBMissWithoutReplacement

  General Code:  0x8

Specific Code: 0x320

  Error Value: 0x5a5a5a5a

  Error PC:      0xffa0811e

This error I am getting when I am using the attached code for SPI2.

But if I use the SPI1, there is no issue.

Could you please help me how to resolve this issue of cache memory.

  1. Also as I was trying to communicate with slave device, I am feeling that SPI1 is not working (on conn P1) as I have included the code from example (system.svcàOverviewàSPI DriveràSPI Non-Blocking example)

If I monitor the register, SPE Bit is 0 in SPIx_CTL register.

Could you please help me in resolving these issues

Looking forward to hear from you soon.


Regards

Anand M

Attachments

Outcomes