1
Discussion - EVE / Re: FT812 Quad SPI interface
« on: March 17, 2021, 02:56:01 PM »
Hi,
Thanks for your reply, With help from your comments I’ve found the problem and sorted it out.
It was about the extra dummy byte, which i thought I had implemented but in reality not.
Not having the same microcontroller as in your example code I had to rewrite the low level routines. Therefor copying a part of the ”Gpu_Hal_SetSPI” function. Looking deeper into that example code it seems it has double faults that normally takes each other out. (Mixing up bus width and number of dummy bytes) But when I took half of it (the dummy byte part) got a single fault.
Best Regards,
Goran
Thanks for your reply, With help from your comments I’ve found the problem and sorted it out.
It was about the extra dummy byte, which i thought I had implemented but in reality not.
Not having the same microcontroller as in your example code I had to rewrite the low level routines. Therefor copying a part of the ”Gpu_Hal_SetSPI” function. Looking deeper into that example code it seems it has double faults that normally takes each other out. (Mixing up bus width and number of dummy bytes) But when I took half of it (the dummy byte part) got a single fault.
Best Regards,
Goran