Other Parts Discussed in Thread: ENERGIA, MSP-EXP430F5529LP, PGA460
I downloaded " PGA460 Energia Library and Code Example (Version 1.0.9) (Rev. I)" and I tried to compile the code but it gives error. I have not changed anything in this code. I copied the codes in Energia, pasted them below.
Energia: 1.8.11E23 (Windows 10), Kart:"MSP-EXP430F5529LP"
C:\Users\Laçin Tuncer\Downloads\energia-1.8.10E23-windows\energia-1.8.10E23\hardware\energia\msp430\cores\msp430\atof.c: In function 'atof':
C:\Users\Laçin Tuncer\Downloads\energia-1.8.10E23-windows\energia-1.8.10E23\hardware\energia\msp430\cores\msp430\atof.c:71:9: warning: floating constant exceeds range of 'double' [-Woverflow]
sketch\PGA460_USSC.cpp.o: In function `pga460::initBoostXLPGA460(unsigned char, unsigned long, unsigned char)':
PGA460_USSC.cpp:(.text._ZN6pga46017initBoostXLPGA460Ehmh+0x248): undefined reference to `spi_initialize_pga460()'
PGA460_USSC.cpp:(.text._ZN6pga46017initBoostXLPGA460Ehmh+0x24e): undefined reference to `spi_set_bitorder_pga460(unsigned char)'
PGA460_USSC.cpp:(.text._ZN6pga46017initBoostXLPGA460Ehmh+0x254): undefined reference to `spi_set_datamode_pga460(unsigned char)'
PGA460_USSC.cpp:(.text._ZN6pga46017initBoostXLPGA460Ehmh+0x25a): undefined reference to `spi_set_divisor_pga460(unsigned int)'
sketch\PGA460_USSC.cpp.o: In function `pga460::spiTransfer(unsigned char*, unsigned char)':
PGA460_USSC.cpp:(.text._ZN6pga46011spiTransferEPhh+0x2c): undefined reference to `spi_send_pga460(unsigned char)'
sketch\PGA460_USSC.cpp.o: In function `pga460::spiMosiIdle(unsigned char)':
PGA460_USSC.cpp:(.text._ZN6pga46011spiMosiIdleEh+0x24): undefined reference to `spi_send_pga460(unsigned char)'
collect2: ld returned 1 exit status
exit status 1
MSP-EXP430F5529LP kartı için derleme hatası.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Why couldn't I compile the code? With this code I just want to test the PGA460EVM module. Please help me. If it is possible, could you simplify the code according to a communication protocol only (preferably SPI)?