Real Time Clock and RS232 buffer
Posted: Mon Jan 18, 2016 2:02 pm
Hi All,
I connected my RedPitaya UART RX and TX ( TTL ) lines to an external processor ( STM32 ) for communications between the 2 boards. For some reason I have not yet been able to work out why, the RP board got damaged , the RX and TX lines stopped working even through the connections were both 3V3. The RP still works but gets very hot, Unfortunately I had to throw that RP away, I got a couple of new RP units.
I decided to make a buffer board for the TX and RX on the RP to protect the signals, I also added some protection for the I/O lines and RS232 for the USART.
My application requires accurate Date and Time so I added an ISL 12022 RTC chip.
The RP communicate with the RTC via i2c interface. ( Note: My application works off line so I cannot use NTP server for time. )
I wrote some code to set/get the Date and Time from the RTC.
The same program can set the LINUX system date and time.
The board seems to work very well and RTC is accurate. Since using the board I have not damaged my new RedPitaya.
See attached picture of the board.
Any comments ??
Cheers
Farren
I connected my RedPitaya UART RX and TX ( TTL ) lines to an external processor ( STM32 ) for communications between the 2 boards. For some reason I have not yet been able to work out why, the RP board got damaged , the RX and TX lines stopped working even through the connections were both 3V3. The RP still works but gets very hot, Unfortunately I had to throw that RP away, I got a couple of new RP units.
I decided to make a buffer board for the TX and RX on the RP to protect the signals, I also added some protection for the I/O lines and RS232 for the USART.
My application requires accurate Date and Time so I added an ISL 12022 RTC chip.
The RP communicate with the RTC via i2c interface. ( Note: My application works off line so I cannot use NTP server for time. )
I wrote some code to set/get the Date and Time from the RTC.
The same program can set the LINUX system date and time.
The board seems to work very well and RTC is accurate. Since using the board I have not damaged my new RedPitaya.
See attached picture of the board.
Any comments ??
Cheers
Farren