Comments (8)
The m328PB has two SPI ports (libraries SPI.h and SPI1.h).
Have you checked the signals with an oscilloscope or logic analyzer?
from atmega328pb-testing.
I checked the signal using oscilloscope.
SPI & SPI1 signal is not displayed. ( use watterott )
So I edit the arduino uno source and download hex to Atmega328PB -> good working
My development environment :
Atmega328PB, 16MHz, 5V
SPI Connect -> nRF8001 Bluetooth Module
Atmel Studio7 (7.0.1417)
Arduino IDE 1.8.3
AVRJTACICE MKII & AVRISP MKII
from atmega328pb-testing.
What do you mean with "SPI & SPI1 signal is not displayed"?
Do you use the Arduino IDE or Atmel Studio?
from atmega328pb-testing.
i mean it's not displayed at oscilloscope.
Source Compile -> Arduino IDE
Firmware Download -> Atmel Studio
from atmega328pb-testing.
Have you tried a basic blink program to verify that the building/compiling is working?
I have updated the SPI libs so that the SPI and SPI1 code is now the same (except registers).
from atmega328pb-testing.
Arduino basic blink Example -> Good Working
PortE Blink & PortE Input Button -> Good Working
Current state changed communication (SPI -> UART)
UART0, UART1, PortE Input, PortE Output , Analog Input (A0) -> Good Working
I did not test the SPI by removing the SPI module from the circuit.
from atmega328pb-testing.
Have you tried the new BSP with updated SPI libs?
from atmega328pb-testing.
Closing because of inactivity.
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
- Atmega328PB and RFM95W HOT 3
- 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.