Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

bridging I2C over UART

$
0
0

I've hit a roadblock in the project I'm working on with the CC2541 chip.  My 30 day license for IAR workbench has run out, but my code is too large for the code-limited license.  I don't want to shell out $800 for a 3 month license to wrap it up, nor do I want to hand over a project to someone with the stipulation that they have to purchase an expensive license just to modify the firmware (which is part of the project).

 

The main task the CC2541 is doing is interacting with 5 different sensors over i2c.  The rest of the code is devoted to managing sleep states and the UART layer.  To get past the IAR limitation, I'm contemplating writing some simple firmware for the CC2541 that would act as a UART to I2C bridge.  This would let me use another mcu (like an MSP430) to do the heavy lifting, and just send read/write requests to the CC2541 over the UART.

 

Has anyone attempted something like this before?  I'm wondering what sort of headaches I'm going to run into


Viewing all articles
Browse latest Browse all 2077

Trending Articles