Search This Blog

Monday, August 19, 2019

RS485 RS232 and all Serial for GPIO

Have been working on projects with GPIO to unusual sensors. Intermediate idea:
Let any more GPIO peripherals be SPI for now?
 
I looked around for sensors prepackaged SPI sensors in the SD form factor.
ala Horwoitz and Hill Chapter 15  with no luck...
 
See Chapter 15 of latest Horowitz and Hill - Art of Electronics.
  https://artofelectronics.net/ 
 
 Look particularly at the tables/diagrams of SPI and I2C peripherals.
 Table 15.20 p1080 All IO
 Table 15.21 p1083 SPI
 Table 15.22 P1085 I2C
 
One could use the 6x1 pin header Digilent PMOD Standard for SPI.
There are many PMOD sensors available COTS.
 
Put in a secondary SPI header/socket on the existing SPI bus. Use the GPIO for CS.
The CS would also control power to the sensor in the socket.
One could not talk to sensor and SPI memory at exactly the same time. But maybe no big drawback?
 
One could also do TTL RS485 or RS232 to a UART to SPI bridge ala FT9xx. (or similar) on a bigger daughter board. Again a GPIO would be needed for CS and power ON/OFF for the target sensor on the bus. In fact one would power up and down the whole FT9xx as needed to conserve power.

1 comment:

  1. Halo,I'm Helena Julio from Ecuador,I want to talk good about Le_Meridian Funding Service on this topic.Le_Meridian Funding Service gives me financial support when all bank in my city turned down my request to grant me a loan of 500,000.00 USD, I tried all i could to get a loan from my banks here in Ecuador but they all turned me down because my credit was low but with god grace I came to know about Le_Meridian so I decided to give a try to apply for the loan. with God willing they grant me  loan of 500,000.00 USD the loan request that my banks here in Ecuador has turned me down for, it was really awesome doing business with them and my business is going well now. Here is Le_Meridian Funding Investment Email/WhatsApp Contact if you wish to apply loan from them.Email:lfdsloans@lemeridianfds.com / lfdsloans@outlook.comWhatsApp Contact:+1-989-394-3740.

    ReplyDelete