Author Topic: FlexIO equivalents  (Read 2941 times)

0 Members and 1 Guest are viewing this topic.

Offline axemasterTopic starter

  • Contributor
  • Posts: 37
  • Country: us
FlexIO equivalents
« on: May 29, 2021, 09:12:27 pm »
I noticed one of the most talked-about features of the recent RP2040 is the PIO (Programmable IO). Basically you can program some simple state machines to control GPIO pins to emulate SPI/I2C etc. Except you can modify them to have things like SPI with multiple SDO pins. Unfortunately as the 1st-gen RP MCU, the RP2040 is pretty crippled in other departments such as USB, which sucks because I need high data transmission speeds to a PC.

NXP has had FlexIO for years already, and I thought that was pretty much the same thing.

Are there other MCU lines with modules similar to the PIO/FlexIO?
 

Online westfw

  • Super Contributor
  • ***
  • Posts: 4676
  • Country: us
Re: FlexIO equivalents
« Reply #1 on: May 30, 2021, 01:06:24 am »
Quote
the RP2040 is pretty crippled in other departments such as USB
If by "Crippled" you mean "only goes to 'full speed USB', then I think you will have a difficult time finding a microcontroller-style chip with "high" or "superspeed" USB, regardless of 'interesting IO capabilities.'(if you mean something else, please clarify.)
At the "Application Processor" level, you have things like the PRU on BeagleBone chips: https://beagleboard.org/static/prucookbook/

 

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 17863
  • Country: fr
Re: FlexIO equivalents
« Reply #2 on: May 30, 2021, 02:05:07 am »
Quote
the RP2040 is pretty crippled in other departments such as USB
If by "Crippled" you mean "only goes to 'full speed USB', then I think you will have a difficult time finding a microcontroller-style chip with "high" or "superspeed" USB, regardless of 'interesting IO capabilities.'(if you mean something else, please clarify.)

There's now a large number of MCUs supporting USB HS. How difficult is finding them? Those are microcontrollers in every sense of the word. The hard time will be to find one at the same price tag (although I'm sure you can find some from China...)

For USB SS, there's not much apart from the Cypress FX3. Which is a microcontroller as well.
 

Offline dferyance

  • Regular Contributor
  • *
  • Posts: 225
Re: FlexIO equivalents
« Reply #3 on: June 01, 2021, 04:51:47 pm »
Cypress PSoC line has some nice digital features that can accomplish much of what the RP state machines do. They support Verilog for custom digital as well as clocks, timers and other digital logic. So they work very different but you can do custom state machines. It is easy to quickly run out of digital logic trying to do something complex, however I mostly work in PSoC 4 which has more limited digital than the other lines.

Some of the PSoC communication blocks actually use the programmable digital features to implement the protocols. So you can use fixed-function blocks or programmable digital.

You may run into difficulties with your USB needs. How high speed are you looking? Maybe you need a full microprocessor solution..
 

Online NorthGuy

  • Super Contributor
  • ***
  • Posts: 3591
  • Country: ca
Re: FlexIO equivalents
« Reply #4 on: June 01, 2021, 07:47:57 pm »
There's now a large number of MCUs supporting USB HS. How difficult is finding them? Those are microcontrollers in every sense of the word. The hard time will be to find one at the same price tag (although I'm sure you can find some from China...)

There are ATSAM  microcontrollers with HS USB for about $3/piece. But they don't have the nice juicy PIO.

Also, you can use FT232H as an external USB for Pico. Use one PIO to tallk to FT232H and another one to do what you need.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->