DA14580

ISR for gpio never excuted

Wed, 2015-05-06 17:28--kurbylee

void ext_wakeup_enable(uint32_t port, uint32_t pin, uint8_t polarity)
{
rwip_env.ext_wakeup_enable = 2;
#if DEVELOPMENT_DEBUG
RESERVE_GPIO( EXT_WAKEUP_GPIO, (GPIO_PORT) port, (GPIO_PIN) pin, PID_GPIO );
#endif
if ( polarity == 0 ) // active low
GPIO_ConfigurePin((GPIO_PORT) port, (GPIO_PIN) pin, INPUT_PULLUP, PID_GPIO, false ); // active low. Set default to input high.
else // active high
GPIO_ConfigurePin( (GPIO_PORT) port, (GPIO_PIN) pin, INPUT_PULLDOWN, PID_GPIO, false ); // active high. Set default to input low.

Debug proximity example

Wed, 2015-05-06 15:46--xixixihaha

Dear Sir/Madam,
I tried to run prox_reporter on the basic kit compatible board.
I used Keil's debug menu to run the code. To my surprise, the monitor can't find it. Looks like the advertisement is stopped.
I burned the code into the flash of the board. After the reset, the monitor can scan and connect to the prox_reporter without any issue.

Why does the JLink debug has the different behaviour compare to execution from flash?

Thanks!
Regards,
Simon

bd_addr not detected

Mon, 2015-05-04 21:55--skafka

I am brand new here. I have the Keil environment up and running. The peripheral test runs fine. When I run the windows Proximity Monitor it waits for the reporter (ext mode). When I run the reporter the montitor changes state but does not detect any device. I can hit "S" for rescan and it appears to do something but still no device detection. The instructions and the code seem to indicate that the Keil debugger needs to be detached?

Any hint would be appreciated.

DA14580 Serial binary File Transfer

Mon, 2015-05-04 11:04--Andrew

Hi, Dialog.

I'll Send to File over DA14580.

System is..
ARM Board (Linux) <-UART-> DA14580 <-BLE-> Phone(APP)

I used DSPS Sample. it is very good for sending text message.
I just write UART Data to file.
But, When I send Image File(binary), the file is will broken.

I Want Serial File Transfer.
How to Send & Receive Binary File ?

Thanks.
Suchang.

Pages

Subscribe to RSS - DA14580