I am trying to establish SPI communication between stm32f4 discovery board and AEK-LED-21DISM1 (L99LD21 high power led) . I am just able to read some data but not able to write any data to control register. Can anyone suggest me how to proceed?
..
..
Hi Sujanya,
It is definitely possible to use STM32 with L99LD21 (AEK-LED-21DISM1). My point was that the driver is ready for SPC5 while you have to write it for STM32.
At this point, if you are forced to use STM32, the easiest way is to start from the driver written for SPC5 available in source code in SPC5Studio and port it on STM32. Clearly, you will have to change all the low level calls to the MCU peripherals and properly allocate the microcontroller pins.
Porting should be faster the re-writing it from scratch.
I hope it helps.
Best Regards,
AutoDevKit Team
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.