i am getting wrong data when i used Burst Read Function.
Because of that PRODUCT ID READ data also corrupted , without Burst Read Function it's good.
please help about it.
I am using SPI CLK 8MHZ.
MCU -> STM32H743
Tech X innovations INDIA
Thank you for the response, but I fear that we have had some misunderstanding. The PROD_ID is not part of the Burst Read response. It is a separate register, which you can read, using a normal request. Can you please refer to this portion of the datasheet, as this provides a more efficient and controlled manner, by which you can troubleshoot your SPI interface. The Burst Read is more complex and many variables are not fixed, so it can be difficult to determine when it is working properly.
Please note that you can click on the image for a sharper view. I hope that this helps!
Thank your reply.
yes i know that PRODUCT ID register is different but i am reading both, burst read data and product id register. if I read only product ID , it always read ok. but reading both one by one, all data corrupted.
can u tell me please what is problem..
now i set the spi clock to 4MHz, but some times clock count error is coming in SYS_E_FLAG.
OK, tagging my colleague, who is probably better suited to help you dig deeper into this, but I suspect that you will want to:
1. Read PROD_ID in a repeating loop. The objective is to make sure that you can read this register, without error, at least 10000 times. If you have even one error, it would be wise to use a scope to inspect all attributes of influence (bit coding/sequence, clock polarity/phase, timing and signal integrity, such as noise, stub pulses, etc).
2. Once you have done that, make sure that you are triggering your read off of second edge of the data ready pulse
3. Use a scope to study the signals and share them in responses to this thread. That will help pkern guide your next steps.
Hope that helps!