ckshivaram
Advanced Member level 6
- Joined
- Apr 21, 2008
- Messages
- 5,060
- Helped
- 2,150
- Reputation
- 4,306
- Reaction score
- 2,088
- Trophy points
- 1,403
- Location
- villingen (Germany) / Bangalore
- Activity points
- 30,088
Maybe it is time to close this thread as this is deviating the topic as romel had asked me to keep it in single thread..
I thought it would be restricted only to PIC18f4550 and its peripherals..
Romel please start a new thread.. I am purposefully not getting involved into this as it is going offtopic very often...
maybe other moderators may take objection...
It was supposed to be a example for everyone who wants to learn PIC. but may not be too much interested in these deviated topic as it is personal to you.
Romel if you say so then i can delete the topic of discussion that started with the triac and zero crossing , as they deviate the topic heading.
you can start a new topic for this discussion as there may be many other people other than a few hands ful of people who can really contribute and help you in your projects.
SD Audio Player with ATTiny
8. August 2010 - 14:37 — admin
This is a simple SD audio player biult with only an 8-pin microcontroller (ATTiny85).
A minimalistic design: WAV player, which can play stereo WAV from SD card using the 8-pin ATTiny's PWM outputs. Author says: 8-pin AVR microcontroller has two fast PWM outputs in 250kHz carrier frequency. This enables to output a wide frequency range audio signal. I built an audio player with the 8-pin AVR and an SD memory card (SDC). The SDC can be controled with only six lines, two for power supply and four for control signals.
source: SD Audio Player with ATTiny | µ[micro]electronics info
Will you still count it, if the thread continues next year?I think this link is already posted twice in this discussion.
If I was a moderator, I had thought about it before. I already told my opinion before the thread changed it's name to "PIC complete discussion".Maybe it is time to close this thread as this is deviating the topic as romel had asked me to keep it in single thread..
I thought it would be restricted only to PIC18f4550 and its peripherals..
Altough I appreciate the profound contributions to this thread, I would prefer a theme-centred discussion.I generally think, people shouldn't encourage the original poster to continue the thread like an off-topic chat or personal blog. Strictly spoken, it's against the forum rules. Just try to imagine a user, who is searching the forum discussion for specific answers. I guess, he'll find threads like this very annoying.
hi.. im learning SPI protocol for pIC today.. I do reading about SPI this time..
---------- Post added at 14:35 ---------- Previous post was at 14:30 ----------
Im using PIC18f4550.. let me ask question again if I have question..I just want o learn the SPI protocol..
How did you come to this conclusion that you should use PIC 18F4550. Did someone suggested you or you decided it with the product selector tool.
But why specifically PIC18F4550 ?
This is configuration bit values and it should be set well..using __CONFIG(0x1932);
most cases it shouldn't work just like my experienced.What will happen if i didnt include this configuration bit file.?
// Config Register: CONFIG
#define CONFIG 0x2007
// Oscillator Selection bits
// RC oscillator
#define FOSC_EXTRC 0xFFFF
// HS oscillator
#define FOSC_HS 0xFFFE
// XT oscillator
#define FOSC_XT 0xFFFD
// LP oscillator
#define FOSC_LP 0xFFFC
// Watchdog Timer Enable bit
// WDT enabled
#define WDTE_ON 0xFFFF
// WDT disabled
#define WDTE_OFF 0xFFFB
// Power-up Timer Enable bit
// PWRT disabled
#define PWRTE_OFF 0xFFFF
// PWRT enabled
#define PWRTE_ON 0xFFF7
// Brown-out Reset Enable bit
// BOR enabled
#define BOREN_ON 0xFFFF
// BOR disabled
#define BOREN_OFF 0xFFBF
// Low-Voltage (Single-Supply) In-Circuit Serial Programming Enable bit
// RB3/PGM pin has PGM function; low-voltage programming enabled
#define LVP_ON 0xFFFF
// RB3 is digital I/O, HV on MCLR must be used for programming
#define LVP_OFF 0xFF7F
// Data EEPROM Memory Code Protection bit
// Data EEPROM code protection off
#define CPD_OFF 0xFFFF
// Data EEPROM code-protected
#define CPD_ON 0xFEFF
// Flash Program Memory Write Enable bits
// Write protection off; all program memory may be written to by EECON control
#define WRT_OFF 0xFFFF
// 0000h to 00FFh write-protected; 0100h to 1FFFh may be written to by EECON control
#define WRT_256 0xFDFF
// 0000h to 07FFh write-protected; 0800h to 1FFFh may be written to by EECON control
#define WRT_1FOURTH 0xFBFF
// 0000h to 0FFFh write-protected; 1000h to 1FFFh may be written to by EECON control
#define WRT_HALF 0xF9FF
// In-Circuit Debugger Mode bit
// In-Circuit Debugger disabled, RB6 and RB7 are general purpose I/O pins
#define DEBUG_OFF 0xFFFF
// In-Circuit Debugger enabled, RB6 and RB7 are dedicated to the debugger
#define DEBUG_ON 0xF7FF
// Flash Program Memory Code Protection bit
// Code protection off
#define CP_OFF 0xFFFF
// All program memory code-protected
#define CP_ON 0xDFFF
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?