- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any example code on working with the MPU in the CYW43907? The datasheet documentation mentions 8 different MPU regions.
I have found a weird scenario where string literals used to generate JSON messages became corrupt after many hours of running without error. I am not sure if they are being overwritten in SRAM or what. With normal MCU's constants could not be written to directly but when executing from SRAM with the CYW43907, everything is accessible. The device built correct JSON strings after a power cycle.
Observed behavior
"deviceType": "Sensor", "ype": "555555", "status": "Ok"
Expected behavior
"deviceType": "Sensor", "deviceID": "555555", "status": "Ok",
cJSON_AddItemToObject(deviceStatus, "deviceType", cJSON_CreateString("Sensor"));
cJSON_AddItemToObject(deviceStatus, "deviceId", cJSON_CreateString(getID_Str(generalStringBuffer)));
cJSON_AddItemToObject(deviceStatus, "statusCode", cJSON_CreateString(get_StatusStr()));