SPI to I2C/RS232 (FT232H)

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
mrbandit_stg
 
Posts: 11
Joined: Mon Oct 04, 2021 5:03 pm

SPI to I2C/RS232 (FT232H)

Post by mrbandit_stg »

I am using an Arduino. I have SPI on it (or can bit-bang it). I need to convert the SPI to I2C and RS232.
I was looking at the FT232H chip (and breakout board). The datasheet is a bit confusing. I do not have USB in the final project to use USB, just for programming.
Does anyone know if the TT232H will do this? If not, can you suggest a chip that can?
Thanks!

User avatar
dastels
 
Posts: 15656
Joined: Tue Oct 20, 2015 3:22 pm

Re: SPI to I2C/RS232 (FT232H)

Post by dastels »

1) Which Arduino?
2) Any board with SPI likely also has I2C and serial (i.e. Rx/Tx). Why do you need/want to convert from SPI?
3) From a quick scan of the datasheet (https://ftdichip.com/wp-content/uploads ... FT232H.pdf) it looks like all the modes are "USB to <whatever>:".

Dave

User avatar
mrbandit_stg
 
Posts: 11
Joined: Mon Oct 04, 2021 5:03 pm

Re: SPI to I2C/RS232 (FT232H)

Post by mrbandit_stg »

I'm using an ESP32-PICO-KIT.
Does not look like it has SPI and I2C.
I can bit-bang the SPI - done it before.
My "cheat" is to use a pro-mini. They are only $10 (less on Amazon).
The ESP32-PICO-KIT has three UARTS. I can use one to talk to the pro-mini.

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”