• 0
vc26

PMOD SF3 and CMOD A7 Interrupt Handling

Question

Hi all,

I have an interrupt that is generated by a custom ip and when it is triggered, I read a register from the custom ip and read from the pmod sf3 to write those values back to the custom ip. However the interrupt gets stuck and won't return to the main code when I have the pmod sf3 code in there, but it does when I just read a value from the custom ip and print it. I have attached the c code that I have written. Any ideas why this is happening?

Thanks!

c_code.txt

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

Hi @vc26,

We haven't had a chance to look fully into your SF3 drivers, but you need to be calling SF3_begin once toward the beginning of main to properly initialize the device.

cheers,

Jon

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now