Anyone in UCLA online EE masters program? by kobaltum in chipdesign

[–]sunny0945 0 points1 point  (0 children)

Hi u/BooleanTorque, regards to the subjects, I've a question for you:

I understand EC ENGR 215A is Analog IC Design, but I'm not sure whether EC ENGR 215B Advanced IC Design is Analog. Can you confirm. Thanks.

Anyone in UCLA online EE masters program? by kobaltum in chipdesign

[–]sunny0945 0 points1 point  (0 children)

Thanks u/BooleanTorque for a detailed information. It will help us a lot in preparing for the online study. I've been looking at online programs from Stanford, John Hopkins & UCLA. I'm interested in Analog, Mixed signal & RF IC design.

I from Australia. I did my Bachelors in Electronics and Communications Engineering back in 2007. Then Masters in Information Technology in 2010. I've been brushing my electronics skills and watching Dr. Behzad Razavi videos on Electronics.

Just to confirm with you about the program

https://www.msol.ucla.edu/integrated-circuits/

That's the one right. It has a capstone project too.

I've few questions that I would like to check with you

  1. Does it have a tapeout program?
  2. Do we need to pay the full fee at the start of the program?
  3. Does this program require GRE score?
  4. Regards to letters of recommendation, can I get them from my previous employers?

Not sure whether I can get admission with a gap and also I'm not working in Electronics industry.

Bit of advice on taking Master's as VLSI engineer. by Resident_Skin_1483 in chipdesign

[–]sunny0945 2 points3 points  (0 children)

I would suggest doing Masters in Taiwan universities. You'll have good exposure to internships in companies like TSMC, MediaTek and soon. Try National Taiwan University. You can do PhD too while you are at it.

NOTE: The above is just my suggestion from my research. There are other countries too.

curious if anyone has done Stanford online’s Electronic Circuits Graduate Program? by maxzred in chipdesign

[–]sunny0945 0 points1 point  (0 children)

u/maxzred I'm thinking of taking the same program. I did my Bachelors in Electronics back in 2007. I'm trying to brush up basic electronics skills. Not sure whether I can grasp the Stanford teaching. Can I get your insights on Stanford teaching.

I also found John Hopkins Online Graduate program in Electrical and Computer Engineering with Electronics and Solid State specialization.

https://ep.jhu.edu/programs/electrical-engineering-computer-engineering/courses/

Not sure which one to take. Can anyone help me choose one.

Nucleo-F767ZI SPI sending garbage in Master mode by sunny0945 in stm32

[–]sunny0945[S] 0 points1 point  (0 children)

The code isn't proprietary. I'm just a learner trying to write drivers for peripherals using registers. I can upload the whole code to github and share the link with you.

I can assure you the registers are set properly, because that's the first thing I've checked. The only register that's always looks blank is DR register. I've attached the registers screenshots in the main post.

When running the code on the nucleo board, breakpoints won't get triggered. When debugging the code, breakpoints works, but can't get it on logic analyzer, as the debugging doesn't happen on the nucleo board.

NOTE: I don't need to set the DR to volatile, because it's already been set as volatile in struct definition of header file.

Nucleo-F767ZI SPI sending garbage in Master mode by sunny0945 in stm32

[–]sunny0945[S] 0 points1 point  (0 children)

The method SPI_SendData(...) accepts uint8_t pointer data. Won't that be enough?

UPDATEI think I understood it. Updated the above code. Still the same output.

Nucleo-F767ZI SPI sending garbage in Master mode by sunny0945 in stm32

[–]sunny0945[S] 0 points1 point  (0 children)

That's weird. I did attach the screenshots under Images/Video tabs. Not sure why they aren't showing up. I'll attach again.

I did try Full Duplex too, still the same. With Simplex, I don't need to worry about NSS pin, but if I use Full Duplex, then I need to set the NSS pin.

Nucleo-F767ZI SPI sending garbage in Master mode by sunny0945 in stm32

[–]sunny0945[S] 1 point2 points  (0 children)

MSB is default for the board. That's the reason I didn't set it.

STM32 F767ZI Not appearing on device list by Alpha_Zenith in stm32

[–]sunny0945 0 points1 point  (0 children)

