Hi,
I have a zigbee netork but one of the sensor that has an I2C interface only. The CC2530 has SPI only - is there a CC radio that I can use that has an I2C port?
Cheers
Calum
I found the CC2533 but it is limited to 96K of Flash. Looking at the release notes a typical stack size for a device with no security is 121K of flash - is there a table or some documentation that will show me what I can compile out and how much flash that will save me?
Calum,
The following post will give you some idea on how you can reduce the stack impact.
E2E: http://e2e.ti.com/support/low_power_rf/f/158/p/155601/563841.aspx#563841
You are correct this is the only ZigBee radio that has a I2C port.
Best regards,
Austin Miller
Digital Field Applications
If my reply answers your question please click on the green button "Verify Answer".
Thanks Austin,
Yeah I've been to the post and that's where I got the stack size - however I couldn't see any details on what could be removed to reduce the stack size. I'm limited to 96K of flash on the 2533 - For example if I need 20K for my application I need to know if I can even run Zigbee with 76K of flash(or at least what can I remove to get me there)
To reduce the stack size:
Igor compiling out MT tasks, NV options LCD support, etc'
compiling out MT tasks, NV options LCD support, etc'
Let me know if you still have questions.
Thanks,
I guess what would be really helpful would be a list of all the components that make up the 125Kbyte stack and the size of those components - is there such a thing? I assume since the 2533 is sold as a zigbee chip it can support the stack - I just need to have a rough idea of what's left for application code - is it 10K or closer to 64K?
You can look at the .map file to decide what modules and function calls that you do not need and see how much memory they are consuming.
Project->Options->Linker->List 'tab'->check the box that says 'Generate linker listing' (unchecked by default).
The program memory that will be left over will be determined by what can be removed without impacting the application.
I do not have a rough estimate for you as to how much application program memory would be made available by removing sections of code.
Let me know if you still have questions on this one.