2014-05-21 07:20 AM
Hi,
I'm trying to use MikroElektronika RFID Click (with a CR95HF embeded) as RFID Reader with a STM32F407VG.The CR95HF is connected to the STM32F4 by SPI. The driver and Lib provide by ST are working with STM32F1. It doesn't work on STM32F4. I've tried to modify the driver and lib, by mainly reconfigure the GPIO. It still not working.The STM32F4 can't communicate with CR95HF. (No response to Echo request).The SPI GPIO are configured as follow :/* configure pins used by SPI1 * PA5 = SCK * PA6 = MISO * PA7 = MOSI */
GPIO_InitStruct
.
GPIO_Pin
=
GPIO_Pin_7
|
GPIO_Pin_6
|
GPIO_Pin_5
;
GPIO_InitStruct
.
GPIO_Mode
=
GPIO_Mode_AF
;
GPIO_InitStruct
.
GPIO_OType
=
GPIO_OType_PP
;
GPIO_InitStruct
.
GPIO_Speed
=
GPIO_Speed_50MHz
;
GPIO_InitStruct
.
GPIO_PuPd
=
GPIO_PuPd_NOPULL
;
GPIO_Init
(
GPIOA
,
&
GPIO_InitStruct
);
// connect SPI1 pins to SPI alternate function
GPIO_PinAFConfig
(
GPIOA
,
GPIO_PinSource5
,
GPIO_AF_SPI1
);
GPIO_PinAFConfig
(
GPIOA
,
GPIO_PinSource6
,
GPIO_AF_SPI1
);
GPIO_PinAFConfig
(
GPIOA
,
GPIO_PinSource7
,
GPIO_AF_SPI1
);
The NSS/CS Pin is Configured in Mode_Out; OType_PP; PuPd_UP.The Board schematic is described here :http://www.mikroe.com/downloads/get/2022/rfid_click_manual.pdfCan you please help me on that problem ?Does it exist a CR95HF driver for STM32F4 ? #cr95hf-stm32f4-stm32f4072014-05-22 12:56 AM
Sorry dear customer,
but the Low Power RF Solutions forum is exclusively dedicated to Bluetooth Low Energy and Spirit1 devices, thus here you cannot find the right support you deserve.Regards,
Low Power RF Solutions support team2014-05-22 05:24 AM
Hi,
What is the appropriate section for my problem please ?