I recently purchased one of the LabVIEW Home Computing Kits with the Beagle Bone Black along with a PmodDA2 (I2C interface) and a PmodDA1 (SPI interface) from Digilent. My goal is to make low cost, LabVIEW based controller for an EV that I have built. I was able to get the BLINK VI to work without any issue once I realized what Debian Image would work with LINX. (As mentioned on this forum 8.6 is the latest). I am currently running 8.4 on my BBB but I cannot seem to get the LINX I2C interface to work. The code required for the PmodDA1 appears straight forward compared to other, more complex I2C Pmods. I have attached a screen shot of the LINX I2C Write error I keep getting. I get a similar error if I try to perform a read. I know that channel 2 is the only I2C channel available on the BBB according to a LINX pinout for the BBB I found on the LabVIEW MakerHub site, so the only issue I can think of is that I am just not sending the 17 bit slave address (0101000b) correctly. Any assistance would be greatly appreciated.
Question
TCA2
Hi,
I recently purchased one of the LabVIEW Home Computing Kits with the Beagle Bone Black along with a PmodDA2 (I2C interface) and a PmodDA1 (SPI interface) from Digilent. My goal is to make low cost, LabVIEW based controller for an EV that I have built. I was able to get the BLINK VI to work without any issue once I realized what Debian Image would work with LINX. (As mentioned on this forum 8.6 is the latest). I am currently running 8.4 on my BBB but I cannot seem to get the LINX I2C interface to work. The code required for the PmodDA1 appears straight forward compared to other, more complex I2C Pmods. I have attached a screen shot of the LINX I2C Write error I keep getting. I get a similar error if I try to perform a read. I know that channel 2 is the only I2C channel available on the BBB according to a LINX pinout for the BBB I found on the LabVIEW MakerHub site, so the only issue I can think of is that I am just not sending the 17 bit slave address (0101000b) correctly. Any assistance would be greatly appreciated.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.