Skip to main content
Visitor II
November 9, 2006
Question

IAP Driver and SPI

  • November 9, 2006
  • 3 replies
  • 992 views
Posted on November 09, 2006 at 08:16

IAP Driver and SPI

    This topic has been closed for replies.

    3 replies

    heribertAuthor
    Visitor II
    November 6, 2006
    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

    heribertAuthor
    Visitor II
    November 7, 2006
    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

    heribertAuthor
    Visitor II
    November 9, 2006
    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