LAUNCHXL2-RM57L: Reading parallel data from a binary counter
Part Number: SN74LV8154
I am using SN74LV8154 binary counter with Hercules RM57Lx LaunchPad. It counts but keeps resetting at 15 or 7 (or sometimes less).
After investigating, I observed that when I remove the RCLK connection for a while and then connect it back, the counts' value it shows is more than 15 (e.g. 20-30, 100, 8852, etc.). I checked multiple times. When RCLK is not connected, it counts fine but resets when RCLK is connected.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Clemens Ladisch:
I do not have a clean drawn schematic but the connections are the following:
(left side is SN74LV8154)
Y0-Y7 ----- GIOA 0, 1, 2, 5, 6, 7, GIOB 2, 3VCC ----- 5VGND ----- GNDGAL ----- HET1_2GAU ----- HET1_18GBL ----- HET1_16GBU ----- HET1_30CLKA ----- HET1_22CLKB ----- (not connected)RCLK ----- HET1_14CCLR ----- HET1_4(RCOA and CLKBEN shorted)
Please, find the code attached as well.
In reply to Apurv Mishra:
Your code appears fine. RCLK should not cause the counter to clear, do you have access to an oscilloscope to see if CCLR is glitching low for some reason when RCLK is connected? Also make sure your delay function is meeting the timing requirements for this device.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.