cancel
Showing results for 
Search instead for 
Did you mean: 

BlueNRG-M2SA: DIO0 & DIO1 output problem

reinoso
Associate

Hi,

I'm trying to configure DIO1 and DIO0 as outputs in my custom board, but I can't get them to work. I'm using this basic code to test:

SysCtrl_PeripheralClockCmd(CLOCK_PERIPH_GPIO, ENABLE);
GPIO_InitOutputPinx(GPIO_Pin_6);
GPIO_SetBits(GPIO_Pin_6);  // Sets DIO6 high correctly

However

SysCtrl_PeripheralClockCmd(CLOCK_PERIPH_GPIO, ENABLE);
GPIO_InitOutputPinx(GPIO_Pin_1);
GPIO_SetBits(GPIO_Pin_1);  // Does nothing

Same thing happens with GPIO_Pin_0, but just with 0 & 1 (module pins 15 & 18). No high load that could tie to ground or draw a lot of current on these pins.

Could you please help?

Thanks.

 

0 REPLIES 0