Comments (3)
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.
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_ch4miso
ch3miso_ch4misomicro
ch3mosi_ch4clk
from atmega328pb-testing.
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)
- Port Manipulation Problem HOT 1
- Cannot compile HOT 4
- High power consumption in deep sleep HOT 2
- SPCR, SPDR, and SPSR are not declared in the scope HOT 1
- compile error #include <twi_def.h> HOT 1
- Upload bootloader fail HOT 3
- ADC6 always reading 1023 HOT 1
- PlatformIO support HOT 2
- Explanation of Wire1 library HOT 1
- Precompiler issue with Wire.h HOT 2
- Bootloader and Sketch Upload with ISP works, Serial doesn't HOT 3
- Dead chips HOT 3
- Optiboot PB loader on Nano Clone no worky HOT 4
- USART1 instead of USART0 HOT 1
- Device signature error while uploading bootloader HOT 3
- m328pb flash programming using UART. HOT 1
- Problems with simultaneous master/slave HOT 3
- __AVR_HAVE_PRR0_PRTWI0 not correctly defined HOT 1
- SPI1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atmega328pb-testing.