more uart ports
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-06 12:02 PM
Hi,
My stm32 board has four uart ports. Each of them is connected to rs 485 transmitter (tx only).
I'm looking for any ideas how to extend my project to have more than four uart ports - up to 10.
My first idea was to connect from my main stm32 board to many smaller stm32 boards over spi (one small board = one rs485) but I'm afraid of synchronization - i need to send all data to rs485 at the same time.
Do you have any other ideas?
I will be grateful for any ideas.
#synchronize #uart #rs485- Labels:
-
UART-USART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-06 12:47 PM
Aren't there STM32 parts with 6 or more UART's?
A bunch of Quad-UART chips on an FSMC bus? Ones with some real FIFO depth.
Maxim has some SPI Quad-UART.
Not sure I'd use SPI, probably have a bunch of slave STM32 with multiple USART, with a higher bandwidth SLIP or CMUX serial link for a backbone.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-06 12:51 PM
- Co-processors on a CAN bus.
- Switch to a powerPC chip with an eTPU and have 32 half uarts in microcode.
- External UARTS but some of the SPI ones are a bitch to work with.
- Bit bang a whole bunch of ports, or kill youself, it would be less painful.
- Some old style quad uarts on something like the FMC bus with a bunch of chip selects and glue.
- An FPGA with a bunch of half uarts, bus interface, and glue.
Just throwing things out there.
Andrei
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-06 2:08 PM
Thanks for all replies.
Any ideas how to send different data through all uarts on the same time using CAN-bus/
SPI Quad-UART.?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-06 4:03 PM
>>External UARTS but some of the SPI ones are a ***** to work with.
Frequently the IC designers feeling about what is a good idea doesn't comport with everyone else's. It could be a customer design that the vendor gets to sell too.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-06 4:17 PM
What do you mean by 'same'? Same time would indicate that you would be using a set of synchronous UARTs, all sharing a common external clock.
If you mean really close to the same, then that is completely different. Async but simultaneous is easy to do using interrupts or DMA. If you're polling, and you send out messages in a round-robin schedule, you're dead.
Andrei
