I am currently using the FPGA to run an ADS8638 and mc33972 by switching between the CS. The problem I have noticed is that when I run the init for both the work perfectly however after initializing an GPIO interrupt on my board the mc33972 SPI stops working and just halts when performing an XSpi_transfer(). However, it still is working for the ADS8638. Both ADS8638 and mc33972 are using the same SPI IP with same address and id, i.e., it is shared between each other. But, XSpi_transfer from ADS8638 works without any problem but not for mc33972 after running this function in interrupt init:
XGpio_InterruptEnable(InstancePtr, 0xF);
Any idea why?
Also, I am running rtos if it might be something that could be the problem.
Question
hdx
Hello,
I am currently using the FPGA to run an ADS8638 and mc33972 by switching between the CS. The problem I have noticed is that when I run the init for both the work perfectly however after initializing an GPIO interrupt on my board the mc33972 SPI stops working and just halts when performing an XSpi_transfer(). However, it still is working for the ADS8638. Both ADS8638 and mc33972 are using the same SPI IP with same address and id, i.e., it is shared between each other. But, XSpi_transfer from ADS8638 works without any problem but not for mc33972 after running this function in interrupt init:
XGpio_InterruptEnable(InstancePtr, 0xF);
Any idea why?
Also, I am running rtos if it might be something that could be the problem.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.