[riot-devel] Connecting STM32F4Discovery & AT86RF233

Adeel Mohammad Malik adeel.mohammad.malik at ericsson.com
Thu Aug 4 15:43:19 CEST 2016


Hi Thomas,

I am not sure if I completely understand what you say. I debugged the code to see what the "in" pointer gets. It gets a value 0xff which as I mentioned before does not match with AT86RF233_PARTNUM. I think the SPI communication doesn’t work as it should.

/Adeel

> -----Original Message-----
> From: devel [mailto:devel-bounces at riot-os.org] On Behalf Of Thomas
> Eichinger
> Sent: Thursday, August 04, 2016 3:17 PM
> To: RIOT OS kernel developers
> Subject: Re: [riot-devel] Connecting STM32F4Discovery & AT86RF233
> 
> Hi Adeel,
> 
> you could try to add a printf() in the `spi_transfer_byte` function in
> stm32f4/periph/spi.c for the `in` pointer and see if there are reasonable
> values shown
> - to make sure SPI communication is working.
> 
> Best, Thomas
> 
> On 3 Aug 2016, at 19:24 CEST(+0200), Adeel Mohammad Malik wrote:
> 
> > The part number is 0xff. It does not match with AT86RF233_PARTNUM
> > (0x0b) defined here
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel


More information about the devel mailing list