1
Discussion - Hardware / FT4222H BitWizard breakout and Python
« on: November 02, 2022, 10:15:26 AM »
I recently purchased a FT4222H breakout board from BitWizard.nl to evaluate the FT4222H IC. My intention is to use that IC in a design and control it using Python.
Configuration for FT4222H: DCNF0=DNCF1=0, VCCIO=3.3 V
Python library that I use to talk to the IC: https://msrelectronics.gitlab.io/python-ft4222/api.html
I hooked up a 'scope to the four SPI lines and put up a "hello, world" style of Python program that continuously sends a byte over SPI. Please find attached a snapshot from the 'scope's screen, as well as my Python code.
It turns out that the signal on the SS0O pin has the wrong polarity: it should be low when SCK is active and high elsewhere.
What should I do to get this right? Should I pull up that pin, or is there any software setting that has been overlooked? Please advise.
Configuration for FT4222H: DCNF0=DNCF1=0, VCCIO=3.3 V
Python library that I use to talk to the IC: https://msrelectronics.gitlab.io/python-ft4222/api.html
I hooked up a 'scope to the four SPI lines and put up a "hello, world" style of Python program that continuously sends a byte over SPI. Please find attached a snapshot from the 'scope's screen, as well as my Python code.
It turns out that the signal on the SS0O pin has the wrong polarity: it should be low when SCK is active and high elsewhere.
What should I do to get this right? Should I pull up that pin, or is there any software setting that has been overlooked? Please advise.