Test program running on MAX32625MBED. Control through USB Serial commands using a terminal emulator such as teraterm or putty.

Dependencies:   MaximTinyTester CmdLine MAX541 USBDevice

Changes

RevisionDateWhoCommit message
93:6b22269935a6 2020-03-04 whismanoid ADCVoltageOfCode_16bit; fix typo Write_AGain 0x2000=1V/V not 1VV/V; onButton2FallingEdge call optional Configure_Demo(); blue LED on default tip
92:ce099f7cfd4b 2020-03-02 whismanoid Read4Command wait after clear MYTIMEREVENTFLAG_ENABLE_SPI
91:9e78c6194d6e 2020-03-02 whismanoid update adca as 2's complement
90:d6ed8a8c5f26 2020-02-28 whismanoid doc CMD_codes RdWr register address in enum block comments; 'status' uint8_t instead of uint32_t, 'adca' int not uint32_t
89:20fd6ce5e4dd 2020-02-28 whismanoid WIP Configure_Demo() CONVRUNoutputGetValue()
88:e4fd5033a55f 2020-02-28 whismanoid WIP config 0x0018 0x1000, 2's comp data issues
87:4bc981dfd54b 2020-02-27 whismanoid WIP signed compare
86:c116654dfa32 2020-02-27 whismanoid Threaded Read 4 command -- CONVRUN pulsed HL, ignore EOC. WIP: thresholds. Min/Max detect not working.
85:a47ed024c508 2020-02-27 whismanoid Threaded Read 4 command -- CONVRUN pulsed HL, ignore EOC. WIP: thresholds. Min/Max detect not working.
84:11cc360628a1 2020-02-27 whismanoid Threaded Read 4 command -- CONVRUN pulsed HL, ignore EOC. WIP: thresholds.
83:29bb86cc45bc 2020-02-27 whismanoid WIP Read 4 command -- Single 4-channel read: CONVRUN pulsed H then L, EOC ignored. Keypress not breaking loop, must press RESET to halt.
82:9ea067fad5c3 2020-02-25 whismanoid MAX11043 myOnEOCThread_POLLING_handler needs 18.80us, still too slow
81:167dee56c45b 2020-02-25 whismanoid MAX11043_EOC_INTERRUPT_POLLING 1
80:96bc693e0f79 2020-02-25 whismanoid WIP myOnEOCThread_handler poll EOC, need SPI get 100% of data
79:99fad458bf85 2020-02-24 whismanoid Added tag 2020-02-21_EOCpoll for changeset 989e392cf635
78:e6d2f9da45d2 2020-02-24 whismanoid Added tag 2020-02-20_EOCnone for changeset ffee1e54d3fe
77:3a6e2a5cd7d9 2020-02-24 whismanoid Waiting for EOC# fall to signal EventQueue is too slow, ~25us to handle event but events happen every 9us.
76:0397493d7baf 2020-02-24 whismanoid SPI is not interrupt-safe, so use EventQueue to defer execution to user context
75:0900a57f2e5d 2020-02-23 whismanoid CRASH: Mutex lock failed at spi.write() inside onEOCFallingEdge()
74:f4f969c9a7a9 2020-02-23 whismanoid MAX11043 ScopeTrigger D5 1.8us after EOC# falling edge; WIP Read_ADCabcd on EOC
73:879578472009 2020-02-22 whismanoid WIP MAX11043 interrupt EOC echo - moving DigitalOut ScopeTrigger to global scope, it compiles but there is no activity on scope
72:40feab5fd579 2020-02-22 whismanoid WIP MAX11043 EOC interrupt - scope trigger pulse success; but crash when try Read_ADCabcd()
71:62bcd01ea87f 2020-02-21 whismanoid WIP MAX11043 interrupt CRASH on Menu item HH CONVRUN High
70:f44a577c9e59 2020-02-21 whismanoid WIP #define MAX11043_EOC_INTERRUPT_POLLING 0; need test
69:989e392cf635 2020-02-21 whismanoid MAX11043_EOC_INTERRUPT_POLLING works on MAX32625MBED at 9us conversion rate, with 1us timing margin 2020-02-21_EOCpoll
68:ffee1e54d3fe 2020-02-20 whismanoid digitalInOut menu %H %L %? 2020-02-20_EOCnone
67:5b8a495dda1c 2020-02-20 whismanoid MAX11043 support SPI hardware-controlled CS instead of GPIO CS (mbed); avoid mbed runtime error if pin is NC not connected
66:3fe92f6f1cfa 2020-02-19 whismanoid fixed conflict G gain vs CONVRUN pin name
65:2117e32f017d 2020-02-19 whismanoid Test_Menu print result -- format based on return type (with arglist)
64:a667cfd83492 2020-02-19 whismanoid menu items, conflict G gain vs CONVRUN pin name?
63:8f39d21d6157 2020-02-18 whismanoid MAX11043 SPIreadWriteWithLowCS for all SPI read and write; d24 vs d16o8
62:8223a7253c90 2020-02-18 whismanoid MAX11043 SPIreadWriteWithLowCS mosi fill and drive CS
61:b4f3051578ef 2020-02-18 whismanoid SCLK 24MHz not 6MHz, WIP SPI long transfers
60:d1d1eaa90fb7 2020-02-18 whismanoid default SCLK 24MHz not 6MHz, WIP SPI long transfers
59:47538bcf6cda 2020-02-17 whismanoid init d16o8 adca-adcd WIP read ADCabcd
58:2fea32db466b 2020-02-14 whismanoid MAX11043 Supply Pins, initial SHDN pin state idle
57:1c9da8e90737 2020-02-13 whismanoid readAllStatusList, CMDOP_enum_t, DecodeCommand
56:a3144eaea1a8 2020-02-12 whismanoid %SD -- SPI diagnostic messages
55:75c249929a5e 2020-02-12 whismanoid %SD -- SPI diagnostic messages enable
54:26a973c5dac4 2020-02-11 whismanoid onSPIprint_handler
53:3d5a3d241a5e 2020-02-11 whismanoid enable SPI commands
52:607010f0c54e 2020-02-11 whismanoid MAX11043 initial serial tester for investigation
51:15d9a9e0b623 2020-01-22 whismanoid MAX11410 AINcode[11] (AIN0..9,AVDD=10), restrict index<=10
50:78b1b5f47355 2020-01-17 whismanoid mbed MAX11410 Read_All_Voltages do not set device.NumWords
49:5bfa51523bc2 2020-01-10 whismanoid fix logic error in test menu nested case statements
48:2591fcdece5e 2020-01-10 whismanoid rtd_resistance RTD_Temperature display post menu item 'R'
47:3ce5810551c4 2020-01-07 whismanoid Thermocouple, RTD support; doc self test
46:79dba7d4110c 2019-12-24 whismanoid WIP TemperatureOfRTD_PT1000 TemperatureOfTC_TypeK;
45:8af4549476aa 2019-12-23 whismanoid fix format strings
44:a2040e43aa53 2019-12-23 whismanoid onSPIprint diagnostic WIP; need %SD show/hide
43:fc6c2817c8dd 2019-12-23 whismanoid fix float result printf
42:236e108d8a88 2019-12-23 whismanoid mbed Test_Menu_MAX11410.cpp *reg? fix missing return
41:6f7c8adf9baf 2019-12-21 whismanoid clean up weird quote characters in comments
40:2f8ce101d5bc 2019-12-21 whismanoid use MAX11410_menu_help defined in Test_Menu_MAX11410.cpp
39:c1b4b3b85c28 2019-12-20 whismanoid udpate docs
38:d302758de9ae 2019-12-19 whismanoid libraries updated
37:74aa97afa030 2019-12-19 whismanoid Upgrade Measure_RTD, multiple REF inputs
36:7edc6a3c1ab3 2019-12-19 whismanoid MAX11410 library
35:8aa5dffe523d 2019-11-11 whismanoid WIP 0x11 raw bitstream, *regname?, *regname=0x123456 commands
34:04fd36f5eed0 2019-09-22 whismanoid MAX32600MBED LED blink pattern: check if LED_ON/LED_OFF already defined