2018-12-03 07:02 AM
Hi. I want to connect a STM32L475RG board with an shield,
(S2868A1) which comunicated on SPI protocol. More that, i want to connect these 2 components with another Stm32L4 and S2868a1, via S2-LP mode.
Can somebody offer me a code or explain how i can migrate from F4/L1 to L4?
2018-12-04 05:26 AM
Hello,
You can start with X-CUBE-SUBG1 expansion software package to start developing using S2-LP and S2868A1 expansion boards.
There are these application notes available regarding the migration from STM32F4 and STM32L1 to STM32L4 that can help you on the migration.
Kind Regards,
Imen
2018-12-04 05:58 AM
Porting is one of those staples of embedded development.
Find a like-for-like type platform moving from one NUCLEO to another typically involves less pin changes. The F4 and L4 have some architectural differences.
Make a scratch or donor project on the target board, get USART, SWV an basic functionality working. Mod the code in a way that simplifies the reception of the original code.
Use a good merge tool. Pull in code a section at a time. The code doesn't have to execute, at some level you are trying to insure the project continues to build, and address syntax errors/changes in the API, or pin usage. How much you bring in at a time depends on how overwhelming the changes are.
I migrated the LoRa code to L4 and F7 platform via NUCLEO boards, I also went from NUCLEO-64 to NUCLEO-144 within the same families, this allowed changes in pin/USART usage to be understood, addressed and refactored within a platform that was still buildable. For the NUCLEO in a given platform it was then an easier port to DISCO or custom boards.
2019-01-29 08:52 AM
Hello,
Have you managed to connect your two STM32L4 ?
I have the same issue, your help would be very great !
2019-01-29 09:04 AM
Start a new thread stating what's exactly your problem.
JW