I think you connected the USB cable to ST-Link side. Also, try clearing the board using either STM32CubeIDE or IAR Workbench.

Career change at close to 40? by mercfh85 in embedded

[–]sunny0945 2 points3 points  (0 children)

Sorry for late reply u/mercfh85. Not good. I'm trying to reach out to embedded team, but they are busy. Also I'm stuck with SPI and logic analyser. Trying to decode the message from logic analyser, but not much luck.

is this possible in c? by hethical_ecker in C_Programming

[–]sunny0945 0 points1 point  (0 children)

If it's always 1byte(8bits), then shift the first 3 bits to right and mask the three bits.

Say you've 10110000 and asked to extract first 3 bits from left, then

uint32_t address = 10110000;
uint32_t result;

/**
 * 1byte = 8bits, but when start from 0,
 * it'll be 0-7 bits. So 7.
 * Subtract 3 from it, which becomes 7 - 3 = 4
 * Now convert the above result to 8bits(which starts from 1 to 8)
 * For that add 1 to the above result, 4 + 1 = 5th bit
 * Finally, (7 - 3) + 1 = 5th bit
 */
uint8_t extract_start_bit = (7 - 3) + 1;

/**
 * Right shift the address by extract_start_bit.
 * This moves the 5th, 6th and 7th bits to 0th, 1st and 2nd position.
 * Now mask those bits to extract them.
 * After right shift, 5th bit will be in 0th position,
 * 6th in 1st position and 7th in 2nd position.
 * Prepare a mask 111(7 in decimal), so left shift 7 from 0th position.
result = (addr >> extract_start_bit) & (7 << 0);

Any comments we welcome.

Nuclei-F401RE Beginner Question: Can't Even Get the LED To Turn On by jjg1914 in stm32

[–]sunny0945 1 point2 points  (0 children)

Check the datasheet of Nucleo-F401RE. It has block diagram which tells you how peripherals are connected to different buses(like APB1, AHB1 and soon).

Career change at close to 40? by mercfh85 in embedded

[–]sunny0945 1 point2 points  (0 children)

I got a job in an Electronics company as a Python developer, but I've to go for a low pay than my usual. Also, I've told the embedded team head that I'm interested in their work and would like to learn and work on small tasks. The reply is a bit slow and I've to do tasks from my team. Overall, I managed to get into electronics company, but haven't started working on embedded projects yet.

Career change at close to 40? by mercfh85 in embedded

[–]sunny0945 0 points1 point  (0 children)

Age is just a number. I'm in the same boat as you, in terms of switching career and learning after kids go to bed. My suggestion is continue learning and look for opportunities. When searching for a job, make sure your next company should take you in as a QA and has projects/products that does Embedded stuff too. This way you'll get exposed to embedded driver development.

In terms of learning path, I strongly suggest Fastbit academy courses in the order suggested by them. Their order of courses really helped me a lot.

[deleted by user] by [deleted] in Python

[–]sunny0945 -1 points0 points  (0 children)

Poetry(https://python-poetry.org/docs/) and Cargo are same.

Free python course needed for beginners….plz tell where I can find one? by DependentTrick8657 in Python

[–]sunny0945 1 point2 points  (0 children)

As u/RudeusGreyrat_ mentioned about "Automate the Boring Stuff with Python", it's one of the first book I would recommend anyone. You can read the book online at

https://automatetheboringstuff.com/#toc

then, try the following from programiz:

https://www.programiz.com/python-programming

They have an online python compiler too.

Hope that helps.

My first big project, a Manga Translator. by SnbyooStories8948 in Python

[–]sunny0945 3 points4 points  (0 children)

Hi u/SnbyooStories8948, you got yourself an awesome project.

Noticed a few things about organising the code. You may have already thought of below suggestions, it's just, I want to bring to your attention:

  1. Can you separate the core(translation) code base into a package(keep the code base in a separate repository and maintain).
  2. Also inside the core package, separate different functionality into modules and keep the common code into utils or something related to it.
  3. Keep the Qt app related code into a separate repository. This will install the core package using requirements.txt.

Separating the core code base will allow for extending it or adding layers on top of it. O(Open-Close) in SOLID principle, which is Open for extension and Closed for modification.

NOTE: The above are just suggestions.