AnsweredAssumed Answered

SPIFI affects UART?

Question asked by Tomasz Lenek on Jul 18, 2016
Latest reply on Jul 25, 2016 by Carlos_Mendoza

I have a little problem, which I identified as SPIFI affection on UART. In one part of my code I initialize the SPIFI interface using spifilib. In spifiPrvDevGetID function (which is a part of a function stack) there are instructions that read and write data directly from SPIFI controller adresses. Further in my code I send information through UART. But it causes Bus Fault while debugging. Removing instructions from spifiPrvDevGetID function solves the problem, but these commands are necessary to initialize SPIFI correctly. What could cause such kind of problems? Do you know any solution to that problem?

 

My MCU is LPC4330.

Outcomes