[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself

Search:


View post   

>> No.1671489 [View]
File: 7 KB, 264x191, im3ages.jpg [View same] [iqdb] [saucenao] [google]
1671489

>>1671477

Initialize your SPI per that device's pdf: CPOL = 0, CPHA = 1.

Then send bytes per their protocol on pages 12+ in https://ams.com/documents/20143/36005/AS5047P_DS000324_2-00.pdf

If you don't already have pic related, they are wonderful for sorting out SPI and I2C and other communication issues. Use Pulseview from Sigrok and it's amazing. The knockoffs are about $10 on amazon.

Navigation
View posts[+24][+48][+96]