Hello, I have a device which uses 3 7segment displays (4 digits each) controlled by a single led driver (TM1629A) which is controller by a microcontroller (MS51FB9AE).
I want to capture the communication between the 2 ICs, so I can decode it and read it from PC with USB cable.
The problem is that this task is slightly over my skills and I have no experience is such tasks.
I would be grateful if somebody give a hint how can I read and decode the digital signals or share a source where I can educate myself on this matter.
I have no idea what protocol is used in the communication.
The connection is as follows:
MS51FB9AE ---> TM1629A
1 (IC6 / T0 / PWM0_CH2 / ADC_CH4 / P0.5) ---> 7 (DIO) -> data
2 (UART0_TXD / ADC_CH3 / P0.6) ---> 8 (CLK) -> square clock wave
3 (UART0_RXD / ADC_CH2 / P0.7) ---> 9 (STB) -> at first seemed random noise, but reading the datasheet shows that it is set high only before instruction is given (my own understanding)
Now I struggle to read all bytes and their values on my pc. My problem is sending the raw data over a usb cable. I think I will be able to map it and write a software to decode it human language after that.
I have some experience using arduino, but not use if it can handle the clock speed of my circuit (according to datasheet the maximum is 1MHz, but haven't measured the actual).
Also I think it will be problem to wire the arduino to clock, data, and ground of my device circuit, but getting a 5v from usb, mixing both grounds.
I know about logic analyzers (which I dont have), but I think this would help only to observe the raw data by eye, not actually transefring the bytes' value to my pc.
Any suggestions, sources, etc would be appreciated!
Thanks!
I want to capture the communication between the 2 ICs, so I can decode it and read it from PC with USB cable.
The problem is that this task is slightly over my skills and I have no experience is such tasks.
I would be grateful if somebody give a hint how can I read and decode the digital signals or share a source where I can educate myself on this matter.
I have no idea what protocol is used in the communication.
The connection is as follows:
MS51FB9AE ---> TM1629A
1 (IC6 / T0 / PWM0_CH2 / ADC_CH4 / P0.5) ---> 7 (DIO) -> data
2 (UART0_TXD / ADC_CH3 / P0.6) ---> 8 (CLK) -> square clock wave
3 (UART0_RXD / ADC_CH2 / P0.7) ---> 9 (STB) -> at first seemed random noise, but reading the datasheet shows that it is set high only before instruction is given (my own understanding)
Now I struggle to read all bytes and their values on my pc. My problem is sending the raw data over a usb cable. I think I will be able to map it and write a software to decode it human language after that.
I have some experience using arduino, but not use if it can handle the clock speed of my circuit (according to datasheet the maximum is 1MHz, but haven't measured the actual).
Also I think it will be problem to wire the arduino to clock, data, and ground of my device circuit, but getting a 5v from usb, mixing both grounds.
I know about logic analyzers (which I dont have), but I think this would help only to observe the raw data by eye, not actually transefring the bytes' value to my pc.
Any suggestions, sources, etc would be appreciated!
Thanks!
Comment