This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3220SF: CC3220 with W25q16jv Building library errors

Part Number: CC3220SF

Hello folks,

Im working on CC3220SF with Serial flash W25q16jv ,Im using https://github.com/nimaltd/w25qxx library but I got following error

Description Resource Path Location Type
#1965 cannot open source file "cmsis_os.h" w25qxx.c /spimaster_CC3220SF_LAUNCHXL_freertos_ccs line 25 C/C++ Problem

Description Resource Path Location Type
#20 identifier "SPI_HandleTypeDef" is undefined w25qxx.c /spimaster_CC3220SF_LAUNCHXL_freertos_ccs line 22 C/C++ Problem

Description Resource Path Location Type
gmake: *** [w25qxx.obj] Error 1 spimaster_CC3220SF_LAUNCHXL_freertos_ccs C/C++ Problem

I dont  know why I got this errors Please help to solve this issue ,

  • Hi,

    That library is designed for STM32 MCU including using HAL for ST MCUs. From this reason you cannot use this library at CC3220 as is. You will need to port all hardware dependences from STM32 (HAL) to CC3220 (ti drivers). This will be up to you.

    Jan

  • Thanks for reply Jan D ,Im using SPI master example from resource explorer  & add w25qxx  .c,.h in example & also add header file it also minimizes error.but gives error only with  CMSIS & SPI handler I dont know how to find solution for this OR I need to use any other library please Reply.

    Thanks

  • Hi,

    Without changing STM32 HAL to TI drivers this source code cannot work.

    I think the straight forward approach it to write your own implementation according datasheet for SPI flash. That library for STM32 you can use as base of you own code.

    Jan