Questions about the Software development guide

Sat, 2015-05-16 16:50 -- xf622

When I use the funtion RESERVE_IO(), there are many errors:
error:pasting formed '[GPIO_PORT_', an invalid preprocessing token [-winvalid-token-paste]
"hence, each peripheral module used by applicaton must be re-initialized in periph_setup() funtion."

where is the perph_setup() funtion?

SPI Communication & Protocols

Fri, 2015-05-15 18:13 -- marss

We are evaluating the DA14580 and have a few questions, regarding schematics and software development. In our own PCB design we have a Micro-Controller which likes to talk to the DA14580 over SPI (in the highest-level protocol available). Beside the crystal we do not like to use any other external components for the DA14580 (e.g. no external SPI flash, no JLink, ...).

how to ctrl PWM0 output to a PIN?

Fri, 2015-05-15 15:49 -- kurbylee

After i set a pin as PWM0 and inited time0 ,I can get stable output at the pin.
Then, I add some code to do sth in CALLBACK. Now,I can see stable wave at the
pin and enter CallBACK periodically.It seems that erverything is well.

But, if I set_tmr_enable(CLK_PER_REG_TMR_DISABLED) in CALLBACK,and reenable
(CLK_PER_REG_TMR_ENABLED)it, then the wave disappeared and the pin
always keep low.although I can enter CallBACK periodically. WHY?

Difficult to connect the BLE

Fri, 2015-05-15 05:05 -- hail_regan

We are using DA14580 to develop some project and are facing some difficulty. We want to test some official demos. When we use the Lightblue to debugg the BLE connection service using the DICE or Smart Tag demos, we sometimes get a connection error "Connection Alert, The peripherial disconnected while being interrogated.” What are the possible causes of this error? And what are the possible solutions? Thanks!

Cannot get examples to work on Basic Development Board

Thu, 2015-05-14 11:47 -- danielc008

For section 6 in UM_B_025 DA14580_581_Bluetooth_Smart_developement_kit-Basic V2.2, I am getting: .\Out\periph_setup.axf: error: L6031U: Could not open scatter description file .\Out\wakeup.sct: No such file or directory

For section 5, I am getting: src\../include/core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory

Any help would be appreciated. Thank you.

New Handler Function for New characteristic

Wed, 2015-05-13 11:46 -- Sam123

Hi Dialog,

I have one handler function for four characteristics which are used to turn on LEDs . Each characteristic should turn on only one LED . However, each characteristic can turn on all the 4 LEDs.
How do i rectify this?

How to add 4 different handler functions for the 4 different characteristics?


Subscribe to RSS - DA14580