Hi !
i am using a program based on the lpspi_polling_btb_transfer_master SDK example to communicate a flash device and is working ok.
the issue is the frequency
its unstable and maximum reaching 920KHz
we need to reach 12.5 MHz like on this transaction which microchip device :
in addition we would like to cancel the gap between every byte like in the photo above, make the clock continuous.
any help will be blessed
thank you!
Hello
I hope you are well.
Which clock have you configured as root clock for LPSPI? It is important to ensure it is at least double the frequency from the desired baudrate.
Are you configuring the baudrate with the SDK function? Is it possible to debug that part of LPSPI_Master_SetBaudRate() so you can point me the value of the variable realBaudrate?
How are the pins configured?
Best regards,
Omar