# How to Use MMC/SDC with 8051

Status
Not open for further replies.

#### Frosty_47

##### New Member

My school curriculum never covers enough material on a lot of topics in electronics. I just finished my 8051 course yet, I know only the basics (i.e. timers, interupts, RS-232 interfacing, etc.). I want to know how I can interface MMC/SDC with 8051. What is SPI mode ? How can I "emulate SPI" using 8952 ? What are some more advanced topics that I don't know about? Is there a good book on "advanced 8051 techniques" ?

Thanks

P.S. I realy want to learn more about 8051 but have no clue where to look...

Last edited:

##### Banned
SPI stands for Serial Peripheral Interface. It's a bidirectional clocked serial interface that's popular for many small devices.
Serial Peripheral Interface Bus - Wikipedia, the free encyclopedia

It's not very difficult to interface with it using an 8051 with software SPI code. If you want more information on the 8051 simple use Google, there are oodles of code for the 8051 out there. The hard part with accessing an SD card is managing the file system, there's a lot of code required for that if you want read/write access. Simple read access is a little easier.

#### Frosty_47

##### New Member
SPI stands for Serial Peripheral Interface. It's a bidirectional clocked serial interface that's popular for many small devices.
Serial Peripheral Interface Bus - Wikipedia, the free encyclopedia

It's not very difficult to interface with it using an 8051 with software SPI code. If you want more information on the 8051 simple use Google, there are oodles of code for the 8051 out there. The hard part with accessing an SD card is managing the file system, there's a lot of code required for that if you want read/write access. Simple read access is a little easier.
So far I've only found SPI interface using C. I don't know C and was wondering if I can do it in assembly...

#### blueroomelectronics

##### Well-Known Member
A Canadian school is teaching the 8051? Is it a Amish?

#### Frosty_47

##### New Member
A Canadian school is teaching the 8051? Is it a Amish?
LOL! I dunno but RCC Institute of Technology is one of the most Industry/Military recognized schools in Toronto. However I still think that $15,000 per year is not worth the basics of electronics.... BTW, whats wrong with teaching 8051? Last edited: #### DirtyLude ##### Well-Known Member BTW, whats wrong with teaching 8051? It's ancient, and not very popular anymore. #### Sceadwian ##### Banned The 8952 he's using is a modern devices. Basic 8051 compatible devices are still made by a number of chip makers. I thought they were still widely used in automotive and industrial applications? #### DirtyLude ##### Well-Known Member They are still widely used in manufacturing, like COBOL and Fortran is widely used in programming (well, maybe not that bad). They are well known and tested for standard applications and have a lot of certifications. I'm sure learning 8051 is a good uC foundation. #### Frosty_47 ##### New Member Better learn 8051 than waste time on subjects such as "Psycology" or "Speach" or "Statistics" and last but not least "Economics". The latter subject is need not be studied as the economy in the Americas region is moving in one direction only... #### tresca ##### Member LOL! I dunno but RCC Institute of Technology is one of the most Industry/Military recognized schools in Toronto. However I still think that$15,000 per year is not worth the basics of electronics....

BTW, whats wrong with teaching 8051?
LOL ! I went to RCC. Scam.

8051 is old. There are much better architectures out there. If you continue to techno, you they should teach you the PIC, which is much better type of uC to learn.

Give it some time, and like it was suggested, use google. You said you don't know C, RCC teaches C, so maybe you just havent hit that semester yet.

##### Banned
Of course Frosty, because learning how people think, how to talk convincingly, and how to process data are completely useless skills =) (If you don't see the sarcasm I intended please note there's a LOT of it)

#### tresca

##### Member
Economics is actually pretty interesting. People can create mathematical models that can predict trends of the future. I think thats pretty cool anyways.

It kind of reminds me of Isaac Asimov's Foundation Series where the character Hari Seldon used a branch of mathematics called psychohistory that can predict the behaviour of large groups of people to an insane accuracy.

##### Banned
I liked the Foundation Series. Still haven't read all of the books though, never figured out what I was missing.

#### Frosty_47

##### New Member
Economics is actually pretty interesting. People can create mathematical models that can predict trends of the future. I think thats pretty cool anyways.

It kind of reminds me of Isaac Asimov's Foundation Series where the character Hari Seldon used a branch of mathematics called psychohistory that can predict the behaviour of large groups of people to an insane accuracy.
Yeah except it doesn't help me learn 8051...

And I'de rather spent more time learning electronics so that I will be less of a NOOB when I get out to a workforce. I agree that those subjects are usefull in specific fields. But not in my field so I care less....

Last edited:

#### Frosty_47

##### New Member
Of course Frosty, because learning how people think, how to talk convincingly, and how to process data are completely useless skills =) (If you don't see the sarcasm I intended please note there's a LOT of it)
I dont care how people think. I can talk convincingly when needed. And processing statistical data is not my field of work and I hope it never will be...

All I want is for my school to focus more on electronics so that I will be more of a specialist when I get out into the workforce. Or should I say Less of a Noob ?

#### colin mac

##### New Member
8051 is old. There are much better architectures out there.
Not really. 8051s have a nice, intuitive instruction set and one of the nicest microcontrollers to program in my opinion. PICs have a horrible instruction set.
But they are great in that they are cheap and well supported.

At the end of the day it doesn't matter what they teach you as long as you learn the theory. It's your employer that will dictate what architecture you use if you do get a job in the field.

##### Banned
If you're using electronics and micro controllers basic statistical analysis is a VERY good idea.

#### Frosty_47

##### New Member
If you're using electronics and micro controllers basic statistical analysis is a VERY good idea.
Why? Please explain and provide examples...

##### Banned
Switch denouncing, ADC decimation and oversampling for averaging techniques which can increase either bit depth or decrease noise. Any digital filter you'll ever create. That's all I can think of off the top of my head.

#### Frosty_47

##### New Member
Switch denouncing, ADC decimation and oversampling for averaging techniques which can increase either bit depth or decrease noise. Any digital filter you'll ever create. That's all I can think of off the top of my head.
You mean the're crazy out there that collect statistical information on switch bounce and ADC sampling ? A lot of people neglect switch bouncing, never mind collecting data about it...

Last edited:
Status
Not open for further replies.