zigbit slave to Xmega-A3BU Xplained bd.

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

HI,

I want to connect my zigbit A2 module via SPI to my Xmega-A3BU Xplained eval. bd. The Zigbit schematic shows the SPI CLK, MOSI, MISO lines for the RF230 but not the SEL pin at the Zigbit connector.

The Xmega will do the MCU job but I didn't want to assign the Atmega1281 to do anything. The reason is I need the ISR on the Xmega and that's not available on the Atmega series. The Xplained has more memory, as well.

Overall, I'm just trying to run BitCloud or the new LWStack on the Xplained eval. bd. Maybe there's another way to setup this. I also have Ravens to play with.

Any suggestions are welcome.
Thanks in advance.

Asking a better question, is the beginning of learning.
**********************
New Hardware Hackers SIG in San Diego, CA Meets 2nd. Tuesday, more info www.Spincraft.com
***********************

Last Edited: Fri. Oct 16, 2015 - 02:17 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

SPI CLK, MOSI, MISO on ZigBit are for diagnostic reasons. You probably can write transparent bridge on ZigBit, that will pass everything on to the radio, but I'm not sure if it will work.

LwMesh does not take a lot of memory, may be just run it on ZigBit?

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

"You probably can write transparent bridge on ZigBit, that will pass everything on to the radio, but I'm not sure if it will work."
Thanks for your reply, Alex!

My application is a 1-axis motor controller with RPM sensor and PID loop controlling a H-bridge for a brush DC motor. The motor runs up to 10,000 RPM so the RPM sensor is sending 40KHz (4 motor poles) to the ADC at top speed.
Would this be too much for the Zigbit 1281 to handle plus the LWStack?

I have another approach. Can I connect the jackdaw via USB to the Xplain board? This gives me the radio but not the SPI interface I want to test.
What do you think of this?

Thanks in advance.

Asking a better question, is the beginning of learning.
**********************
New Hardware Hackers SIG in San Diego, CA Meets 2nd. Tuesday, more info www.Spincraft.com
***********************

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Depends on what do you want to do with the data. 40kHz is not that bad on its own.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.