Hi Adeel,
please see my answers inline. I hope this helps, let us know if there is
further
open questions.
Best, Thomas
On 20 Jul 2016, at 13:46 CEST(+0200), Adeel Mohammad Malik wrote:
Hi all,
I am struggling a bit to understand how to connect my STM32F4Discovery
board with my AT86RF233 ZigBit Xplained Pro Extension board
(http://www.atmel.com/tools/ATZB-X-233-XPRO.aspx). I have a few
questions that I list as follows:-
* When connecting the SPI interface, is it enough to connect
SCK, MISO and MOSI? Or should I also connect SS?
What you refer to as SS (Slave Select) is called CS (Chip Select) in
RIOT. So yes, you have to connect this pin too to actually activate the
slave's SPI interface.
* I see that the file
https://github.com/RIOT-OS/RIOT/blob/master/drivers/at86rf2xx/include/at86rf2xx_params.h
has some PIN configuration parameters. What is AT86RF2XX_PARAM_CS?
Looking at the manual for my AT86RF233 board
(http://www.atmel.com/Images/Atmel-Wireless-ATZB-X-233-XPRO_design_documentation.PDF),
on page 3 I see the RESET (AT86RF2XX_PARAM_RESET), SLP_TR
(AT86RF2XX_PARAM_SLEEP) and the IRQ (AT86RF2XX_PARAM_INT) pins. I do
not seem to find the corresponding pin for AT86RF2XX_PARAM_CS. Any
clues?
See above.
* Should I include anything besides USEMODULE += at86rf2xx to
be able to use the transceiver?
In your particular case you will want to include `USEMODULE +=
at86rf233`.
_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel