2022-08-31 08:34 PM
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.
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.
Solved! Go to Solution.
2022-09-04 10:11 PM - edited 2023-11-20 09:06 AM
Thank you for your question.
Output levels are programmed through SPI_GIOx_HSCtrl (reg 0x77) and SPI_off_GIOx (0x87) bit, the following table shows the behavior of the system according to the configuration bits:
Thanks.
2022-09-04 10:11 PM - edited 2023-11-20 09:06 AM
Thank you for your question.
Output levels are programmed through SPI_GIOx_HSCtrl (reg 0x77) and SPI_off_GIOx (0x87) bit, the following table shows the behavior of the system according to the configuration bits:
Thanks.
2022-09-22 05:40 AM
Hello @ldong.1 is the above reply useful to answer your questions?
2022-09-25 06:32 PM
Hello. Cristiana.
it was useful. i think datasheet was wrong. as i wrote in first post, answered reply has different contents.
thank you.