From: Jon m. <jo...@iz...> - 2014-04-17 21:43:21
|
I am trying to use an amp with my antenna. I am using a MC1322x so if set correct chip should handle the rest. I set up the TX_ON and RX_ON with following code /* sets up tx_on, should be a board specific item */ *GPIO_FUNC_SEL2 = (0x01 << ((44-16*2)*2)); gpio_pad_dir_set( 1ULL << 44 ); // rx on GPIO->FUNC_SEL.GPIO_45 = 2; gpio_pad_dir_set( 1ull << 45); GPIO->DATA_SET.GPIO_45 = 1; set_power(0x12); The way i do communication is using UDP. When trying to communicate like this i see no pull up on the TX_ON, which i should see every transmit. I can ping6 with same code on chip and while pinging i can see the TX_ON being pulled up for transmit. Also when i use tx_packet(p); which is in maca.c the TX_ON works properly. It seems to only be when i am using the UIP UDP to communicate that the TX_ON is not working properly. I did a debug and tried to find if at any point the UIP UDP uses the maca.c file and i do not believe it does. I found that the maca uses a struct called packet_t and the UDP doesn't seem to. Any help with this would be much appreciated. Thanks, Jon |