2019-08-20 11:12 PM
Hello
I was studying the errata sheet for my uC (STM32F427ZI) and found this entry:
Corrupted last bit of data and/or CRC, received in Master mode with delayed SCK feedback
For the possible workarounds a table with the maximum allowable APB frequency is listed.
But my problem is, that on my SPI channel I have 70pF load. So now I don't know how to setup my SPI channel to avoid the corrupted last bit.
Does anybody have some informaton about this?
Kind regards
Mathias
2019-08-21 12:18 AM
Well, it's more-less an RC constant of the output transistor's full-open resistance and the load capacitance, which delays the SCK, so with OSPEEDR set on SCK to high you should restrain the respective APB to 90MHz/(70pF/30pF).
Or change the hardware design.
JW
2019-08-21 01:41 AM
Thank your for your reply.
So you're saying, if I run the APB below 90MHz (which I do with 84Mhz) and set the OSPEEDR set on SCK to high I should be fine?
I would like to hear that with a clear statement from ST!?!
2019-08-21 04:00 AM
No. Actually I said that you should run APB below 90MHz/(70pF/30pF) = 38.6MHz.
> I would like to hear that with a clear statement from ST!!?!
Then contact ST directly. This is mostly a user-driven forum.
JW
2019-08-21 04:09 AM
Oh sorry, somhow I missed the calculation :see_no_evil_monkey:
Thank you very much for your help.
I will ask ST directly about this problem.