06-10-2012 01:50 AM
Hi, everyone. I have on question about using SPI VI. In my project, we use PID controller. And using arduino board to set point. So, we hope to control UNO output voltage through Labview. Originally, we use PWM and through controlling time cycle to control output voltage. But the PWM is only 8-bit, which doesn't meet our requirement on accuracy. Someone from arduino forum suggest that I could use MCP 4822 12 bit DAC. And this chip oculd be controlled by SPI protocol. So. I am planning to use SPI VI. I am confused by the Send Recieve VI. There are three parameter, SPI data, Chip select DPIn, world size. I am not sure how to use that. Could anyoen explain that to me Thank you!
06-10-2012 04:14 PM
Do a google on...
arduino MCP 4822
Get the code working with oly the Arduio first, then You will need to integrate this code with the LVIFA library.
Dale