cancel
Showing results for 
Search instead for 
Did you mean: 

IAP Driver and SPI

heribert
Associate II
Posted on November 09, 2006 at 08:16

IAP Driver and SPI

3 REPLIES 3
heribert
Associate II
Posted on November 06, 2006 at 10:36

Hello,

i inserted a a running code the IAP funtionality, (remapping ... based on the ST application). All works fine, except the SPI interface doesn't work anymore (works before). The BSPI1_CSR2 register is allways on state 0x00C4 (BERR = 1 and TUFL = 1)

The IRQ vector is initialised with

BSPI1IRQHandler

IRQ_to_SYS

ldr r0,=BSPI1_IRQHandler

ldr lr,=BSPI1_IRQHandler_end

bx r0

BSPI1_IRQHandler_end:

SYS_to_IRQ

in 71x_vect.s

Has had anyone the same problem? or any idea?

Thanks for help, Heribert

heribert
Associate II
Posted on November 07, 2006 at 07:27

Hello,

i want to rephrase my question:

Is it possible to controll or check if the BSPI ISR is remapped right after starting the main application? Perhaps to look a a register in debugging mode?

Thanks, Heribert

heribert
Associate II
Posted on November 09, 2006 at 08:16

Hello,

i insert the macro ''PERIPHERAL_INIT'' in the file 71x_init.s.

(It is on default a comment line)

Now work all the pheripheral systems ( in my case SPI) after a download of the main file.

Don't ask me about the reason!

Greeetings, Heribert