how to set L9369's GIO0~8 port high by SPI Command?
- September 1, 2022
- 1 reply
- 1392 views
Hello. I'm Using L9369 for H-bridge control.
I'm trying to set GIO0~8 pin high(Button interface), but i can't
(Analog Output - SPI control)
i'm using SPI command, and i saw L9369's manual and i follow the instruction below steps to set GIOx pin as high.
- Set "SPI_GIOx_MuxCtrl" as "1111" , so i send command and get response.
0xB901FFF7 for register 114d -> 0x0e41ffe8
0xB981FFE2 for register 115d -> 0x0e61ffe8
0xBA81FFF3 for register 117d -> 0x0ea1ffe5
2.Set "SPI_off_GIOx" as "0", so i send command
0xC38000F5 for register 135d -> 0x -> 10e000ec
3.Set "SPI_GIOx_HSctrl" bit as "1", so i send command
0xBB81B0E0 for register 119d -> 0x0ee000d2
i check each GIOx's status via SPI comannd and get response
0x44000001 for register 136d -> 0x0x11000015
is there anything else i need to do? or check?
what should i do? please help me.
thank you.

