2021-09-23 12:02 AM
Hi,
I try to use MLX90393 with my STM32-F4 DISC board on SPI2.
I can communicate with it, read and write non volatile memory, he responds to me.
The steps that I'm doing are:
After SM command I get 0x23 status, which means that:
After RM command I get 0x33 status:
Then I tried exiting and reseting, which helps with an error bit, but then after writing RM command i again get an error.
Basically, I always get an error after RM command.
Here is what i have in registers of non volatile memory:
What am I doing wrong? What is causing this error?
My baud rate od SP2 is 562.5 KBits/s so I assume that it's not the high speed.
Here is a picture of what I get.
Maybe it looks normal, but the error bit worries me and data doesn't change when I manipulate with magnet.
Thanks for your help :).
Solved! Go to Solution.
2021-09-24 05:46 AM
Hi @Maria Bąk ,
please note that the MLX90393 device is a Melexis (not ST) sensor, so I suggest you to refer to Melexis support.
If otherwise the issue is related to STM32 configuration, I added the related topics for getting more help.
-Eleon
2021-09-24 05:46 AM
Hi @Maria Bąk ,
please note that the MLX90393 device is a Melexis (not ST) sensor, so I suggest you to refer to Melexis support.
If otherwise the issue is related to STM32 configuration, I added the related topics for getting more help.
-Eleon
2021-10-06 05:38 AM
Hi @Maria Bąk ,
were you able to solve the issue?
-Eleon
2021-10-21 02:15 AM
Sorry, but I didn't have time to sit back to it again. When I solve this, I will post my solution :)