2021-07-27 10:43 PM
Solved! Go to Solution.
2021-07-29 12:23 PM
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
2021-07-29 10:53 AM
Hi,
We follow SPC5 microcontroller therefore we do not have the source code for STM32.
I can suggest to check the two following key points:
Being L99LD21 an automotive-grade and automotive compliant product, writing the driver is not too trivial...
Would you not consider to use a small micro like SPC582B for your project? In this way, you can just allocate the AutoDevKit component for the AEK-MCU-C1MLIT1 demoboard. At this point you get the driver ready and can focus only on your application development.
I hope it helps.
Best Regards,
AutoDevKit Team
2021-07-29 12:00 PM
2021-07-29 12:23 PM
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
2021-07-30 12:12 AM