2025-09-03 11:18 PM - last edited on 2025-09-04 1:11 AM by Peter BENSCH
Greetings
I have weird situation with AEK-COM-ISOSPI1 and cannot figure out what is wrong. Maybe someone here is experienced with this device and can help me out.
I have absolute encoder with SPI. When i connect directly to uC all is working fine. Then i tried to use AEK-COM-ISOSPI1 and have next problem:
I can readout the encoder data just with command read, so i generate just clock to start readout from encoder. This works fine, because on encoder side i get correct data 0x9F45.
These data are transferred back to uC but here i get messy data from AEK-COM-ISOSPI1. I get data 0x5F61. When i look the SPI signals with logic analyzer i can see that MISO is not sync with CLK cycle. And encoder is always on the same position.
Can anyone help me and tell what im doing wrong here.
My configuration is.
Encoder side:
NSLAVE=1
TxAMP=1
TXEN=1
ISOfreq=1
BNE=1
DIS=0
SPICLKFREQ=22kohm (8MHz)
Microcontroller side:
NSLAVE=0
TxAMP=1
TXEN=1
ISOfreq=1
BNE=/
DIS=0
SPICLKFREQ=/
Best regards
Frank
Solved! Go to Solution.
2025-09-08 5:11 AM
> My application is based on low voltage motor 30VDC BLDC up to 10A.
I would be careful in that environment.
I suppose you know Faraday's induction law ...