cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
romain.barraud
Visitor
Visitor
462 Views
Registered: ‎05-15-2019

second SPI BUS (SPI1 PS or QSPI) can't be Initialized (Xil_assert)

hello everyone,

I encountered a strange problem with SPI1 (from PS) when I wanted implement a second SPI bus on a working project developed on a ZC702 board with Vivado 2018.3.

This project use already with succes SPI0 from PS. But when i add another SPI BUS (SP1 from PS7 or QSPI i have try the two possibility) the initialization of SPI1 or QSPI can't be done and stop at the level of XSpiPs_CfgInitialize() driver -> Xil_AssertNonvoid() -> Xil_assert().

So as i understand it look like a software mater but i don't know which one?

Some body as already encountered this problem?

Thanks

0 Kudos
1 Reply
romain.barraud
Visitor
Visitor
422 Views
Registered: ‎05-15-2019

i have solved the matter of the initialization.

It was a software mistake from me. In regards of how i declare the instance handler as global variable and i don't now why it didn't like it. But now i declare it in local and now it passe CfgInitialize function and i can configure it.

But it remains a probleme with SP1 (PS)...

Selftests failed when in try it. so now i making face to an hardware matter i guess... 

I have start a new project with only SPI0 and SPI1 from PS activate and SPi0 self test pass with success but not SPi1...

Somebody have an idea about what can i do for solve it?

0 Kudos