How to change LEAD value on QSPI Master?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
kv193
Level 1
Level 1
5 sign-ins First solution authored First reply posted
Hello.
I success learn and transfer to my board example from github "SPI_DMA_1_KIT_TC397_TFT".
Now I need change (adjust) timing parameters as LEAD, LPRE and SCLK polarity.
If I write in user space init code
qspi->BACON.U = value; 

I got TRAP error in debugger and not change value in register.
I try use function IfxQspi_SpiMaster_writeBasicConfiguration(&Qspi.spiMaster, value);
with the same result.
What is my mistake? Is there example for this case?
0 Likes
1 Solution
kv193
Level 1
Level 1
5 sign-ins First solution authored First reply posted
I solved the task himself. Through spiMasterChannelConfig.base.mode.csLeadDelay.

View solution in original post

0 Likes
1 Reply
kv193
Level 1
Level 1
5 sign-ins First solution authored First reply posted
I solved the task himself. Through spiMasterChannelConfig.base.mode.csLeadDelay.
0 Likes