2018-05-03 08:14 AM
Hi, i am an embedded electronic engineer and lately i have a project named 'plug meter' based on an STM32 MCU and the STPM01 AFE, but i couldn't establish the SPI communication between AFE and MCU because there are no libraries to read and write through SPI, please help me!
Solved! Go to Solution.
2018-05-09 03:18 AM
No, in fact i am willing to design my own board, using a MCU from ST (STM32f030K6T) and an AFE module (STPM...).
I imagined this design:
There for, i need to establish the low level communication layer between MCU and AFE, but i couldn't find in your datasheet, some software libraries to facilitate the communication; (only hardware description of SPI :
Am i forced to create my own Hardware Abstraction Layer (HAL) for the AFE ??
There is other companies providing a regular SPI communication Interface (already compatible with any MCU).
So my question is:
Is there any
libraries to read and write through SPI ? if not how can i do it then (considering that i will but the STPM.. and MCU separably and design my board)?
Thank you
2018-05-08 09:04 PM
You design is something like this... ?
http://www.st.com/en/evaluation-tools/steval-rfplug01.html
I suggest to use STPM32/ STPM33 / STPM34
Look for Evaluation Tool Software at
2018-05-09 03:18 AM
No, in fact i am willing to design my own board, using a MCU from ST (STM32f030K6T) and an AFE module (STPM...).
I imagined this design:
There for, i need to establish the low level communication layer between MCU and AFE, but i couldn't find in your datasheet, some software libraries to facilitate the communication; (only hardware description of SPI :
Am i forced to create my own Hardware Abstraction Layer (HAL) for the AFE ??
There is other companies providing a regular SPI communication Interface (already compatible with any MCU).
So my question is:
Is there any
libraries to read and write through SPI ? if not how can i do it then (considering that i will but the STPM.. and MCU separably and design my board)?
Thank you
2018-05-11 11:17 PM
For new designs STPM32/33/34 recommended
Look for Evaluation Tool Software at
/external-link.jspa?url=http%3A%2F%2Fwww.st.com%2Fen%2Fdata-converters%2Fstpmhtml