Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.

Have an account? Sign In
Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people's questions & connect with other people.

Sign Up Here
Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Volt.Tech

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.

Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

volt.tech Logo volt.tech Logo
Sign InSign Up

volt.tech

volt.tech Navigation

  • Home
  • About Us
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Tags
  • Category
    • Amplifiers
    • Passives & Protection
    • Clocks & Timing
    • Diodes & Rectifiers
    • FPGAs & PLDs
    • Interface ICs & Transceivers
    • LEDs & Optoelectronics
    • Memories
    • MEMS & Sensors
    • Microcontroller
    • Power Management
    • RF & Microwave
    • Security & Smart Card
    • Motor Drivers
    • Wireless Connectivity
  • Groups
  • Add group
  • Badges
  • Help
  • Home
  • About Us
  • Contact Us
Home/Questions/Q 3663
Next
In Process
ashishgawade
  • 0
ashishgawade
Asked: December 8, 20222022-12-08T10:53:24+05:30 2022-12-08T10:53:24+05:30In: Wireless Connectivity

How to use both UART and SPI FLASH boot?

  • 0

Hello, I need to use both UART and SPI interface, FX3’s SPI interface and UART interface are shared, now my SPI is connected to FLASH, I need to power on through SPI FLASH, so I can not use its UART function, but FX3 has” 16- bit data bus UART SPI I2S” mode. In this mode, UART is mapped to GPIO46-49. Can I use the following settings to enable me to use both UART and SPI FLASH BOOT?

io_cfg.isDQ32Bit = CyFalse;

io_cfg.s0Mode = CY_U3P_SPORT_INACTIVE;
io_cfg.s1Mode = CY_U3P_SPORT_INACTIVE;
io_cfg.useUart = CyTrue;
io_cfg.useI2C = CyFalse;
io_cfg.useI2S = CyFalse;
io_cfg.useSpi = CyTure;
io_cfg.lppMode = CY_U3P_IO_MATRIX_LPP_DEFAULT;
/* No GPIOs are enabled. */
io_cfg.gpioSimpleEn[0] = 0;
io_cfg.gpioSimpleEn[1] = 0x08000000;
io_cfg.gpioComplexEn[0] = 0;
io_cfg.gpioComplexEn[1] = 0;

And, can I still use the virtual COM port function of the UART in this mode?

bootflashfx3gpio46spiuart
  • 1 1 Answer
  • 0 Followers
  • 0
Answer
Share
  • Facebook

    Related Questions

    • ESP32- CAM What's the Max Capacity of the MicroSD Card?
    • How to Check EMC in Test Mode for the Certification Process?
    • ESP32-U4WDH and VDD_SDIO power
    • ESP32-C3 Firmware Update?
    • ESP32 PCB Antenna Design?

    1 Answer

    • Voted
    • Oldest
    • Recent
    1. vikas Nagpal
      2022-12-10T10:27:04+05:30Added an answer on December 10, 2022 at 10:27 am

      Hi, You can use the" 16- bit Data Bus UART SPI I2S" configuration to use both UART and SPI. Please refer to the available GPIOs for that mode in Table 7 of the FX3 datasheet. As mentioned in the table, you must choose the proper GPIO if you want to use some GPIOs. If you want to use I2S GPIOs you haRead more

      Hi,

      You can use the” 16- bit Data Bus UART SPI I2S” configuration to use both UART and SPI. Please refer to the available GPIOs for that mode in Table 7 of the FX3 datasheet. As mentioned in the table, you must choose the proper GPIO if you want to use some GPIOs. If you want to use I2S GPIOs you have to override using CyU3PDeviceGpioOverride.

      Yes, the virtual COM port will work if you use the below configuration.

      Thanks

      See less
      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Continue with Facebook
    Continue with Google
    or use

    What is the capital of Egypt? ( Cairo )

    Forgot Password?

    Need An Account, Sign Up Here
    Continue with Facebook
    Continue with Google

    Sidebar

    Ask A Question

    Related Questions

    • Anonymous

      Renesas Flash Programming in RA2L1

      • 1 Answer
    • Anonymous

      ESP32-U4WDH and VDD_SDIO power

      • 1 Answer
    • harpoon

      ICE3PCS01G Vref(5v) not coming?

      • 1 Answer
    • Anonymous

      Why USB PCDC Stack Shows an Error?

      • 1 Answer
    • cleaneatzkitchen

      How to use LED Control PWM in low speed mode?

      • 1 Answer

    Stats

    • Questions 374
    • Answers 360
    • Comments 0
    • Best Answers 8
    • Popular
    • Answers
    • Manoj

      Configuration using .dp vision in Infineon XDPL series IC .

      • 5 Answers
    • Linto

      Renesas RL78/G14 ADC interface code

      • 4 Answers
    • nidhi singh
      nidhi singh added an answer Hi Alex, The FSP and SSP releases are at a… January 25, 2023 at 11:19 am
    • Alex thomas
      Alex thomas added an answer Hello, By default, all GPIO pins start out at reset… January 21, 2023 at 10:31 am
    • nidhi singh
      nidhi singh added an answer Hi, out of my one experience in switch mode power… January 20, 2023 at 11:09 am
    • Alex thomas
      Alex thomas added an answer Hi, You can find the input voltage range in differential… January 18, 2023 at 11:50 am
    • Alex thomas
      Alex thomas added an answer Hi, Do all possible noise sources have to be enabled… January 17, 2023 at 10:26 am

    Users

    test24778098

    test24778098

    • 0 Questions
    • 0 Answers
    vinsfertilityivf

    vinsfertilityivf

    • 0 Questions
    • 0 Answers
    vinshealth

    vinshealth

    • 0 Questions
    • 0 Answers

    Explore

    • Tags
    • Category
      • Amplifiers
      • Passives & Protection
      • Clocks & Timing
      • Diodes & Rectifiers
      • FPGAs & PLDs
      • Interface ICs & Transceivers
      • LEDs & Optoelectronics
      • Memories
      • MEMS & Sensors
      • Microcontroller
      • Power Management
      • RF & Microwave
      • Security & Smart Card
      • Motor Drivers
      • Wireless Connectivity
    • Groups
    • Add group
    • Badges
    • Help

    Footer

    volt.tech

    Volt.Tech

    Find your spark

    About Us

    • About Us
    • Contact Us
    • Groups

    Legal Stuff

    • Privacy Policy
    • Faqs

    Follow

    © 2022 volt.tech. All Rights Reserved
    With Love by volt.tech.

    Go to mobile version

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.