2007-08-20 04:34 AM
AD7924, BSPI, STR710 + Hitex Hitop (need help with code for BSPI0 or BSPI1)
2007-07-31 03:28 AM
hi
has anyone experience with hitop and the str710? i'm trying to get the bspi working with an AD7924 12-Bit AD-Converter, but I always get error messages using the software library. error messages are: directory or file not found, although i have linked them in the header files. any idea how i can do my project without buying new hardware? i tried to set a simple project with starteasy, but it is using different librarys, so when i replace them, i have the same errors again... ?!? [ This message was edited by: Konfi on 15-08-2007 15:16 ]2007-07-31 04:52 AM
here is the error for one of the multiple header files
arm-hitex-elf-gcc.exe -c -gdwarf-2 -MD -O1 -mapcs-frame -mcpu=arm7tdmi -w -mthumb-interwork -I.\source\ -I.\C:\startEasyforARM\BSPIself\ -I.\C:\startEasyforARM\BSPIself\source\ -I.\C:\startEasyforARM\BSPIself\include\ -o .\objects\adco ..\BSPIself\source\adcc ..\BSPIself\source\adcc:21:19: error: adch: No such file or directory ..\BSPIself\source\adcc: In function 'ADC12_Init': ..\BSPIself\source\adcc:34: error: 'ADC12' undeclared (first use in this function) ..\BSPIself\source\adcc:34: error: (Each undeclared identifier is reported only once ..\BSPIself\source\adcc:34: error: for each function it appears in.) ..\BSPIself\source\adcc: At top level: ..\BSPIself\source\adcc:44: error: parse error before 'Adc12_clk' ..\BSPIself\source\adcc: In function 'ADC12_PrescalerConfig': ..\BSPIself\source\adcc:47: error: 'ADC12' undeclared (first use in this function) ..\BSPIself\source\adcc:47: error: 'vu16' undeclared (first use in this function) ..\BSPIself\source\adcc:47: error: 'RCCU_PCLK' undeclared (first use in this function) ..\BSPIself\source\adcc:47: error: 'Adc12_clk' undeclared (first use in this function) ..\BSPIself\source\adcc: At top level: ..\BSPIself\source\adcc:58: error: parse error before 'NewState' ..\BSPIself\source\adcc: In function 'ADC12_ITConfig': ..\BSPIself\source\adcc:60: error: 'NewState' undeclared (first use in this function) ..\BSPIself\source\adcc:60: error: 'ENABLE' undeclared (first use in this function) ..\BSPIself\source\adcc:63: error: 'ADC12' undeclared (first use in this function) ..\BSPIself\source\adcc:68: error: 'ADC12_IT0_Mask' undeclared (first use in this function) ..\BSPIself\source\adcc:69: error: 'ADC12_IT1_Mask' undeclared (first use in this function) ..\BSPIself\source\adcc:70: error: 'ADC12_IT2_Mask' undeclared (first use in this function) ..\BSPIself\source\adcc:71: error: 'ADC12_IT3_Mask' undeclared (first use in this function) ..\BSPIself\source\adcc:77: error: 'ADC12_IT_Mask' undeclared (first use in this function) ________________ Attachments : linker.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtAM&d=%2Fa%2F0X0000000aJp%2FrcBDlhE7ZsLtW5bMSX1lsbVGIs7iPE57p0Ote27I7ds&asPdf=false2007-07-31 05:00 AM
The problems are because of the line ''..\BSPIself\source\adc12.c:21:19: error: adc12.h: No such file or directory''. You have to verify this file is in the right place, and added correctly in your project. Maybe the #define in the .c file is not written well, with <> instead of '''', some things like that occur sometimes.
What is the IDE you use ?2007-08-02 07:37 PM
2007-08-15 02:45 AM
does anyone have any ideas, what I can do to get my AD working?
2007-08-20 04:34 AM
does work now. *CLOSED*