# A111 RADAR with SPARKX examples & newer SDK (SPX-14811)

**URL:** <https://community.sparkfun.com/t/a111-radar-with-sparkx-examples-newer-sdk-spx-14811/35890>\
**Category:** SPARK-X\
**Created:** [September 29, 2018, 5:09pm UTC](https://community.sparkfun.com/t/a111-radar-with-sparkx-examples-newer-sdk-spx-14811/35890 "2018-09-29T17:09:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![JAM513](https://avatars.discourse-cdn.com/v4/letter/j/d26b3c/32.png) [@JAM513](https://community.sparkfun.com/u/JAM513)\
**Post date:** [September 29, 2018, 5:09pm UTC](https://community.sparkfun.com/t/a111-radar-with-sparkx-examples-newer-sdk-spx-14811/35890/1 "2018-09-29T17:09:05Z")

</div>

I was trying to follow this tutorial:

[https://learn.sparkfun.com/tutorials/us … e-hardware](https://learn.sparkfun.com/tutorials/using-the-a111-pulsed-radar-sensor-with-a-raspberry-pi/setup-the-hardware)

but was unable to build the SparkX A111 examples. I think the sparkX files were made for an earlier version (1.3.5) and the newer version (1.3.9) might have changed enough that it breaks the build. I did not see a way to download the older SDK on the Acconeer website.

Is there an copy of the old SDK version somewhere or is there a patch to build the examples with the newer SDK?

-JAM

---

<div class="post-metadata">

**Author:** ![Jason\_Gong](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Jason\_Gong](https://community.sparkfun.com/u/Jason_Gong)\
**Post date:** [October 1, 2018, 8:14pm UTC](https://community.sparkfun.com/t/a111-radar-with-sparkx-examples-newer-sdk-spx-14811/35890/2 "2018-10-01T20:14:37Z")

</div>

Hi JAM513,

I met the same problem with SparkX A111. Did you find the old SDK?

Jason

---

<div class="post-metadata">

**Author:** ![kumaran](https://avatars.discourse-cdn.com/v4/letter/k/96bed5/32.png) [@kumaran](https://community.sparkfun.com/u/kumaran)\
**Post date:** [October 8, 2018, 3:44am UTC](https://community.sparkfun.com/t/a111-radar-with-sparkx-examples-newer-sdk-spx-14811/35890/3 "2018-10-08T03:44:34Z")

</div>

I made a fork with updates in all 6 files of Software/sparkx-sdk-addon/ folder to support v1.3.9:

[https://github.com/jkumaran/A111\_Pulsed\_Radar\_Breakout](https://github.com/jkumaran/A111_Pulsed_Radar_Breakout)

This fixed the problem and I was able to observe the radar results.

---

<div class="post-metadata">

**Author:** ![thuban](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/thuban/32/7862_2.png) [@thuban](https://community.sparkfun.com/u/thuban)\
**Post date:** [December 17, 2018, 5:52am UTC](https://community.sparkfun.com/t/a111-radar-with-sparkx-examples-newer-sdk-spx-14811/35890/4 "2018-12-17T05:52:55Z")

</div>

Looks like Acconeer put out another SDK version (1.4.0) that is incompatible with Sparkfun’s repo.

Anybody have the old SDK (1.3.9 or 1.3.11) OR an updated repo that will work with 1.4.0?

---

<div class="post-metadata">

**Author:** ![thuban](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/thuban/32/7862_2.png) [@thuban](https://community.sparkfun.com/u/thuban)\
**Post date:** [December 17, 2018, 4:14pm UTC](https://community.sparkfun.com/t/a111-radar-with-sparkx-examples-newer-sdk-spx-14811/35890/5 "2018-12-17T16:14:01Z")

</div>

Little more info:

Make spits out an error “make: \*\*\* No rule to make target ‘out/example\_service\_envelope.o’, needed by ‘out/sparkx\_envelope\_service\_example’. Stop.”

Running Raspbian 9.0 with make 4.1

---

<div class="post-metadata">

**Author:** ![thuban](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/thuban/32/7862_2.png) [@thuban](https://community.sparkfun.com/u/thuban)\
**Post date:** [December 17, 2018, 4:55pm UTC](https://community.sparkfun.com/t/a111-radar-with-sparkx-examples-newer-sdk-spx-14811/35890/6 "2018-12-17T16:55:05Z")

</div>

Never mind the make error, something was wrong with the rules import. The directories need changed in Sparkfun’s repo to “user\_rule” and “user\_source”. The files compile now, but I get a runtime error:

11:52:31.252 [8683] (W) (acc\_board\_rpi\_sparkx-3\_r1c): acc\_board\_gpio\_init: failed to set initial pull with status: Bad parameter

11:52:31.252 [8683] (E) (acc\_board\_rpi\_sparkx-3\_r1c): acc\_board\_gpio\_init failed with Bad parameter

11:52:31.252 [8683] (E) (rss): Integration: Could not execute acc\_board\_gpio\_init().

---

<div class="post-metadata">

**Author:** ![AndyCorteen](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@AndyCorteen](https://community.sparkfun.com/u/AndyCorteen)\
**Post date:** [March 2, 2019, 4:31pm UTC](https://community.sparkfun.com/t/a111-radar-with-sparkx-examples-newer-sdk-spx-14811/35890/7 "2019-03-02T16:31:13Z")

</div>

I’ve downloaded the 1.60 SDK from Acconeer, pulled the very latest SparkX fork (most recent update 17d ago), which include precompiled binaries.

The precompiled binaries work and the A111 is clearly working and ‘seeing’ objects at varying distances - an excellent start 🙂

Trying to compile the source throws 14 make errors, mostly ‘conflicting types’ or ‘previous declaration’ and thus fails. At first sight this suggests to me that Acconeer has ‘tidied up’ their code and some duplication has arisen. The Acconeer code compiles correctly without errors, but of course is not configured to the SparkX ports/pins so can’t communicate properly with the SparkX board.

I will try to read through the SparkX code and see if I can spot these inheritance/duplication errors, but I’m probably at the comfortable edge of my C knowledge.

---

<div class="post-metadata">

**Author:** ![ebp](https://avatars.discourse-cdn.com/v4/letter/e/f6c823/32.png) [@ebp](https://community.sparkfun.com/u/ebp)\
**Post date:** [March 27, 2019, 7:11am UTC](https://community.sparkfun.com/t/a111-radar-with-sparkx-examples-newer-sdk-spx-14811/35890/8 "2019-03-27T07:11:45Z")

</div>

Hi Guys,

Have any of you succeeded in getting the A111 working and successfully compiling code with SDK 1.6.0 or newer? If not would it be possible for one of you guys to send me an old version of the SDK?

Thanks in advance.

- Erik.
