Sony's Developer World forum

    • Home
    • Forum guidelines

    Upcoming maintenance 

     

    Dear Customers and Partners.

    This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.

    This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.

    We apologize for any inconvenience.

     

     

    UART/SPI on spresense

    Spresense
    2
    2
    533
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      aswinsreekumar last edited by

      Sir,

      How to interface UART transreceivers /SPI transreceivers to spresense ?
      There are examples about Bluetooth devices, but in terms of transreceivers, how to setup the parameters like baud rate, frame, etc ?
      Could you share some resources regarding the same.

      Thank you !

      K 1 Reply Last reply Reply Quote
      • K
        KamilTomaszewski DeveloperWorld @aswinsreekumar last edited by

        Hi @aswinsreekumar

        You can check the UART and SPI implementation on the Spresense Arduino. Arduino uses the Spresense SDK so you can see how to use it.

        UART: https://github.com/sonydevworld/spresense-arduino-compatible/blob/master/Arduino15/packages/SPRESENSE/hardware/spresense/1.0.0/cores/spresense/HardwareSerial.cpp
        SPI: https://github.com/sonydevworld/spresense-arduino-compatible/blob/master/Arduino15/packages/SPRESENSE/hardware/spresense/1.0.0/libraries/SPI/SPI.cpp

        You can also check how other drivers are implemented using UART and SPI here: https://github.com/sonydevworld/spresense-nuttx/tree/64d9f015412d72da9dd85f478dd7039377391c3a/drivers

        Best Regards,
        Kamil Tomaszewski

        1 Reply Last reply Reply Quote
        • First post
          Last post
        Developer World
        Copyright © 2021 Sony Group Corporation. All rights reserved.
        • Contact us
        • Legal