Other Parts Discussed in Thread: CC2530, CC2530EM, CC2520, Z-STACK, SIMPLICITI
Hi,
I am trying to program an external CC2530 microcontroller through the SmartRF05 EB. I have created a custom board and have it connected to the ExtSoC Debug on the EB. It is correctly recognized by the SmartRF05 board. (It says CC2530 on the LCD screen when I power it up) In addition, when I use SmartRF Studio 7, it says that I am correctly sending and receiving packets between this board and another EM connected to a SmartRF05 board. So I think my custom board is working properly. However, when I try to do a simple program of setting output pins high or low, nothing happens on my connected chip.
I am running the following code. This is just a simple test, I am not using ZStack or anything like that. I can step through the code using IAR, and it says the port 0 goes low on the last line, but when I test with a multimeter all of the pins are high except for P0_1 . Are there any settings that I am supposed to change to get the SmartRF05 board to program an external chip? Any headers that I should be removing, they are all in their default positions. In addition the RS232 is enabled and the EM selection set to SoC/TRX.
void main()
{
P0SEL &= 0;
P0DIR |= 0xFF;
P0 = 0;
}
Thank you for any help.