I have an external memory device with pin configuration:
- Data Input
- Data Output
- Connection
- System CLock
- DC 24V
- Ground
Here is the link
I need to design a code to communicate with this device.
I am having Explorer-16 Starter kit with PIC24FJ128GA010 microcontroller. So, I was trying to setup a test environment to check the module before proceeding with the final design.
But I am stuck with few points. Might be lacking concept.
-
My first requirement is to provide a System Clock Signal to the device. Please suggest me the best possible way to get/generate clock signal for the device?
-
Secondly, as per the memory device instruction, to start communication, Send Start/Stop cmd while clock signal is stable in the high state? How can I achieve this?
I am badly stuck with these two points. Please provide me a better solution. I am starting microcontroller after very long time. So need to brush up. Please help me with any addtional information.
Best Answer
You didn't provide any identifying information about the memory device you're using, so I can only answer in generalities.
The most important thing, however, is to understand what the memory device requires. The voltage level, frequency, and duty cycle of the system clock must be specified by the device. That information can only come from the manufacturer in the form of a datasheet or something similar.
If you update your question to include which external memory device you're using, you're more likely to get a more specific answer.