SPIFI affects UART?

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

SPIFI affects UART?

530 Views
tlenek
Contributor I

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.

Labels (1)
0 Kudos
1 Reply

379 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Tomasz,

Could you share your project so we can reproduce the issue on our side?

Thanks in advance!

Best Regards,

Carlos Mendoza

Technical Support Engineer

0 Kudos