Tuesday, July 12, 2022

The brightness of the LED more difficult.

I spent the last week fixing several problems to make the CH376S work because the datasheet do not help so much, or maybe I lost the part that explained this.

The first thing I did and the module behavior changed was to tie the RST to another peripherals RST, the datasheet is not clear about the RST somewhere I read that the RST is an output, on www every schema I found RST was left disconnected, but for me the 8bitstack code (z80 playground) only started to recognize the CH376S when I joined the RST of the CH376S together with the RST of other peripherals, but sometimes it was not detected, 

I put a delay between reset and configuration and it did not solved the problem, 

I was suspicious that the parallel configuration method should only work with the chip running at 5Volt because the instable behavior did not made sense and the schematic for parallel config was with 5volts, só I opened the pin number 9 of the chip and put a 01nF capacitor to ground and take off lm1117 and I joined input voltage with output voltage together.

VOILÁ !!!... it worked now everytime I reset the module is detected buy the software, I could take off all delays and tricks that I put in code to try detect it and it continue to work. The led of the module are shining now!!!


#Z80
#CPM
#ASSEMBLER
#CH376S
#8255
#16C550
#I2C

No comments:

Post a Comment