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.

CC2564X 移植问题

Other Parts Discussed in Thread: CC2564MODNEM

我现在移植 CC2564X 到 STM32F401 上,但是初始化出了问题,我注释了关于控制台的部分导致单片机死机。

可否帮忙看看。

  • 参考了这个文档吗,Dual-Mode Bluetooth® Stack on STM32F4 MCUs

    http://www.ti.com.cn/cn/lit/ug/swru428/swru428.pdf

  • http://www.ti.com/tool/cc256xstbtbles

  • 谢谢你的回复,文档对我使用开发板会有帮助。

    我现在决定使用 CC2564MODNEM + 适配器 + STM32F4 Discovery 来做实验

  • 你好,谢谢你的答复,文档中定义了一些 HCI 相关的 io,我之前移植时就参考过。

    我们目前在做的项目使用你们的 CC2564X 系列芯片,使用 STM32F401 的MCU 。

    将你们的 CC2564X for STM32F407 移植过来,我主要修改了 HCITRANS。c 文件以及头文件。

    因为我们不需要使用控制台,所以我注释了一部分初始化程序:

    main函数 中 :// HAL_ConfigureHardware();。

    MainThread 函数中:    //BTPS_Initialization.MessageOutputCallback = HAL_ConsoleWrite;

    #if 0
    /* We need to execute Add a function to process the command line */
    /* to the BTPS Scheduler. */
    if(BTPS_AddFunctionToScheduler(ProcessCharacters, NULL, 200))
    {
    /* Add the idle function (which determines if LPM3 may be */
    /* entered) to the scheduler. */
    if(BTPS_AddFunctionToScheduler(IdleFunction, NULL, 0))
    {
    /* Loop forever and execute the scheduler. */
    while(1)
    {
    BTPS_ExecuteScheduler();
    }
    }
    }
    #endif

    两部分。

    现在我初始化后导致单片机死机。

    可以帮我看看是什么问题吗?