05-03-2018 10:51 AM - edited 05-03-2018 10:53 AM
Hello Members,
I have an SPI master device which sends data to slave device. In response to Master data , slave device sends 6 byte of data and this process go repeatedly. I was trying to use NI 8452 but this can only be used as SPI master. Therefore i am trying to use NI 9401 and cDAQ chassis NI 9178.
My connection are as follows;
1. Master Clock into PF0 (in cDAQ NI 9178 Chassis)
2. Master; MOSI into NI 9401 Input Number 0.
3. Master MISO into NI 9401 Input Number 7 .
The read data from Master SPI device is working fine but writing data from SPI Slave to Master is not working.
Thanks
Regards
Muhammad
05-04-2018 05:43 PM
Hi MuhammadShazor,
Are you receiving an error when you run your code, or is it not behaving as expected? What is the behavior you are observing? In addition, could you attach your code?
05-07-2018 07:02 AM
Hello Brain,
Thanks for your response. As per now, I am not getting any error and I can visualize my data is being sent to the device but I am not getting any digital pulses at master device .
Regards
Muhammad Shazor
05-07-2018 06:53 PM
It looks like you may have already created a service request with us at NI for this issue, and it will probably be easier to troubleshoot through that process. A couple of thoughts:
05-08-2018 07:11 AM
Thanks for your reply . I have checked the DIO module using as Digital Outputs. It is working fine . I have also checked the MISO line using probe but i did not get any data.
Do you have any idea or thoughts on this issue.
05-08-2018 06:13 PM
What data have you tried writing in your array out?
05-09-2018 07:09 AM