GithubHelp home page GithubHelp logo

Comments (3)

awatterott avatar awatterott commented on July 24, 2024

Do you use this board package for Arduino IDE? If yes, try the examples from the SPI library to check if it is working and if it is a software or hardware issue.

from atmega328pb-testing.

Lanzones avatar Lanzones commented on July 24, 2024

Sorry my mistake.. I probe once again the SPI pins to the RFM95W and I have attached the plots.. CS waveform should be acceptable I believe and the MISO only outputted a bit at the 2nd byte.. but still doesnt work though. The CLk by the way is around 5MHZ

I was thinking if the CPOL or LSBfirst/MSBfirst has been changed on the 328PB version of the chip that I dont know about. I have tried tried slowing down the comms to 1MHz but still doesnt work.

below 5V means micro side and 3.3V is the RFM95 lora module.
ch3mosi_ch4cs
ch3mosi_ch4cs
ch3mosi_ch4miso
ch3mosi_ch4miso
ch3miso_ch4misomicro
ch3miso_ch4misomicro
ch3mosi_ch4clk
ch3mosi_ch4clk

from atmega328pb-testing.

awatterott avatar awatterott commented on July 24, 2024

So SPI is working. You can flash an ATmega328(P) program to the ATmega328PB to verify that the hardware is working, because the chips are compatible in this way.
Further infos in the appnote Differences between ATmega328/P and ATmega328PB.
I have closed the issue, because it has nothing to do with the boards package.

from atmega328pb-testing.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.