Hi everyone,
I’m working on a custom board powered by the i.MX RT1064. The firmware is written in C and runs FreeRTOS with LwIP already integrated.
I’ve successfully tested the Wi-Fi HTTP server example from the MCUXpresso SDK using the MIMXRT1064-EVK and a IW612 module — It works.
Now I’d like to test BLE communication, but I haven’t found any sample code or a compatible BLE stack that works with the RT1064 and IW612 over UART/HCI.
Does anyone know if there’s an example or a lightweight BLE stack that can be integrated into a FreeRTOS project for BLE peripheral functionality?
Thanks in advance for any pointers!
已解决! 转到解答。
Please see the below AN for reference.
UM11441: Getting Started with NXP-based Wireless Modules on i.MX RT Platforms Running FreeRTOS[UM11441]
as well as this guide (section 5 Bluetooth Classic/Low Energy Applications).
Hi,
I just wanted to add that I was able to get the peripheral HT example working on the MIMXRT1064 by following the guides:
Migrate examples from RT1060EVK to RT1064
and UM11442.
I modified the peripheral HT sample from:
SDK_25_06_00_MIMXRT1060-EVKC\boards\evkcmimxrt1060\edgefast_bluetooth_examples\peripheral_ht\
But I had to use the file sduart_nw61x_v1.bin.se in nw61x_cpu12_se.c:
const uint8_t fw_cpu12[] = {
//#include <sduart_nw61x.bin.se.inc>
#include <sduart_nw61x_v1.bin.se.inc>
};
The binary file should be converted to hexadecimal strings with https://tomeko.net/online_tools/file_to_hex.php?lang=en
and add .inc extension.
I used the ublox EVK-MAYA-W271.
Enjoy!
Please see the below AN for reference.
UM11441: Getting Started with NXP-based Wireless Modules on i.MX RT Platforms Running FreeRTOS[UM11441]
as well as this guide (section 5 Bluetooth Classic/Low Energy Applications).