This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Replies: 9
Views: 1551
Hi
I have to interface ADS1224 with RM48l90pge
I think to do this with spi2 pins which are sclk and somi pins for communication and cs0 and cs1 for mux controlling (behaves as IO pins)
to recive th data I use 3 data formats
FMT0 as a 16 bits width recived data
FMT1 as 9 bits data for complete cycle
and FMT2 of 2 bits for enable the callibration cycle
I have two problems
1.how can I use the ISR
the ISR is configured for RXINT for ISR enable and spigetdata function for reading data in ISR mode
but when I use the function there is no RXINT ISR
2.There is a way to recive an ISR on somi pin when the falling edge from the ADS happened which tell me that there is new data ?
Or I have to use on of GIOA pins to recive the ISR ?
Yehonatan
Yehonatn,
Apparently you are posting similar question on multiple thread.This is a little bit confusing.
MIBSPI supports interrupts and DMA requests.Like I've replied in another of your post, all the details about using interrupt on MIBSPI are available in the following document:
TMS570LS2x Users Guide. spnu489c.pdf (chapter 14.6 Interrupts)
Please have a look and let me know if you have any question.
Best Regards,
Jean-Marc
Best regards,Jean-MarcApplication Engineer
If my reply answers your question please click on the green button "Verify Answer".
In reply to Jean-Marc Mifsud:
In reply to Yehonatn Spiegel:
Here I post what I have done
I want to use spi2 as simple SPI without buffer or string transfer and recive an ISR when RX cycle is done
so What I did wrong ?
And how can implimment this ISR for MIBSPI also
(I want to do evrey thing with HALCOGEN because lack of time )
The fastest way will be if
maybe you will send me a demo for both cases (mibspi and spi) with ISR
Any one have an answer yet ?